: Hrm.. can we see a more specific example of the type of data you are trying to
: query against here?
As i understand the question, this is a fairly classic hierarchical
organization of documents. Documents Foo>Bar>Baz and Foo>Bar>Bax are both
children of Document Foo>Bar ... Foo>Barber is th
Hrm.. can we see a more specific example of the type of data you are
trying to query against here?
Matt
Cam Bazz wrote:
well the ? would work if the length of each token be same.
however, instead of A>B>C I want tags that change dynamically from 1 to
unlimited length.
I just I could just pad
well the ? would work if the length of each token be same.
however, instead of A>B>C I want tags that change dynamically from 1 to
unlimited length.
I just I could just pad every token to a normalized length such as
...000A but i am hoping there is a better method.
if we could tell lucene
I assume you want all of your queries to function in this way?
If so, you could just translate the * character into a ? at search time,
which should give you the functionality you are asking for.
Unless I'm missing something.
Matt
Cam Bazz wrote:
Hello,
Imagine I have the following documen
Hello,
Imagine I have the following documents having keys
A
A>B
A>B>C
A>B>D
A>B>C>D
now Imagine a query with keyword analyzer and a wildcard: A>B>*
which will bring me A>B>C , A>B>D and A>B>C>D
but I just want to get A>B>C and A>B>D
so can I make a query like A>B>* but does not have the > cha