: the queryparser first splits on whitespace.

FWIW: robert is refering to the LuceneQParser, and it also applies to the 
DismaxQParser ... whitespace is considered markup in those parsers unless 
it's escaped or quoted.

The FieldQParser may make more sense for your usecase - or you may need a 
custom QParser (hard to tell)

To answer your specific question...

: > the debug output, for example with the term "short red evil fox" I would
: > expect
: > to see the shingles
: > 'short_red' 'red_evil' 'evil_fox'
: >
: > but instead I get the following
: >
: > "debug":{
: >  "rawquerystring":"short red evil fox",
: >  "querystring":"short red evil fox",
: >  "parsedquery":"+() ()",
: >  "parsedquery_toString":"+() ()",
: >  "explain":{},
: >  "QParser":"DisMaxQParser",

...you are using the DisMaxQParser, but evidently you haven't configured 
the qf or pf fields, so you are getting a query that is completley empty.



-Hoss

Reply via email to