You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Ahmet Arslan <io...@yahoo.com.INVALID> on 2015/10/27 09:27:28 UTC

Access query length inside similarity

Hi,

How can I access length of the query (number of words in the query) inside a SimilarityBase implementation?

P.S. I am implementing multi-aspect TF [1] for an experimental study.
So it does not have to be fast/optimized as production code.

[1] http://dl.acm.org/citation.cfm?doid=2484028.2484070

Thanks,
Ahmet

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Access query length inside similarity

Posted by Ahmet Arslan <io...@yahoo.com.INVALID>.
Hi,

How can I access length of the query (number of words in the query) inside a SimilarityBase implementation?

P.S. I am implementing multi-aspect TF [1] for an experimental study.
So it does not have to be fast/optimized as production code.

[1] http://dl.acm.org/citation.cfm?doid=2484028.2484070

Thanks,
Ahmet

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org