Implement a relaxed PhraseQuery?

2008-03-23 Thread climbingrose
Hi all, I posted this in Solr mailing but then I thought it would be more appropriate to have it here. I thought many people would encounter the situation I'm having here. Basically, we'd like to have a PhraseQuery with "minimum should match" property similar to BooleanQuery. Consider the query "

Re: Implement a relaxed PhraseQuery?

2008-03-23 Thread Ken Krugler
Hi Cuong, I posted this in Solr mailing but then I thought it would be more appropriate to have it here. I thought many people would encounter the situation I'm having here. Basically, we'd like to have a PhraseQuery with "minimum should match" property similar to BooleanQuery. Consider the que

is it possible to change the way score from different field combine to give final lucene score

2008-03-23 Thread Nizamul
Suppose I have two field field1 and field2 and let the score for a query from field1 and field2 are score1 and score2 respectively.now when computing the final lucene score I instead of score1,I want to use some function (f(score1)) of that score.