[jira] [Commented] (SOLR-2409) edismax unescaped colon returns no results

2011-12-07 Thread Michael Watts (Commented) (JIRA)

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

Michael Watts commented on SOLR-2409:
-

I guess \_val\_ is another 'special' field to account for. Does anyone know of 
any others?

> edismax unescaped colon returns no results
> --
>
> Key: SOLR-2409
> URL: https://issues.apache.org/jira/browse/SOLR-2409
> Project: Solr
>  Issue Type: Bug
>  Components: search
>Reporter: Ryan McKinley
>Assignee: Yonik Seeley
>Priority: Minor
> Fix For: 3.2
>
> Attachments: SOLR-2409-unescapedcolon.patch, SOLR-2409.patch, 
> SOLR-2409.patch
>
>
> The edismax query parser should behave OK when a colon is in the query, but 
> does not refer to a field name.

--
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-2409) edismax unescaped colon returns no results

2011-12-07 Thread Yonik Seeley (Commented) (JIRA)

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

Yonik Seeley commented on SOLR-2409:


Hmmm, you're right... this was definitely not intended.

> edismax unescaped colon returns no results
> --
>
> Key: SOLR-2409
> URL: https://issues.apache.org/jira/browse/SOLR-2409
> Project: Solr
>  Issue Type: Bug
>  Components: search
>Reporter: Ryan McKinley
>Assignee: Yonik Seeley
>Priority: Minor
> Fix For: 3.2
>
> Attachments: SOLR-2409-unescapedcolon.patch, SOLR-2409.patch, 
> SOLR-2409.patch
>
>
> The edismax query parser should behave OK when a colon is in the query, but 
> does not refer to a field name.

--
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-2409) edismax unescaped colon returns no results

2011-12-07 Thread Michael Watts (Commented) (JIRA)

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

Michael Watts commented on SOLR-2409:
-

(Sorry, I'm not familiar with the Jira syntax, there should be underscores on 
the extremes of 'query')

> edismax unescaped colon returns no results
> --
>
> Key: SOLR-2409
> URL: https://issues.apache.org/jira/browse/SOLR-2409
> Project: Solr
>  Issue Type: Bug
>  Components: search
>Reporter: Ryan McKinley
>Assignee: Yonik Seeley
>Priority: Minor
> Fix For: 3.2
>
> Attachments: SOLR-2409-unescapedcolon.patch, SOLR-2409.patch, 
> SOLR-2409.patch
>
>
> The edismax query parser should behave OK when a colon is in the query, but 
> does not refer to a field name.

--
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-2409) edismax unescaped colon returns no results

2011-12-07 Thread Michael Watts (Commented) (JIRA)

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

Michael Watts commented on SOLR-2409:
-

This seems to give up support for '_query_:{!parser p1=v1 ... pn=vn}'. Is this 
intended? (as far as I know, this would decrease the expressiveness of edismax)

> edismax unescaped colon returns no results
> --
>
> Key: SOLR-2409
> URL: https://issues.apache.org/jira/browse/SOLR-2409
> Project: Solr
>  Issue Type: Bug
>  Components: search
>Reporter: Ryan McKinley
>Assignee: Yonik Seeley
>Priority: Minor
> Fix For: 3.2
>
> Attachments: SOLR-2409-unescapedcolon.patch, SOLR-2409.patch, 
> SOLR-2409.patch
>
>
> The edismax query parser should behave OK when a colon is in the query, but 
> does not refer to a field name.

--
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-2409) edismax unescaped colon returns no results

2011-04-15 Thread Yonik Seeley (JIRA)

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

Yonik Seeley commented on SOLR-2409:


One problem with the previous approach of checking for a zero length query is 
that it wouldn't handle cases like
I loved Terminator 2: Judgement Day
Because that gets truncated to (Terminator Day) which isn't zero length.

> edismax unescaped colon returns no results
> --
>
> Key: SOLR-2409
> URL: https://issues.apache.org/jira/browse/SOLR-2409
> Project: Solr
>  Issue Type: Bug
>  Components: search
>Reporter: Ryan McKinley
>Assignee: Yonik Seeley
>Priority: Minor
> Attachments: SOLR-2409-unescapedcolon.patch, SOLR-2409.patch
>
>
> The edismax query parser should behave OK when a colon is in the query, but 
> does not refer to a field name.

--
This message is automatically generated by JIRA.
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-2409) edismax unescaped colon returns no results

2011-03-07 Thread Ryan McKinley (JIRA)

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

Ryan McKinley commented on SOLR-2409:
-

From: 
https://issues.apache.org/jira/browse/SOLR-1553?focusedCommentId=12994448&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12994448

Adding:
{code:java}
// Make sure the Boolean Query actually has somethign there
if( parsedUserQuery instanceof BooleanQuery ) {
  if( ((BooleanQuery)parsedUserQuery).getClauses().length < 1 ) {
parsedUserQuery = null;
  }
}
{code}

seems to fix thigns.

I don't understand the bigger picture well enough to know the implications

> edismax unescaped colon returns no results
> --
>
> Key: SOLR-2409
> URL: https://issues.apache.org/jira/browse/SOLR-2409
> Project: Solr
>  Issue Type: Bug
>  Components: search
>Reporter: Ryan McKinley
>Priority: Minor
> Attachments: SOLR-2409-unescapedcolon.patch
>
>
> The edismax query parser should behave OK when a colon is in the query, but 
> does not refer to a field name.

--
This message is automatically generated by JIRA.
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