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 devshree.s...@gmail.comwrote: Thanks for your reply Koji. On Wed, Sep 22, 2010 at 4:51 AM, Koji Sekiguchi k

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 k...@r.email.ne.jp 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 document id

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.