[jira] Commented: (LUCENE-2190) CustomScoreQuery (function query) is broken (due to per-segment searching)

2010-02-20 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836164#action_12836164 ] Michael McCandless commented on LUCENE-2190: bq. Adding setNextReader to

[jira] Updated: (LUCENE-2190) CustomScoreQuery (function query) is broken (due to per-segment searching)

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2190: -- Attachment: LUCENE-2190-2.patch Here a better solution. It now works like Filter's

[jira] Updated: (LUCENE-2190) CustomScoreQuery (function query) is broken (due to per-segment searching)

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2190: -- Attachment: LUCENE-2190-2.patch Updated patch (forgot to add an IOException to

[jira] Resolved: (LUCENE-2267) Add solr's artifact signing scripts into lucene's build.xml/common-build.xml

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler resolved LUCENE-2267. --- Resolution: Fixed Lucene Fields: [New, Patch Available] (was: [New]) Committed

[jira] Commented: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836178#action_12836178 ] Yonik Seeley commented on LUCENE-2271: -- I'm starting to think that handling NaN is as

[jira] Commented: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836179#action_12836179 ] Robert Muir commented on LUCENE-2271: - bq. This is because once you allow infinities,

[jira] Commented: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836180#action_12836180 ] Yonik Seeley commented on LUCENE-2271: -- bq. maybe we should keep it as is then, and

[jira] Commented: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836181#action_12836181 ] Robert Muir commented on LUCENE-2271: - bq. But how? Finite results can combine and

[jira] Commented: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836182#action_12836182 ] Uwe Schindler commented on LUCENE-2271: --- In my opinion we should fix it using the

[jira] Commented: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836183#action_12836183 ] Robert Muir commented on LUCENE-2271: - bq. In my opinion we should fix it using the

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: LUCENE-2271.patch Here a simplier patch with sentinels removed. You can maybe

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: LUCENE-2271.patch Sorry, insertWithOverflow is correct! Function queries

[jira] Commented: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Marvin Humphrey (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836197#action_12836197 ] Marvin Humphrey commented on LUCENE-2271: - An awful lot of thought went into

[jira] Updated: (LUCENE-1935) Generify PriorityQueue

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1935: -- Attachment: HitQueue.jad Just for reference: Here is the generated class (by javac) when

RE: ComplexPhraseQuery problems with simple phrases

2010-02-20 Thread David Kaelbling
Sounds good! Unfortunately the ComplexPhraseQuery class and members are not visible, so this isn't something that I can easily repair outside the library. -- David Kaelbling Senior Software Engineer Black Duck Software, Inc. dkaelbl...@blackducksoftware.com T +1.781.810.2041 F +1.781.891.5145

[jira] Commented: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836214#action_12836214 ] Michael McCandless commented on LUCENE-2271: I would rather not change the

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: LUCENE-2271.patch Here is a new impl that only has exactly one additional check

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: (was: LUCENE-2271.patch) Function queries producing scores of -inf or NaN

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: LUCENE-2271.patch more improved Function queries producing scores of -inf or

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: LUCENE-2271.patch More optimized version with more local variables. This is the

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: LUCENE-2271-bench.patch Here a benchmark task made by grant. Run collector.alg

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: LUCENE-2271.patch More improved version, now equal to prefilled queue case, as

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: (was: LUCENE-2271.patch) Function queries producing scores of -inf or NaN

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: (was: LUCENE-2271.patch) Function queries producing scores of -inf or NaN

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: (was: LUCENE-2271.patch) Function queries producing scores of -inf or NaN

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: LUCENE-2271.patch Function queries producing scores of -inf or NaN (e.g. 1/x)

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: (was: LUCENE-2271.patch) Function queries producing scores of -inf or NaN

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: (was: LUCENE-2271.patch) Function queries producing scores of -inf or NaN

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: (was: LUCENE-2271.patch) Function queries producing scores of -inf or NaN

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: (was: LUCENE-2271.patch) Function queries producing scores of -inf or NaN

[jira] Issue Comment Edited: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836265#action_12836265 ] Uwe Schindler edited comment on LUCENE-2271 at 2/20/10 9:40 PM:

[jira] Commented: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836265#action_12836265 ] Uwe Schindler commented on LUCENE-2271: --- I did some benchmarks (will do more

[jira] Commented: (LUCENE-1990) Add unsigned packed int impls in oal.util

2010-02-20 Thread Toke Eskildsen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836267#action_12836267 ] Toke Eskildsen commented on LUCENE-1990: I am sorry, but personal issues sapped my

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: LUCENE-2271.patch Fix an issue when numDocs==0. Function queries producing

Re: (LUCENE-1844) Speed up junit tests

2010-02-20 Thread Michael McCandless
Currently the tests run 1 jvm per test suite (eg, TestIndexWriter has its own jvm), I believe, and we haven't seen test failures... so I think for the most part tests are not interfering with each other (messing up global state). It should be less likely that we see interactions across test

[jira] Resolved: (LUCENE-2254) Support more queries (other than just title) in Trec quality pkg

2010-02-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir resolved LUCENE-2254. - Resolution: Fixed Committed revision 912308. Support more queries (other than just title) in

Re: (LUCENE-1844) Speed up junit tests

2010-02-20 Thread Robert Muir
ok, can do. if it turns out there is a problem, we can revert until some work has been done on the tests. On Sat, Feb 20, 2010 at 5:45 PM, Michael McCandless luc...@mikemccandless.com wrote: Currently the tests run 1 jvm per test suite (eg, TestIndexWriter has its own jvm), I believe, and we

[jira] Resolved: (LUCENE-2261) configurable MultiTermQuery TopTermsScoringBooleanRewrite pq size

2010-02-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir resolved LUCENE-2261. - Resolution: Fixed Fix Version/s: (was: Flex Branch) Committed revision 912311.

[jira] Assigned: (LUCENE-2269) don't download/extract 20,000 files when doing the build

2010-02-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir reassigned LUCENE-2269: --- Assignee: Robert Muir don't download/extract 20,000 files when doing the build

[jira] Updated: (LUCENE-2269) don't download/extract 20,000 files when doing the build

2010-02-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2269: Fix Version/s: 3.1 don't download/extract 20,000 files when doing the build

[jira] Commented: (LUCENE-2269) don't download/extract 20,000 files when doing the build

2010-02-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12836339#action_12836339 ] Robert Muir commented on LUCENE-2269: - if no one objects, will commit this tomorrow,