You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "S.Selvam" <s....@gmail.com> on 2009/07/11 10:23:00 UTC

Solr tika and extracting formatting info

Hi all,

I am using solr tika to index various file formats.I have used
ExtractingRequestHandler to get the data and render it in GUI using VB.NET.
Now my requirement is to render the file as it is(With all formatting,for
eg.Table,) or almost a similar look of original file.So i need to receive
all the formatting information of the file posted to Tika not only the data.
Is that possible with Tika? or do i need use any other module ?

I would like to get your suggestions regarding this.


-- 
Yours,
S.Selvam

Re: Solr tika and extracting formatting info

Posted by Grant Ingersoll <gs...@apache.org>.
On Jul 11, 2009, at 4:23 AM, S.Selvam wrote:

> Hi all,
>
> I am using solr tika to index various file formats.I have used
> ExtractingRequestHandler to get the data and render it in GUI using  
> VB.NET.
> Now my requirement is to render the file as it is(With all  
> formatting,for
> eg.Table,) or almost a similar look of original file.So i need to  
> receive
> all the formatting information of the file posted to Tika not only  
> the data.
> Is that possible with Tika? or do i need use any other module ?


Are you saying you want the original file back?  If so, then I believe  
making it a stored field should work, although I haven't verified it  
and a part of me wonders whether Solr is going to store that data as  
binary.  Otherwise, I don't have any suggestions, as Tika nor Solr  
hang on to any formatting information.

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
using Solr/Lucene:
http://www.lucidimagination.com/search