lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Toy <jason...@gmail.com>
Subject Re: dismax with AND/OR combination
Date Fri, 30 Sep 2011 02:33:50 GMT
Can dismax understand that query in a translated form?


在 Sep 29, 2011 10:01 PM 時,yingshou guo <guoyingshou@gmail.com> 寫到:

> you cann't use this kind of query syntax against dismax query parser.
> your query can by understood by standard query parser or edismax query
> parser. "qt" request parameter is used by solr to select the request
> handler plugin, not query parser.
> 
> keep in mind that different query parser can understand different query syntax.
> 
> On Fri, Sep 30, 2011 at 8:00 AM, abhayd <ajdabholkar@hotmail.com> wrote:
>> hi
>> i m using solr from trunk 4.0
>> Also dismax is set as default qt with
>>    <str name="qf">
>>        text^2.5 features^1.1 displayName^15.0 mfg^4.0 description^3.0
>>     </str>
>> 
>> myquery is
>> =============
>> q=+"ab sx"+OR+(mfg:abc+OR+sx)+OR+(displayName:abc+OR+sx)&qt=dismax
>> 
>> It is not working as per my expectation .
>> 
>> Any way to implement this with dismax or any other options? qt=standard
>> might work but i want different score when hit is on different fields
>> 
>> --
>> View this message in context: http://lucene.472066.n3.nabble.com/dismax-with-AND-OR-combination-tp3380883p3380883.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>> 

Mime
View raw message