question on the implementation of a SetFilter

2007-12-28 Thread christophe blin
Hi, I'd like to implement a SetFilter like describe in http://www.nabble.com/Re%3A-Too-many-clauses-p1145373.html At the moment, I have a working implementation but there are some gotchas I do not understand (i.e I take the code from RangeFilter and adapt it as suggested by the post) Could

Re: Synonyms and Ranking

2007-12-28 Thread Frank Schima
Hi Grant, Grant Ingersoll-6 wrote: You can use the payload functionality (have a look at BoostingTermQuery and Michael B. excellent ApacheCon talk at http://people.apache.org/~buschmi/apachecon/). Other option is to put the synonyms into a separate field and boost that less than the

Re: Which file in the lucene package is used to manipulate results..

2007-12-28 Thread sumittyagi
hi which file can i edit to change the scoring factors in lucene results markharw00d wrote: Thanks for the context - much more useful. The challenge here is similar to that posed by offering end-user tagging of content (see here

Re: Which file in the lucene package is used to manipulate results..

2007-12-28 Thread sumittyagi
also what is the lucene ranking (scoring documents) formula sumittyagi wrote: hi which file can i edit to change the scoring factors in lucene results markharw00d wrote: Thanks for the context - much more useful. The challenge here is similar to that posed by offering end-user

RE: Which file in the lucene package is used to manipulate results..

2007-12-28 Thread Steven A Rowe
Hi Sumit, Here's a good place to start: http://lucene.apache.org/java/docs/scoring.html Steve On 12/28/2007 at 12:30 PM, sumittyagi wrote: also what is the lucene ranking (scoring documents) formula sumittyagi wrote: hi which file can i edit to change the scoring factors in

Re: Synonyms and Ranking

2007-12-28 Thread Grant Ingersoll
Yes, the Payload stuff should work for this, but you will have to set it up during indexing. The simpler approach is probably a separate field for synonyms, but this means analyzing the same content twice (or trying out the TeeTokenFilter, but this is advanced usage at this point, since