You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Pierre Lacchini <pl...@peopleware.lu> on 2003/03/17 10:46:50 UTC

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
"Title"....
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

PeopleWare
12, rue du Cimetière
L-8413 Steinfort
Phone : + 352 399 968 35
http://www.peopleware.lu