Hi, I want to implement a custom TFIDF similarity scoring function. I read the code for org.apache.lucene.search.similarities.DefaultSimilarity. I could not find a way to get the "query" that user provided.
In my case, I would want to allow the user to upload some binary content to my search server. The binary content can be transformed into "text" like document for inverted index. But I still need to whole "query document" to compute the similarity score. Any suggestions? Thanks, [image: --] Xi Shen [image: http://]about.me/davidshen <http://about.me/davidshen?promo=email_sig> <http://about.me/davidshen>