lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3703) Escape character which is in the query, is getting ignored in solr 3.6 with lucene parser
Date Fri, 03 Aug 2012 15:31:02 GMT

    [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message