[jira] Commented: (LUCENE-1486) Wildcards, ORs etc inside Phrase queries

2010-02-19 Thread Mark Harwood (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835961#action_12835961 ] Mark Harwood commented on LUCENE-1486: -- Double Ugh. Applying the patch for the "non-d

[jira] Closed: (LUCENE-1513) fastss fuzzyquery

2010-02-19 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir closed LUCENE-1513. --- Resolution: Not A Problem For Lucene, LUCENE-2089 will always be faster than even FastSS, as our Fu

Re: ComplexPhraseQuery problems with simple phrases

2010-02-19 Thread Mark Harwood
This is because phrases are expected to contain >1 clause and the ComplexPhraseQueryParser was expecting a BooleanQuery from the base class which is used to hold the elements in the phrase. In this single-clause scenario I guess we could silently hide the error and return whatever single query

[jira] Updated: (LUCENE-2089) explore using automaton for fuzzyquery

2010-02-19 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2089: Description: we can optimize fuzzyquery by using AutomatonTermsEnum. The idea is to speed up the

ComplexPhraseQuery problems with simple phrases

2010-02-19 Thread David Kaelbling
Hi, ComplexPhraseQueryParser doesn't appear to handle some simple wildcard phrases correctly. In TestComplexPhraseQuery.testComplexPhrases() on trunk I tried these two tests: checkMatches("\"j*n sm*h\"", "1,2"); checkMatches("\"j*n\"", "1,2,3,4"); The first check succeeds. The

Question on highlighting of nested SpanQuery instances

2010-02-19 Thread Goddard, Michael J.
Hello, I initially posted a version of this question to java-user, but think it's more of a java-dev question. I haven't yet been able to resolve why I'm seeing spurious highlighting in nested SpanQuery instances. To illustrate this, I added the code below to the HighlighterTest class in luce

[jira] Updated: (LUCENE-2089) explore using automaton for fuzzyquery

2010-02-19 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2089: Attachment: ContrivedFuzzyBenchmark.java attached is a 'contrived fuzzy benchmark' derived from my

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

2010-02-19 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835903#action_12835903 ] Uwe Schindler commented on LUCENE-2190: --- During refactoring I found out: CustomScor

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

2010-02-19 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835837#action_12835837 ] Uwe Schindler commented on LUCENE-2190: --- We can preserve backwards compatibility is

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

2010-02-19 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler reopened LUCENE-2190: --- The fix is invalid: Adding setNextReader to CustomScoreQuery makes the Query itsself stateful. T

[jira] Updated: (LUCENE-2089) explore using automaton for fuzzyquery

2010-02-19 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2089: Attachment: LUCENE-2089.patch * implement the pq algorithm, when the value at the bottom of the pq

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

2010-02-19 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 Improved test, that also checks for increasing doc ids when scor

[jira] Updated: (LUCENE-2272) PayloadNearQuery has hardwired explanation for 'AveragePayloadFunction'

2010-02-19 Thread Peter Keegan (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Keegan updated LUCENE-2272: - Attachment: payloadfunctin-patch.txt This patch adds the 'explain' method to the 'PayloadFunctio

[jira] Created: (LUCENE-2272) PayloadNearQuery has hardwired explanation for 'AveragePayloadFunction'

2010-02-19 Thread Peter Keegan (JIRA)
PayloadNearQuery has hardwired explanation for 'AveragePayloadFunction' --- Key: LUCENE-2272 URL: https://issues.apache.org/jira/browse/LUCENE-2272 Project: Lucene - Java Is

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

2010-02-19 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835763#action_12835763 ] Uwe Schindler commented on LUCENE-2271: --- The cost to handle NaN is the modified less

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

2010-02-19 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835762#action_12835762 ] Yonik Seeley commented on LUCENE-2271: -- bq. A design bug that function queries score

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

2010-02-19 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835758#action_12835758 ] Robert Muir commented on LUCENE-2271: - bq. OK, so it was a design bug too. A design b

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

2010-02-19 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835750#action_12835750 ] Yonik Seeley commented on LUCENE-2271: -- bq. its not a bug, as its doc'ed to work this

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

2010-02-19 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 Patch with testcases for trunk, but should work on branches, too

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

2010-02-19 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835717#action_12835717 ] Robert Muir commented on LUCENE-2271: - bq.The cost of the additional checks in HitQueu

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

2010-02-19 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 (e

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

2010-02-19 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2271: Attachment: TSDC.patch attached is a patch, written by Uwe. as far as a "bugfix" i prefer this pat

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

2010-02-19 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 reverted a comment remove. > Function queries producing s

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

2010-02-19 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 This is patch that supports NaN and -inf. The cost of the addit

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

2010-02-19 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835683#action_12835683 ] Robert Muir commented on LUCENE-2271: - I don't think we should do anything to fix NaN,

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

2010-02-19 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2271: Priority: Minor (was: Major) Issue Type: Improvement (was: Bug) its not a bug, as its doc'

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

2010-02-19 Thread Uwe Schindler (JIRA)
Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector -- Key: LUCENE-2271 URL: https://issues.apac