[jira] [Commented] (SOLR-3729) ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly

2018-01-04 Thread Cassandra Targett (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16312098#comment-16312098
 ] 

Cassandra Targett commented on SOLR-3729:
-

bq. Can we close this as a dupe of SOLR-3377?

It's not a dupe AFAICT. It is still reproducible using Solr 7.2.

> ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly
> 
>
> Key: SOLR-3729
> URL: https://issues.apache.org/jira/browse/SOLR-3729
> Project: Solr
>  Issue Type: Bug
>  Components: query parsers
>Affects Versions: 4.0-BETA
>Reporter: Jack Krupansky
> Attachments: SOLR-3729.patch
>
>
> I just happen to notice that (\*:\*) is not parsed properly by the edismax 
> (ExtendedDismaxQParser) query parser in 4.0-beta. It appears to require 
> spaces before and after the \*:\*, otherwise it treats the colon as part of a 
> wildcard term (see the escaping below). I haven’t tried other releases yet.
> My original query:
> http://localhost:8983/solr/select/?debugQuery=true&q=(*:*)&defType=edismax
> Produces this:
> {code}
> (*:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
> ExtendedDismaxQParser
> {code}
> Some variations I tried:
> {code}
> ( *:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> (*:* )
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> ( *:* )
> (+MatchAllDocsQuery(*:*))/no_coord
> +*:*
>  
> (*:* -fox)
> 
> (+(DisjunctionMaxQuery((text:*\:*)) 
> -DisjunctionMaxQuery((text:fox/no_coord
> 
> +((text:*\:*) -(text:fox))
>  
> ( *:* -fox)
> 
> (+(MatchAllDocsQuery(*:*) -DisjunctionMaxQuery((text:fox/no_coord
> 
> +(*:* -(text:fox))
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3729) ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly

2015-03-17 Thread Erick Erickson (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14365934#comment-14365934
 ] 

Erick Erickson commented on SOLR-3729:
--

[~jkrupan] Can we close this as a dupe of SOLR-3377?

> ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly
> 
>
> Key: SOLR-3729
> URL: https://issues.apache.org/jira/browse/SOLR-3729
> Project: Solr
>  Issue Type: Bug
>  Components: query parsers
>Affects Versions: 4.0-BETA
>Reporter: Jack Krupansky
> Attachments: SOLR-3729.patch
>
>
> I just happen to notice that (\*:\*) is not parsed properly by the edismax 
> (ExtendedDismaxQParser) query parser in 4.0-beta. It appears to require 
> spaces before and after the \*:\*, otherwise it treats the colon as part of a 
> wildcard term (see the escaping below). I haven’t tried other releases yet.
> My original query:
> http://localhost:8983/solr/select/?debugQuery=true&q=(*:*)&defType=edismax
> Produces this:
> {code}
> (*:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
> ExtendedDismaxQParser
> {code}
> Some variations I tried:
> {code}
> ( *:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> (*:* )
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> ( *:* )
> (+MatchAllDocsQuery(*:*))/no_coord
> +*:*
>  
> (*:* -fox)
> 
> (+(DisjunctionMaxQuery((text:*\:*)) 
> -DisjunctionMaxQuery((text:fox/no_coord
> 
> +((text:*\:*) -(text:fox))
>  
> ( *:* -fox)
> 
> (+(MatchAllDocsQuery(*:*) -DisjunctionMaxQuery((text:fox/no_coord
> 
> +(*:* -(text:fox))
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3729) ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly

2012-10-12 Thread KuroSaka TeruHiko (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13475109#comment-13475109
 ] 

KuroSaka TeruHiko commented on SOLR-3729:
-

I have an indirect evidence that *:* is given to the analysis chain and the 
tokens are concatenated together and fed to DisjunctionMaxQuery.  This is not 
supposed to be happening, is it? Because my analyzer generates 3 tokens "*", 
":", and "*", and reconstruction of the query inserts a space between them, I 
am seeing this in debug output (note a space between "*" and ":"):
{noformat}
DisjunctionMaxQuery((body:"* : *"~100^0.5...
{noformat}

If this phenomena is nothing to do with this bug, my apology.  I'll file a 
separate bug.



> ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly
> 
>
> Key: SOLR-3729
> URL: https://issues.apache.org/jira/browse/SOLR-3729
> Project: Solr
>  Issue Type: Bug
>  Components: query parsers
>Affects Versions: 4.0-BETA
>Reporter: Jack Krupansky
> Attachments: SOLR-3729.patch
>
>
> I just happen to notice that (\*:\*) is not parsed properly by the edismax 
> (ExtendedDismaxQParser) query parser in 4.0-beta. It appears to require 
> spaces before and after the \*:\*, otherwise it treats the colon as part of a 
> wildcard term (see the escaping below). I haven’t tried other releases yet.
> My original query:
> http://localhost:8983/solr/select/?debugQuery=true&q=(*:*)&defType=edismax
> Produces this:
> {code}
> (*:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
> ExtendedDismaxQParser
> {code}
> Some variations I tried:
> {code}
> ( *:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> (*:* )
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> ( *:* )
> (+MatchAllDocsQuery(*:*))/no_coord
> +*:*
>  
> (*:* -fox)
> 
> (+(DisjunctionMaxQuery((text:*\:*)) 
> -DisjunctionMaxQuery((text:fox/no_coord
> 
> +((text:*\:*) -(text:fox))
>  
> ( *:* -fox)
> 
> (+(MatchAllDocsQuery(*:*) -DisjunctionMaxQuery((text:fox/no_coord
> 
> +(*:* -(text:fox))
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3729) ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly

2012-09-17 Thread Jack Krupansky (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457520#comment-13457520
 ] 

Jack Krupansky commented on SOLR-3729:
--

I concur that the patch is insufficient. Unfortunately, to prevent both false 
positives and false negatives, the regex would have to include the full "logic" 
of what starts and ends a term. Certainly not undoable, but the test cases 
alone are daunting. Still, it is a shame that the base case of a parenthesized 
match-all query can't be supported.


> ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly
> 
>
> Key: SOLR-3729
> URL: https://issues.apache.org/jira/browse/SOLR-3729
> Project: Solr
>  Issue Type: Bug
>  Components: query parsers
>Affects Versions: 4.0-BETA
>Reporter: Jack Krupansky
> Attachments: SOLR-3729.patch
>
>
> I just happen to notice that (\*:\*) is not parsed properly by the edismax 
> (ExtendedDismaxQParser) query parser in 4.0-beta. It appears to require 
> spaces before and after the \*:\*, otherwise it treats the colon as part of a 
> wildcard term (see the escaping below). I haven’t tried other releases yet.
> My original query:
> http://localhost:8983/solr/select/?debugQuery=true&q=(*:*)&defType=edismax
> Produces this:
> {code}
> (*:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
> ExtendedDismaxQParser
> {code}
> Some variations I tried:
> {code}
> ( *:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> (*:* )
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> ( *:* )
> (+MatchAllDocsQuery(*:*))/no_coord
> +*:*
>  
> (*:* -fox)
> 
> (+(DisjunctionMaxQuery((text:*\:*)) 
> -DisjunctionMaxQuery((text:fox/no_coord
> 
> +((text:*\:*) -(text:fox))
>  
> ( *:* -fox)
> 
> (+(MatchAllDocsQuery(*:*) -DisjunctionMaxQuery((text:fox/no_coord
> 
> +(*:* -(text:fox))
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3729) ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly

2012-08-15 Thread Jack Krupansky (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435232#comment-13435232
 ] 

Jack Krupansky commented on SOLR-3729:
--

It is also worth noting that the basic Lucene/Solr query parser does not have 
the problem:

{code}
(*:*)
MatchAllDocsQuery(*:*)
*:*
LuceneQParser
{code}


> ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly
> 
>
> Key: SOLR-3729
> URL: https://issues.apache.org/jira/browse/SOLR-3729
> Project: Solr
>  Issue Type: Bug
>  Components: query parsers
>Affects Versions: 4.0-BETA
>Reporter: Jack Krupansky
>
> I just happen to notice that (\*:\*) is not parsed properly by the edismax 
> (ExtendedDismaxQParser) query parser in 4.0-beta. It appears to require 
> spaces before and after the \*:\*, otherwise it treats the colon as part of a 
> wildcard term (see the escaping below). I haven’t tried other releases yet.
> My original query:
> http://localhost:8983/solr/select/?debugQuery=true&q=(*:*)&defType=edismax
> Produces this:
> {code}
> (*:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
> ExtendedDismaxQParser
> {code}
> Some variations I tried:
> {code}
> ( *:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> (*:* )
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> ( *:* )
> (+MatchAllDocsQuery(*:*))/no_coord
> +*:*
>  
> (*:* -fox)
> 
> (+(DisjunctionMaxQuery((text:*\:*)) 
> -DisjunctionMaxQuery((text:fox/no_coord
> 
> +((text:*\:*) -(text:fox))
>  
> ( *:* -fox)
> 
> (+(MatchAllDocsQuery(*:*) -DisjunctionMaxQuery((text:fox/no_coord
> 
> +(*:* -(text:fox))
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3729) ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly

2012-08-15 Thread Jack Krupansky (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435226#comment-13435226
 ] 

Jack Krupansky commented on SOLR-3729:
--

Jan, since the SOLR-3377 fix didn't make it into 3.6.1, it would appear that 
the problem was already there, but that had been my concern.

> ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly
> 
>
> Key: SOLR-3729
> URL: https://issues.apache.org/jira/browse/SOLR-3729
> Project: Solr
>  Issue Type: Bug
>  Components: query parsers
>Affects Versions: 4.0-BETA
>Reporter: Jack Krupansky
>
> I just happen to notice that (\*:\*) is not parsed properly by the edismax 
> (ExtendedDismaxQParser) query parser in 4.0-beta. It appears to require 
> spaces before and after the \*:\*, otherwise it treats the colon as part of a 
> wildcard term (see the escaping below). I haven’t tried other releases yet.
> My original query:
> http://localhost:8983/solr/select/?debugQuery=true&q=(*:*)&defType=edismax
> Produces this:
> {code}
> (*:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
> ExtendedDismaxQParser
> {code}
> Some variations I tried:
> {code}
> ( *:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> (*:* )
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> ( *:* )
> (+MatchAllDocsQuery(*:*))/no_coord
> +*:*
>  
> (*:* -fox)
> 
> (+(DisjunctionMaxQuery((text:*\:*)) 
> -DisjunctionMaxQuery((text:fox/no_coord
> 
> +((text:*\:*) -(text:fox))
>  
> ( *:* -fox)
> 
> (+(MatchAllDocsQuery(*:*) -DisjunctionMaxQuery((text:fox/no_coord
> 
> +(*:* -(text:fox))
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3729) ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly

2012-08-15 Thread Jack Krupansky (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435223#comment-13435223
 ] 

Jack Krupansky commented on SOLR-3729:
--

I verified with 3.6.1 that the problem exists there as well. The only 
difference is that the colon is not escaped in the debugQuery output:

{code}
(*:*)
(*:*)
+DisjunctionMaxQuery((text:*:*))
+(text:*:*)
{code}

Putting spaces just inside the parentheses works as in 4.0-beta.


> ExtendedDismaxQParser (edismax) doesn't parse (*:*) properly
> 
>
> Key: SOLR-3729
> URL: https://issues.apache.org/jira/browse/SOLR-3729
> Project: Solr
>  Issue Type: Bug
>  Components: query parsers
>Affects Versions: 4.0-BETA
>Reporter: Jack Krupansky
>
> I just happen to notice that (\*:\*) is not parsed properly by the edismax 
> (ExtendedDismaxQParser) query parser in 4.0-beta. It appears to require 
> spaces before and after the \*:\*, otherwise it treats the colon as part of a 
> wildcard term (see the escaping below). I haven’t tried other releases yet.
> My original query:
> http://localhost:8983/solr/select/?debugQuery=true&q=(*:*)&defType=edismax
> Produces this:
> {code}
> (*:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
> ExtendedDismaxQParser
> {code}
> Some variations I tried:
> {code}
> ( *:*)
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> (*:* )
> (+DisjunctionMaxQuery((text:*\:*)))/no_coord
> +(text:*\:*)
>  
> ( *:* )
> (+MatchAllDocsQuery(*:*))/no_coord
> +*:*
>  
> (*:* -fox)
> 
> (+(DisjunctionMaxQuery((text:*\:*)) 
> -DisjunctionMaxQuery((text:fox/no_coord
> 
> +((text:*\:*) -(text:fox))
>  
> ( *:* -fox)
> 
> (+(MatchAllDocsQuery(*:*) -DisjunctionMaxQuery((text:fox/no_coord
> 
> +(*:* -(text:fox))
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org