Thanks a lot Shawn. There is any way to reduce time to retrieve suggestions
fast.

On Tue, Jan 20, 2015 at 9:33 PM, Shawn Heisey <apa...@elyograg.org> wrote:

> On 1/20/2015 7:18 AM, Nitin Solanki wrote:
> > Thanks and sorry for Stackoverflow. You are saying that use "string"
> > type. But I have used filter = solr.ShingleFilterFactory to break a
> > string into ngrams.
> > I want to build query correction just like google is doing - "Did you
> > mean".
>
> Shalin is saying that you can't use a tokenized fieldType for the
> *uniqueKey*.  For most other Solr features, it is acceptable (and
> extremely commonplace) to use fully tokenized and even multi-value
> fields, but you must use a single-value simple field type for uniqueKey,
> to avoid ANY possibility of duplicate uniqueKey field values resulting
> from multiple inputs.  If you use TextField for a uniqueKey, you're
> likely to have problems.  Only StrField or one of the numeric types
> should be used for that field.
>
> Thanks,
> Shawn
>
>

Reply via email to