Get all the words of an index...

View: New views
1 Messages — Rating Filter:   Alert me  

Get all the words of an index...

by gustavoh10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm devoloping an application that searches in several XML files
that in index using zend lucene.

The idea is simple I have a simple index structure that
store the title of the file (field titulo), the name (field nombre_archivo),
the category (field categoria) and all the words
presents in the document (field contents).

When I open the index created with lucene, using lukeall-0.7.1, I see all the
words I index order by Rank

Anyone knows any function that I can use to get those words stored in the index to
manage in php?

I will use those words to make more easy the search for the users, displaying the words
while the user is typing the query.
I could make a function that opens the XMLs files and get all the words then I could see if
a words is repeat and delete it, but I want to know if there a simpler way to do this.


thanks a lot.
LightInTheBox - Buy quality products at wholesale price