Hi Jamie, Since phrase query terms aren't analyzed, you're getting exact matches for terms "было" and "время", but when you search for them individually, they are analyzed, and it is the analyzed query terms that fail to match against the indexed terms. Sounds to me like your index-time and query-time analyzers are not the same. Maybe you have a stemming filter for query-time, but not for index-time?
Steve On 02/04/2010 at 2:39 AM, Jamie 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