I didn't know the quotes would work.  I thought it had to be escaped and
I wasn't too fond of that because you have to unescape in the analysis
phase.  Using quotes doesn't seem so bad to me.

-----Original Message-----
From: Chris Hostetter [mailto:hossman_luc...@fucit.org] 
Sent: Monday, March 29, 2010 11:16 AM
To: solr-user@lucene.apache.org
Subject: RE: keyword query tokenizer


: Ahh, but that is exactly what I don't want the DisjunctionMaxQuery to
: do.  I do not max scoring field per "word".  Instead, I want it per
: "phrase" which may be a single word or multiple words.

then you need to quote your enitre "q" param. (or escape all the white 
space and meta characters)

: You may think "but i'm using dismax, why does dismax need to worry
about
: 
: that?" but the key to remember there is that if dismax didn't split on

: whitespace prior to analysis, it wouldn't be able to build the 
: DisjunctionMaxQuery's that it uses to find the max scoring field per 
: "word" (which is the whole point of hte parser).


-Hoss

Reply via email to