You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Alex Baranov (JIRA)" <ji...@apache.org> on 2009/10/11 12:18:31 UTC
[jira] Updated: (SOLR-1505) Phrase query used when the value is not
in quotas
[ 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: <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.
was:
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 the phrase query used: title:"water ground" which requires the presents of both words.
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: <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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.