Re: List of values from refix query

2005-09-05 Thread Chris Hostetter
: How can I get all values across the documents with a given prefix? : For prefix = "var" for example I would like to have a list of all 5 values. : : For prefix = "var_no" for example I would like to have a list of the values : {"var_no1", "var_no2", "var_no3"}. if you just want the values, you

Re: List of values from refix query

2005-09-05 Thread Otis Gospodnetic
That looks correct. That's what PrefixQuery is for. If you use QueryParser and give if "var*", QP will convert that to PrefixQuery for you. Otis --- Axel <[EMAIL PROTECTED]> wrote: > Hi > > Assuming that in the indexing process I setup 3 different documents > doc1, doc2, doc3. > > with somet

List of values from refix query

2005-09-05 Thread Axel
Hi Assuming that in the indexing process I setup 3 different documents doc1, doc2, doc3. with something like: doc1.add(Field.Keyword("variable", "var_no1")); doc1.add(Field.Keyword("variable", "var_test1")); doc2.add(Field.Keyword("variable", "var_no2")); doc2.add(Field.Keyword("variable", "var_