Bill,

You said you are actually getting only the "notes" part of your query, but you 
clearly get the "nature" part as well (it's just that it's not required):

+(+(title:note)~0.01 (title:natur)~0.01) ()

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: Bill Dueber <b...@dueber.com>
> To: solr-user@lucene.apache.org
> Sent: Monday, March 23, 2009 2:47:00 PM
> Subject: Dismax: why is "+term1 term2" equivalent to "+term1"??
> 
> I'm using the dismax handler and don't understand the results I'm getting.
> Scouring the archives makes me believe that I am, in fact, the only one who
> doesn't get this.
> 
> Using dismax search on a single field (title), I would expect that the query
> 
>   +notes nature
> 
> would be read as "Must include 'notes' in the title field; may also include
> 'nature' in the title field." What I actually get looks to be equivalent to
> just "+notes".
> 
> The parsed query looks like so:
> 
> 
>   +(+(title:note)~0.01 (title:natur)~0.01) ()
> 
> 
> I've futzed around with mm, to no avail. Which boat am I missing??? How do I
> get the functionality I'm shooting for?
> 
> Setup info:
> 
> 
> 0
> 2
> 
>   0<0% 
>   
>       id,title,score
>     
>   all
>   0.01
>   
>        title
>     
>   100
>   dismax
>   one
>   on
>   +notes nature
>   0
> 
> 

Reply via email to