Re: Using FastVectorHighlighter for snippets

2010-09-23 Thread Devshree Sane
One more observation. The length of the snippet returned is not equal to the fragment length specified. Does anyone know the reason why? On Wed, Sep 22, 2010 at 3:05 PM, Devshree Sane wrote: > Thanks for your reply Koji. > > On Wed, Sep 22, 2010 at 4:51 AM, Koji Sekiguchi wrote: > &

Re: Using FastVectorHighlighter for snippets

2010-09-22 Thread Devshree Sane
Thanks for your reply Koji. On Wed, Sep 22, 2010 at 4:51 AM, Koji Sekiguchi wrote: > (10/09/22 3:24), Devshree Sane wrote: > >> I am a bit confused about the parameters that are passed to the >> FastVectorHighlighter.getBestFragments() method. One parameter is a >> do

Using FastVectorHighlighter for snippets

2010-09-21 Thread Devshree Sane
I am using the FastVectorHighlighter for retrieving snippets from the index. I am a bit confused about the parameters that are passed to the FastVectorHighlighter.getBestFragments() method. One parameter is a document id and another is the maximum number of fragments. Does it mean that only the m

Interaction of Tokenattributes and Tokenizer

2010-08-14 Thread Devshree Sane
Hi, Can anyone explain to me how exactly the Tokenizers and tokenattributes interact with each other? Or perhaps point me to a link which has a the interaction/sequence diagram for the same? I want to extend the Token class to allow use of some more types of Token Attributes. Thanks -Devshree.