Ok thanks a lot. Before I use TermQuery for the filed doccotent now I use Query object with QueryParser.parse and it's work perfectly.
-----Original Message----- From: Gustavo Comba [mailto:[EMAIL PROTECTED] Sent: 21 June 2006 16:00 To: java-user@lucene.apache.org Subject: RE: BooleanQuery Hello, I don't know how are you parsing your query, but may be the query you are looking for is something like: +(doccontent:avian doccontent:influenza) +doctype:AM +docdate:[20050331220000000 TO 20060620220000000] Regards, Gustavo -----Mensaje original----- De: WATHELET Thomas [mailto:[EMAIL PROTECTED] Enviado el: miƩrcoles, 21 de junio de 2006 15:40 Para: java-user@lucene.apache.org Asunto: BooleanQuery Why I retrive hits with this query : +doccontent:avian +doctype:AM +docdate:[20050331220000000 TO 20060620220000000] and not with this one +doccontent:avian influenza +doctype:AM +docdate:[20050331220000000 TO 20060620220000000] ???? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]