For the suggester, the field must be indexed. It's not necessary to have it stored.
Best, Michael Am 22.12.2016 um 11:24 schrieb Furkan KAMACI: > Hi Emir, > > As far as I know, it should be enough to be stored=true for a suggestion > field? Should it be both indexed and stored? > > Kind Regards, > Furkan KAMACI > > On Thu, Dec 22, 2016 at 11:31 AM, Emir Arnautovic < > emir.arnauto...@sematext.com> wrote: > >> That is because my_field_2 is not indexed. >> >> Regards, >> Emir >> >> >> On 21.12.2016 18:04, Furkan KAMACI wrote: >> >>> Hi All, >>> >>> I've a field like that: >>> >>> <field name="my_field_1" type="string" indexed="true" stored="true" >>> multiValued="false" /> >>> >>> <field name="my_field_2" type="text_general" indexed="false" >>> stored="true" multiValued="false"/> >>> >>> When I run a suggester on my_field_1 it returns response. However >>> my_field_2 doesn't. I've defined suggester as: >>> >>> <str name="name">suggester</str> >>> <str name="lookupImpl">FuzzyLookupFactory</str> >>> <str name="dictionaryImpl">DocumentDictionaryFactory</str> >>> >>> What can be the reason? >>> >>> Kind Regards, >>> Furkan KAMACI >>> >>> >> -- >> Monitoring * Alerting * Anomaly Detection * Centralized Log Management >> Solr & Elasticsearch Support * http://sematext.com/ >> >>