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

Randy Jacobsen commented on SOLR-7873:
--------------------------------------

As I said, failure results in 0 matches.
No exception.

The documentation for the prefix query parser is extremely thin:

"PrefixQParser extends the QParserPlugin by creating a prefix query from the 
input value. Currently no analysis or value transformation is done to create 
this prefix query. The parameter is f, the field. The string after the prefix 
declaration is treated as a wildcard query.
Example: {!prefix f=myfield}foo
This would be generally equivalent to the Lucene query parser expression 
myfield:foo*."

No discusion of more than one word or more than on field.


> prefix query parser fails with two words and a second field
> -----------------------------------------------------------
>
>                 Key: SOLR-7873
>                 URL: https://issues.apache.org/jira/browse/SOLR-7873
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.8
>            Reporter: Randy Jacobsen
>            Priority: Minor
>
> works: {!prefix f=journal_name}radar c
> works: pub_name:5 AND {!prefix f=journal_name}radar
> fails: pub_name:5 AND {!prefix f=journal_name}radar c
> both fields are lowercased text fields
> fail results in 0 matches
> any equivalent queries would be welcome



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to