[jira] Updated: (LUCENE-665) temporary file access denied on Windows

2006-09-26 Thread Doron Cohen (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-665?page=all ] Doron Cohen updated LUCENE-665: --- Attachment: FSWinDirectory_26_Sep_06.patch Updated the patch according to review comments by Hoss, plus: - protect currMillis usage from system clock modification

Re: highlight - scoring fragments with more of the same token

2006-09-26 Thread Chris Hostetter
: TF is not a factor in fragment scores because I found its typically more : useful to look for fragments containing a strong mix of the query terms : - not merely repetitions of the same term. The idea is the choice of : scorer is pluggable if you don't like the default behaviour. Taking a "coor

Re: highlight - scoring fragments with more of the same token

2006-09-26 Thread markharw00d
I was somewhat surprised to find that highlighting scoring simply counts how many unique query terms appear in the fragment. Guess was expecting a See QueryScorer(Query query, IndexReader reader, String fieldName) constructor - this will factor IDF into weighting for terms. Query boosts are aut

Re: highlight - scoring fragments with more of the same token

2006-09-26 Thread Doron Cohen
markharw00d <[EMAIL PROTECTED]> wrote on 26/09/2006 00:11:12: > If you were to score repeated terms then I suspect it would have to be > done so that the repetitions didn't score as highly as the first > occurrence - otherwise f2 could be selected as a better fragment than f3 > for the query q1 in

[jira] Updated: (LUCENE-676) Promote solr's PrefixFilter into Java Lucene's core

2006-09-26 Thread Andi Vajda (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-676?page=all ] Andi Vajda updated LUCENE-676: -- Attachment: TestPrefixFilter.java Here is another attachment by Yura providing the request unit test. > Promote solr's PrefixFilter into Java Lucene's core > -

[jira] Commented: (LUCENE-636) [PATCH] Differently configured Lucene 'instances' in same JVM

2006-09-26 Thread Johan Stuyts (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-636?page=comments#action_12437789 ] Johan Stuyts commented on LUCENE-636: - I just found out that the patch is incomplete. You can only specify the subclass of the SegmentReader class, but not the

[jira] Commented: (LUCENE-676) Promote solr's PrefixFilter into Java Lucene's core

2006-09-26 Thread Hoss Man (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-676?page=comments#action_12437757 ] Hoss Man commented on LUCENE-676: - Even though i use PrefixFilter on a daily basis in Solr, and i am confident of it's correctness, I don't think anything should b

Re: highlight - scoring fragments with more of the same token

2006-09-26 Thread markharw00d
If you were to score repeated terms then I suspect it would have to be done so that the repetitions didn't score as highly as the first occurrence - otherwise f2 could be selected as a better fragment than f3 for the query q1 in your example. Repetitions of a term in a fragment could be scored a