There is no pseudo field for all search terms. 2 common practices are to use MultiFieldQueryParser or to add a catch-all field. I tend to do the latter.
At a glance I'd agree that the second query should also return 48 hits. Maybe a small self-contained test case or standalone program would be easier to debug. -- Ian. On Thu, Feb 4, 2010 at 7:39 AM, Jamie <ja...@stimulussoft.com> wrote: > Hi > > I have some unexpected query results. > > When attempting two queries: > > 1) All fields, exact phrase query returns 48 hits > > (priority:"было время" attach:"было время" score:"было время" size:"было > время" sentdate:"было время" archivedate:"было время" receiveddate:"было > время" from:"было время" to:"было время" subject:"было время" cc:"было > время" bcc:"было время" deliveredto:"было время" flag:"было время" > sensitivity:"было время" sender:"было время" recipient:"было время" > body:"было время" attachments:"было время" attachname:"было время" > memberof:"было время") > > 2) All fields, All words query return 0 hits > > ((priority:было attach:было score:было size:было sentdate:было > archivedate:было receiveddate:было from:было to:было subject:было cc:было > bcc:было deliveredto:было flag:было sensitivity:было sender:было > recipient:было body:было attachments:было attachname:было memberof:было ) > AND (priority:время attach:время score:время size:время sentdate:время > archivedate:время receiveddate:время from:время to:время subject:время > cc:время bcc:время deliveredto:время flag:время sensitivity:время > sender:время recipient:время body:время attachments:время attachname:время > memberof:время )) > > I am not sure why query 2 returns 0 hits. In my mind it should return 48 > hits as in query (1). > > I am using Lucene 3.0. Is there a pseudo field for all search terms? > > Thanks > > Jamie > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >