lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject Re: solrQueryParser does not take effect - nightly build
Date Sat, 22 Nov 2008 01:03:37 GMT
ashok,

Hmm, this is a bug. It was accidentally introduced when SOLR-657 was 
committed.

http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/LuceneQParserPlugin.java?p2=%2Flucene%2Fsolr%2Ftrunk%2Fsrc%2Fjava%2Forg%2Fapache%2Fsolr%2Fsearch%2FLuceneQParserPlugin.java&p1=%2Flucene%2Fsolr%2Ftrunk%2Fsrc%2Fjava%2Forg%2Fapache%2Fsolr%2Fsearch%2FLuceneQParserPlugin.java&r1=701485&r2=701484&view=diff&pathrev=701485

I'll fix it shortly.

Thank you,

Koji


ashokc wrote:
> Hi,
>
> I have set
>
> <solrQueryParser defaultOperator="AND"/>
>
> but it is not taking effect. It continues to take it as OR. I am working
> with the latest nightly build 11/20/2008
>
> For a querry like
>
> term1 term2
>
> Debug shows
>
> <str name="parsedquery">content:term1 content:term2>/str>
>
> Bug?
>
> Thanks
>
> - ashok
>
>
>   


Mime
View raw message