lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-8409) Complex q param in Streaming Expression results in a bad query
Date Thu, 04 Feb 2016 02:59:39 GMT

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

ASF subversion and git services commented on SOLR-8409:
-------------------------------------------------------

Commit 3528cc32cb634137cf389beaa9ecdc2036588d96 in lucene-solr's branch refs/heads/master
from [~dpgove]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3528cc3 ]

SOLR-8409: Ensures that quotes in solr params (eg. q param) are properly handled


> Complex q param in Streaming Expression results in a bad query
> --------------------------------------------------------------
>
>                 Key: SOLR-8409
>                 URL: https://issues.apache.org/jira/browse/SOLR-8409
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrJ
>    Affects Versions: Trunk
>            Reporter: Dennis Gove
>            Priority: Minor
>              Labels: streaming, streaming_api
>         Attachments: SOLR-8409.patch, SOLR-8409.patch
>
>
> When providing an expression like 
> {code}
> stream=search(people, fl="id,first", sort="first asc", q="presentTitles:\"chief executive
officer\" AND age:[36 TO *]")
> {code}
> the following error is seen.
> {code}
> no field name specified in query and no default specified via 'df' param
> {code}
> I believe the issue is related to the \" (escaped quotes) and the spaces in the q field.
If I remove the spaces then the query returns results as expected (though I've yet to validate
if those results are accurate).
> This requires some investigation to get down to the root cause. I would like to fix it
before Solr 6 is cut.



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

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


Mime
View raw message