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

srinivas commented on SOLR-3703:
--------------------------------

This is the type I used here:

<fieldType name="text_general_name" class="solr.TextField" 
positionIncrementGap="100">
      <analyzer>
        <tokenizer class="solr.StandardTokenizerFactory"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true" 
words="stopwords.txt" enablePositionIncrements="true" />
        <filter class="solr.LowerCaseFilterFactory"/>
      </analyzer>
    </fieldType>
                
> Escape character which is in the query, is getting ignored in solr 3.6 with 
> lucene parser
> -----------------------------------------------------------------------------------------
>
>                 Key: SOLR-3703
>                 URL: https://issues.apache.org/jira/browse/SOLR-3703
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.6
>         Environment: Linux
>            Reporter: srinivas
>
> I noticed, escape character which is in the query, is getting ignored in solr 
> 3.6 with lucene parser. If I give edismax, then it is giving expected results 
> for the following query. 
> select?q=author:David\ Duke&defType=lucene 
> Would render the same results as: 
> select?q=author:(David OR Duke)&defType=lucene 
> But 
> select?q=author:David\ Duke&defType=edismax 
> Would render the same results as: 
> select?q=author:"David Duke"&defType=lucene 
> Regards
> Srini

--
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

Reply via email to