Re: Adding another factor to Lucene search

2009-03-03 Thread liat oren
Hi, Thanks for the information. Does MoreLikeThis can help in addressing the similiarity of words according to index of scores between words I have? Best, Liat 2009/3/2 Ian Lea > Hi > > > Document.setBoost(float boost) where boost is either your score as is, > or a value based on that score, mi

Re: Adding another factor to Lucene search

2009-03-02 Thread Ian Lea
Hi Document.setBoost(float boost) where boost is either your score as is, or a value based on that score, might do the trick for you. Other boosting and custom score options include BoostingQuery, BoostingTermQuery and CustomScoreQuery. A google search for "lucene boosting" throws up lots of h

Adding another factor to Lucene search

2009-03-02 Thread liat oren
Hi, I would like to add to lucene's score another factor - a score between words. I have an index that holds couple of words with their score. How can I take it into account when using Lucene search? Many thanks, Liat