Re: PhraseQuery with synonyms or having n tokens at the same tokenposition.

2006-03-27 Thread Daniel Naber
On Montag 27 März 2006 11:17, Ramana Jelda wrote: > I have indexed name: "sony dsc-d cybershot" as following tokens provided > token positions. > 1: [sony:0->4] > > 2: [dsc:5->10] > > 3: [dscd:5->10] > > 4: [d:5->10] > > 5: [cybershot:11->20] If the first number is the token position, the tokens

PhraseQuery with synonyms or having n tokens at the same tokenposition.

2006-03-27 Thread Ramana Jelda
Hi, PhraseQuery is not working as I wanted,when indexed with synonyms. ex: I have indexed name: "sony dsc-d cybershot" as following tokens provided token positions. 1: [sony:0->4] 2: [dsc:5->10] 3: [dscd:5->10] 4: [d:5->10] 5: [cybershot:11->20] So "dsc-d" is tokenized into 3 tokens "dsc