You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Andy <an...@yahoo.com> on 2009/04/09 21:56:44 UTC
Index in text format
Is there a way to have lucene to write index in a txt file?
Re: Index in text format
Posted by Paul Elschot <pa...@xs4all.nl>.
On Thursday 09 April 2009 21:56:44 Andy wrote:
> Is there a way to have lucene to write index in a txt file?
No. You could try a hexdump of the index file(s), but that isn't
really human readable. Instead of that you may want to try Luke:
http://www.getopt.org/luke/
Regards,
Paul Elschot
Re: Index in text format
Posted by Andrzej Bialecki <ab...@getopt.org>.
Otis Gospodnetic wrote:
> No. But you could look at an existing index, pull out one Document at a time, pull out any stored Field values from each Document, and write those to a text file. You'd have to write the code for this yourself.
Actually, the latest version of Luke (http://www.getopt.org/luke) can
export all stored fields from all documents into an XML file.
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Index in text format
Posted by Otis Gospodnetic <ot...@yahoo.com>.
No. But you could look at an existing index, pull out one Document at a time, pull out any stored Field values from each Document, and write those to a text file. You'd have to write the code for this yourself.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
----- Original Message ----
> From: Andy <an...@yahoo.com>
> To: java-user@lucene.apache.org
> Sent: Thursday, April 9, 2009 3:56:44 PM
> Subject: Index in text format
>
> Is there a way to have lucene to write index in a txt file?
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org