[ 
https://issues.apache.org/jira/browse/SOLR-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Baranov updated SOLR-1505:
-------------------------------

    Description: 
Example:
In query specified the next criteria:  _title:water,ground_ (note: the value is 
not in quotas). For "title" field solr.PatternTokenizerFactory used with 
pattern=", *". After analysis Solr applies the query as phrase query: 
title:"water ground" which requires the presents of both words, etc..

So, basically  _title:water,ground_ acts in the same way as 
_title:"water,ground"_. There is no way how to avoid phrase query.

When value is not in quotas then phrase query shouldn't be used.

  was:
Example:
In query specified the next criteria:  <i>title:water,ground</i> (note: the 
value is not in quotas). For "title" field solr.PatternTokenizerFactory used 
with pattern=", *". After analysis Solr applies the query as phrase query: 
title:"water ground" which requires the presents of both words, etc..

So, basically  <i>title:water,ground</i> acts in the same way as 
<i>title:"water,ground"</i>. There is no way how to avoid phrase query.

When value is not in quotas then phrase query shouldn't be used.


> Phrase query used when the value is not in quotas
> -------------------------------------------------
>
>                 Key: SOLR-1505
>                 URL: https://issues.apache.org/jira/browse/SOLR-1505
>             Project: Solr
>          Issue Type: Bug
>          Components: Analysis
>    Affects Versions: 1.4
>            Reporter: Alex Baranov
>
> Example:
> In query specified the next criteria:  _title:water,ground_ (note: the value 
> is not in quotas). For "title" field solr.PatternTokenizerFactory used with 
> pattern=", *". After analysis Solr applies the query as phrase query: 
> title:"water ground" which requires the presents of both words, etc..
> So, basically  _title:water,ground_ acts in the same way as 
> _title:"water,ground"_. There is no way how to avoid phrase query.
> When value is not in quotas then phrase query shouldn't be used.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to