On Tue, Nov 16, 2010 at 1:16 AM, sivaprasad <sivaprasa...@echidnainc.com> wrote: > Query1:hdtv > > <str name="parsedquery">MultiPhraseQuery(searchtext:"high definit (televis > tv tvs)")</str> > > and the number of results returned is ZERO. > > Query2:High Definition Television > > The parsed query is given below. > <str name="parsedquery">+searchtext:high +searchtext:definit > +(searchtext:televis searchtext:tv searchtext:tvs)</str> > > And the number of resullts is 1. >
Please see http://mail-archives.apache.org/mod_mbox/lucene-dev/201011.mbox/%3caanlktimatgvplph_mgfbsughdoedc8tc2brrwxhid...@mail.gmail.com%3e which explains the problem, which is "autophrase" generation by the queryparser. you will need to either use the workaround, or upgrade to an unreleased version and manually turn off this *very bad* default.