sorry for my poor english...

Well if i perform a Multiple Fields query... Why do I have to specify the
name of the field in the parse method ?
Because i'm using 2 field in the query...



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


Yes for sure,
Maybe I don�t understand your question ?

-----Urspr�ngliche Nachricht-----
Von: Pierre Lacchini [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. M�rz 2003 12:26
An: 'Lucene Users List'
Betreff: RE: About Query...


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)
[mailto:[EMAIL PROTECTED]
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
or
Author:Williams AND Title:Sword NOT Title:House

Michael

-----Urspr�ngliche Nachricht-----
Von: Pierre Lacchini [mailto:[EMAIL PROTECTED]
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
"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




---------------------------------------------------------------------
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]


---------------------------------------------------------------------
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]

Reply via email to