Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.

File Parsers

File parsers extract text from various file types and provide it as a Reader to the FullTextBridge for use during search indexing. Plain text formats can use the default fileParser bean, but any specialized format, such as PDF or RTF requires special libraries and special registration.

Configuration

Currently, configuration takes places solely in service-ome.api.Search.xml. Eventually, it should be able to replace file parsers at configuration or even runtime.

Available parsers

File type Parser
application/pdf http://pdfbox.org
text/xml (internal)
text/plain (internal)
text/csv (internal)

How to

For the necessary changes that need to be made, see r2260. The base class for FileParsers are: FileParser.java


See also : OmeroSearch

Last modified 13 years ago Last modified on 05/26/11 13:31:13

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.9776 sec.)

We're Hiring!