lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Lacchini">
Subject RE: About Query...
Date Mon, 17 Mar 2003 11:25:50 GMT
Yeah thx Michael, now it works fine :)

But in this case, does the second argument of method parse(String query,
String field, Analyser analyser) of the QueryParser matter ?

-----Original Message-----
From: Borkenhagen, Michael (ofd-ko zdfin)
Sent: lundi 17 mars 2003 12:01
To: 'Lucene Users List'
Subject: AW: About Query...

Your Syntax seems to be wrong; try
Author:Williams AND Title:Sword - Title:House
Author:Williams AND Title:Sword NOT Title:House


-----Ursprüngliche Nachricht-----
Von: Pierre Lacchini []
Gesendet: Montag, 17. März 2003 10:47
An: Lucene (E-mail)
Betreff: About Query...

Well guys, here's my (silly) question :

I got 2 Fields in my Index, for example Title and Author...

If i want to perform a complex query like : search "Williams" in fields
"Author" AND "Sword" in fields "Title" WITHOUT "House" in the fields
I tried this synthax : "Author:Williams AND Title:Sword -House" But it
doesnt'seem to work...
Is it possible ? Or mb i'm wrong with the synthax ???

Thx for help ;)

Pierre Lacchini
Consultant développement

12, rue du Cimetière
L-8413 Steinfort
Phone : + 352 399 968 35

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

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

View raw message