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 xoku <xo...@anlab.info> on 2014/10/01 12:18:48 UTC
Re: AW: AW: auto completion search with solr using NGrams in SOLR
help me!
i can't find all result.
str name="spellcheck.count">200</str>
Ex:
i find: file
result expected: file name documentabcxyz
but solr return result (suggest: result term object) :
-----
[suggestions:protected] => Array
(
[0] => file
[1] => file (whitespace)
[2] => file n
[3] => file nam
[4] =>file name
[5] => file name (whitespace)
[6] => file name do
[7] => file name doc
[8] => file name docu (always is 14 character)
)
-------
when result is 14 character, it stop and show result is file name docu.
--
View this message in context: http://lucene.472066.n3.nabble.com/auto-completion-search-with-solr-using-NGrams-in-SOLR-tp3998559p4162063.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: AW: AW: auto completion search with solr using NGrams in SOLR
Posted by Erick Erickson <er...@gmail.com>.
Perhaps your ngram filter is set to terminate at 14 (maxGram)?
Best,
Erick
On Wed, Oct 1, 2014 at 3:18 AM, xoku <xo...@anlab.info> wrote:
> help me!
> i can't find all result.
> str name="spellcheck.count">200</str>
> Ex:
> i find: file
> result expected: file name documentabcxyz
> but solr return result (suggest: result term object) :
> -----
>
> [suggestions:protected] => Array
> (
> [0] => file
> [1] => file (whitespace)
> [2] => file n
> [3] => file nam
> [4] =>file name
> [5] => file name (whitespace)
> [6] => file name do
> [7] => file name doc
> [8] => file name docu (always is 14 character)
>
> )
> -------
> when result is 14 character, it stop and show result is file name docu.
>
>
>
>
>
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/auto-completion-search-with-solr-using-NGrams-in-SOLR-tp3998559p4162063.html
> Sent from the Solr - User mailing list archive at Nabble.com.