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 some

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

Re: question on the implementation of a SetFilter

2007-12-28 Thread Paul Elschot
On Friday 28 December 2007 13:00:03 christophe blin wrote: > > 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 t

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 > http://www.mail-archive.com/java-user@lucene.apache.org/m

Re: Indexing Wikipedia dumps

2007-12-28 Thread Grant Ingersoll
See https://issues.apache.org/jira/browse/LUCENE-1103 On Dec 18, 2007, at 1:31 PM, Marcelo Ochoa wrote: Hi All: Just to add simple hack, I had posted at my Blog an entry named "Uploading WikiPedia Dumps to Oracle databases": http://marceloochoa.blogspot.com/2007_12_01_archive.html with instr

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-u

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

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 it