Re: Searching in keyword field ?

2004-11-10 Thread Thierry Ferrero
Thanks Justin, it works fine - Original Message - From: "Justin Swanhart" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Tuesday, November 09, 2004 7:41 PM Subject: Re: Searching in keyword field ? > You can add the c

Re: Searching in keyword field ?

2004-11-09 Thread Justin Swanhart
You can add the category keyword multiple times to a document. Instead of seperating your categories with a delimiter, just add the keyword multiple times. doc.add(Field.Keyword("category", "ABC"); doc.add(Field.Keyword("category", "DEF GHI"); On Tue, 9 Nov 2004 17:18:19 +0100, Thierry Ferrero (

Searching in keyword field ?

2004-11-09 Thread Thierry Ferrero (Itldev.info)
Hi All, Can i search only one word in a keyword field which contains few words. I know keyword field isn't tokenized. After many tests, i think is impossible. Someone can confirm me ? Why don't i use a text field? because the users know the category from a list (ex: category ABC, category DEF GHI