Hello!

I've been using the standard query handler to do searches like

q=department_exact:"Foo>Bar>Baz>Qux"

Now, lets assume I have lots of records, with various department trees...
1. Foo>Bar>Baz>Qux
2. Foo>Bar>Baz>Put
3. Foo>Bar>Something With Spaces>Elese
4. Foo>Totaly>Different>Tree

I'd like to get all the products at various levels, and all the levels below.

I have a tokenzied department field, and a copyField department_exact.

I've been doing searches on the department_exact feild, thinking I could do this..

q=department_exact:"Foo>Bar*"

...to get all the results under and including the Bar level. This does not seem to be working. Could the * combined with the " be screwing something up? Do I even need those quotation marks to get around the spaces in some of the words?

The way I currently have it set up, I get results for all the "bottom level" trees. The problems come in when I need to get a mid-level department and show all the results under it.

Any ideas would be most appreciated.

+--------------------------------------------------------+
 | Matthew Runo
 | Zappos Development
 | [EMAIL PROTECTED]
 | 702-943-7833
+--------------------------------------------------------+


Reply via email to