Hi

If I understand the terms correctly, the search-handler was configured to use 
"edismax".

The start of the configuration in the solrconfig.xml looks like this:

<requestHandler name="/search" class="solr.SearchHandler" default="true">
    <lst name="defaults">
      <str name="defType">edismax</str>

In any case, when I commented-out the "deftype" entry, and restarted the solr 
webapp, things began to function as I expected.

But whether or not it was simply the act of restarting - I'm not sure. (I had 
also found out that "AND " and "OR" should be written in uppercase, but this 
made no difference until after I had restarted).


Thanks for your time,
Peter



-----Original Message-----
From: Ahmet Arslan [mailto:iori...@yahoo.com] 
Sent: 15. maj 2012 13:25
To: solr-user@lucene.apache.org
Subject: RE: simple query help

> It doesn't make a difference. But now I'm thinking there's something 
> completely odd - and I wonder if it's necessary to use a special 
> search-handler to achieve what  I want.
> 
> For example, if I execute
> q=(skcode:2021051 AND flength:368.0)
> 
> I get no results. If I omit the parentheses, I get 1 result.
> (Let alone trying to combine several Boolean clauses).

Which query parser are you using?


Reply via email to