lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "WATHELET Thomas" <thomas.wathe...@europarl.europa.eu>
Subject RE: BooleanQuery
Date Wed, 21 Jun 2006 14:02:46 GMT
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:gcomba@emagister.com] 
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:thomas.wathelet@europarl.europa.eu] 
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message