Re: boosting StandardAnalyzer, stop words

2003-12-10 Thread Stefan Groschupf
Perhaps we'd better continue this on lucene-dev. Ok, i will subscribe this list and request again. Thanks! Stefan -- open technology: http://www.media-style.com open source: http://www.weta-group.net open discussion: http://www.text-mining.org

Re: boosting StandardAnalyzer, stop words

2003-12-09 Thread Stefan Groschupf
Ype, It's a bug, and there is a fix for this in the latest CVS near the end of the QueryParser.jj file: // avoid boosting null queries, such as those caused by stop words if (q != null) { q.setBoost(f); } I had checked out the latest sources from public cvs. The posted

Re: boosting StandardAnalyzer, stop words

2003-12-09 Thread Ype Kingma
Stefan, I didn't provide the patch, I just remembered the code from a recent reading. I took another look whether there are more such cases in the Term() method, but I couldn't find anything clear in the .jj file. The generated .java file didn't help much either. Could you provide a line number

Re: boosting StandardAnalyzer, stop words

2003-12-09 Thread Ype Kingma
On Tuesday 09 December 2003 17:58, Ype Kingma wrote: Stefan, I didn't provide the patch, I just remembered the code from a recent reading. I took another look whether there are more such cases in the Term() method, but I couldn't find anything clear in the .jj file. The generated .java

Re: boosting StandardAnalyzer, stop words

2003-12-08 Thread Ype Kingma
Stefan, It's a bug, and there is a fix for this in the latest CVS near the end of the QueryParser.jj file: // avoid boosting null queries, such as those caused by stop words if (q != null) { q.setBoost(f); } Kind regards, Ype On Monday 08 December 2003 20:20, Stefan