lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: BooleanQuery Example
Date Tue, 03 Jun 2008 09:23:05 GMT
Hi all,
Sorry for bothering again,

I am referring Lucene Documentation at 
that suggests 
>> If you are programmatically generating a query string and then
parsing it with the query parser then you >>should seriously consider
building your queries directly with the query API. In other words, the
query parser >>is designed for human-entered text, not for
program-generated text.

Is there any sample implementation of Lucene Implementation of
BooleanQuery using API instead of QueryParser?

Aamir Yaseen

-----Original Message-----
Sent: 02 June 2008 04:33 PM
Subject: BooleanQuery Example


I am new to Lucene, so asking some basic question.

Is there any example/reference implementation available of Lucene Usage
using BooleanQuery using API instead of QueryParser?





Aamir Yaseen 


This e-mail is confidential and should not be used by anyone who is not
the original intended recipient. Global DataPoint Limited does not
accept liability for any statements made which are clearly the sender's
own and not expressly made on behalf of Global DataPoint Limited. No
contracts may be concluded on behalf of Global DataPoint Limited by
means of e-mail communication. Global DataPoint Limited Registered in
England and Wales with registered number 3739752 Registered Office
Middlesex House, 34-42 Cleveland Street, London W1T 4LB

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message