On Thu, 26 Jun 2008 01:15:34 -0300
"Jonathan Ariel" <[EMAIL PROTECTED]> wrote:
> Ok. Played a bit more with that.
> So I had a difference between my unit test and solr. In solr I'm actually
> using a solr.RemoveDuplicatesTokenFilterFactory when querying. Tried to add
> that to the test, and it fails.
> So in my case I think the error is trying to use a
> solr.RemoveDuplicatesTokenFilterFactory with a solr.NGramTokenizerFactory. I
> don't know why using solr.RemoveDuplicatesTokenFilterFactory generates "do
> og dog" for "dog" when not using it will just generate "do og".
> Either way I think that when using ngram I shouldn't use
> RemoveDuplicatesTokenFilterFactory. Removing duplicates might change the
> structure of the word.
Hi Jonathan,
My apologies, i found the issue with removeDuplicates late last night and I
forgot to mention it.
The 5 tests i included in my other email don't use removeDuplicate for this
reason. I am still interested to know why one of them is failing, when
analysis.jsp + common_sense ;) say it should.
B
_________________________
{Beto|Norberto|Numard} Meijome
Q. How do you make God laugh?
A. Tell him your plans.
I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.