On Jan 27, 2004, at 2:27 PM, Gabe wrote:
If I have a group of documents and I want to filter on
a category, it is fairly straightforward. I just
create a Field that contains the category and filter
on it.

However, what if I want the field "category" to have
multiple possible values? Is there a known best way to
filter on that?

I imagine it is possible to "hack" it by, say,
creating a field with value:
|category1|category2|category3| etc.

And then query "|category1|"

I was wondering if there was a better way.

Simply add multiple (probably Keyword) fields with the same name. Lucene supports this nicely.


Erik



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to