I am indexing a row of data from a database in Lucene.Net. A string is equivalent to a document.
I want to update my database with DocId so that I can use DocId in the results to get rows quickly.
I am currently first extracting PK from result documents, which in my opinion should be slower than returning directly from the database using DocId.
How can I find DocId when adding a document to Lucene?
Rohit source
share