Dear all, I would like to extract feature vectors for each document that is relevant to a query and write it out to a file. Is there a way in Lucene where I can specify a parameter to do this? or which part of the code deals with the feature vectors related to the documents so that I can modify the code to write out the feature vectors to a file? Any pointers on this will be highly helpful.
I want to extract the features as I have developed code developed outside of Lucene that takes feature vectors and relevance ranking to train classifiers and then build a ranking model. How easy will it be if instead of writing the feature vectors out to a file using Lucene that I include my external code into Lucene and make it use the feature vectors in memory? Thank you very much. Regards, Sachin