Re: Incorrect snippets using FastVectorHighlighter

2013-03-21 Thread Jochen Just
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 19.03.2013 02:49, schrieb Koji Sekiguchi: >> So just to be clear: There is no possibility to highlight >> results, if I use variable gram size. Neither the original >> highlighter nor FVH do the job. Or am I missing something? > > I don't know the

Re: Incorrect snippets using FastVectorHighlighter

2013-03-18 Thread Koji Sekiguchi
So just to be clear: There is no possibility to highlight results, if I use variable gram size. Neither the original highlighter nor FVH do the job. Or am I missing something? I don't know the latest original highlighter has such restriction or not today, but when FVH came in 2.9, at that time,

Re: Incorrect snippets using FastVectorHighlighter

2013-03-18 Thread Jochen Just
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So just to be clear: There is no possibility to highlight results, if I use variable gram size. Neither the original highlighter nor FVH do the job. Or am I missing something? Btw does any documentation exits how the VFH works? Jochen Am 18.03.2013 15

Re: Incorrect snippets using FastVectorHighlighter

2013-03-18 Thread Koji Sekiguchi
Hi Jochen, There is a restriction in FVH. FVH cannot deal with variable gram size. That is, minGramSize == maxGramSize in your NGramFilterFactory setting. koji -- http://soleami.com/blog/lucene-4-is-super-convenient-for-developing-nlp-tools.html (13/03/18 22:17), Jochen Just wrote: -BEGIN