Hi Kristjan, which Tokenizer and Filters are you using for the ID field?
Rene Am 14.04.2010 21:15, schrieb Kristjan Siimson:
Hello, I have document for which I'd like to index an array of indexes. For example, there is a product that belongs to categories with IDs 12, 15, 16, 145, 148. I'd like to index these categories, and then be able to use them in queries, so that I can search for product which's name is "Bottle" and which belongs to category 12. I came up with creating a field in which I store the ID numbers and separate them with spaces. However, when I tried to create a term query, the query never gave any results. Can anybody help me with this? Sincerely, Kristjan Siimson
--------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org