Grant Ingersoll (JIRA) wrote:
[
https://issues.apache.org/jira/browse/LUCENE-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grant Ingersoll updated LUCENE-834:
-----------------------------------
Attachment: boosting.term.query.patch
First draft at a BoostingTermQuery, which is based on the SpanTermQuery and can be used for boosting the score of a term based on what is in the payload (for things like weighting terms higher according to their font size or part of speech).
A couple of classes that were previously package level are now public and have
been marked as Public and for derivational purposes only.
See the CHANGES.xml for some more details.
I believe all tests still pass.
Grant,
This is great stuff! I know quite a few projects that will love this -
specifically to boost terms differently based on a POS tag.
We had a discussion recently in Nutch about changing the way typical
Nutch queries are translated into Lucene queries, and performance
implications there. If you're looking for a challenge ;) could you
perhaps take a look at this discussion and see if you could contribute
something? ;)
http://www.nabble.com/Performance-optimization-for-Nutch-index---query-tf3276316.html
Thanks in advance!
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]