Re: Highlighting not working on a prefix_token field

2009-09-23 Thread Avlesh Singh
> > I'm sorry I don't understand the question. Do you mean to say that > highlighting works with one but not with another? > Yes. Cheers Avlesh On Wed, Sep 23, 2009 at 12:59 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Wed, Sep 23, 2009 at 12:31 PM, Avlesh Singh wrote: > > >

Re: Highlighting not working on a prefix_token field

2009-09-23 Thread Shalin Shekhar Mangar
On Wed, Sep 23, 2009 at 12:31 PM, Avlesh Singh wrote: > Hmmm .. But ngrams with KeywordTokenizerFactory instead of the > WhitespaceTokenizerFactory work just as fine. Related issues? > > I'm sorry I don't understand the question. Do you mean to say that highlighting works with one but not with an

Re: Highlighting not working on a prefix_token field

2009-09-23 Thread Avlesh Singh
Hmmm .. But ngrams with KeywordTokenizerFactory instead of the WhitespaceTokenizerFactory work just as fine. Related issues? Cheers Avlesh On Wed, Sep 23, 2009 at 12:27 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Wed, Sep 23, 2009 at 12:23 PM, Avlesh Singh wrote: > > > I hav

Re: Highlighting not working on a prefix_token field

2009-09-22 Thread Shalin Shekhar Mangar
On Wed, Sep 23, 2009 at 12:23 PM, Avlesh Singh wrote: > I have a "prefix_token" field defined as underneath in my schema.xml > > positionIncrementGap="1"> > > > > maxGramSize="20"/> > > > > > > > > Searches on the field work fine and as ex

Highlighting not working on a prefix_token field

2009-09-22 Thread Avlesh Singh
I have a "prefix_token" field defined as underneath in my schema.xml Searches on the field work fine and as expected. However, attempts to highlight on this field does not yield any results. Highlighting on other fields work fine.