Indexing columns in a single text doc using Lucene
HI All, I am planning to index a single document, which has tab separated data as below:
Name ID email address
So开发者_如何学运维 when somebody searches for the 'Name' you should get his ID,email and address as the response. The same holds good for other columns as well. I am planning to use Lucene for this. But from whatever little I have read about Lucene, it talks about indexing multiple text docs. Can somebody guide me through a tutorial or link where i can build an index with my requirements.
Thank you :)
You would just have each line be a "document."
This doesn't really sound like a good use for lucene though - why can't you just use a normal (relational) database?
精彩评论