You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Bráulio Bhavamitra <br...@gmail.com> on 2012/04/01 18:09:43 UTC

Re: 'foruns' don't match 'forum' with NGramFilterFactory (or EdgeNGramFilterFactory)

Using edismax defType made the thing work, could anybody explain why?

(any stemming is enabled now)

bráulio

2012/2/14 Bráulio Bhavamitra <br...@gmail.com>

> Hello all,
>
> I'm experimenting with NGramFilterFactory and EgdeNGramFilterFactory.
>
> Both of them shows a match in my solr admin analysis, but when I query
> 'foruns'
> doesn't find any 'forum'.
> analysis
> http://bhakta.casadomato.org:8982/solr/admin/analysis.jsp?nt=type&name=text&verbose=on&highlight=on&val=f%C3%B3runs&qverbose=on&qval=f%C3%B3runs
> search
> http://bhakta.casadomato.org:8982/solr/select/?q=foruns&version=2.2&start=0&rows=10&indent=on
>
> Anybody knows what's the problem?
>
> bráulio
>

Re: 'foruns' don't match 'forum' with NGramFilterFactory (or EdgeNGramFilterFactory)

Posted by Erick Erickson <er...@gmail.com>.
It's really hard to explain when there's not much background info. You
haven't provide much to analyze. You might review:

http://wiki.apache.org/solr/UsingMailingLists

Best
Erick

2012/4/1 Bráulio Bhavamitra <br...@gmail.com>:
> Using edismax defType made the thing work, could anybody explain why?
>
> (any stemming is enabled now)
>
> bráulio
>
> 2012/2/14 Bráulio Bhavamitra <br...@gmail.com>
>
>> Hello all,
>>
>> I'm experimenting with NGramFilterFactory and EgdeNGramFilterFactory.
>>
>> Both of them shows a match in my solr admin analysis, but when I query
>> 'foruns'
>> doesn't find any 'forum'.
>> analysis
>> http://bhakta.casadomato.org:8982/solr/admin/analysis.jsp?nt=type&name=text&verbose=on&highlight=on&val=f%C3%B3runs&qverbose=on&qval=f%C3%B3runs
>> search
>> http://bhakta.casadomato.org:8982/solr/select/?q=foruns&version=2.2&start=0&rows=10&indent=on
>>
>> Anybody knows what's the problem?
>>
>> bráulio
>>