Re: Boosting using an external data source

2008-02-04 Thread Michael Stoppelman
If anyone was wondering how I dealt with this I ended up extending the TermQuery class and overridding the tf() and idf() functions like in FuzzyLikeThisQuery. See FuzzyTermQuery for how they use the SimilarityDelegator object: contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.j

Boosting using an external data source

2008-02-03 Thread Michael Stoppelman
I've created a mapping of query terms to clusters with corresponding strength values that I want to integrate into lucene scoring so I can boost documents that match the clusters. I would like to give a boost based on the normalized score. In my setup, each document has a field with the clusters th