You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Mike <mz...@gmail.com> on 2022/08/10 23:48:34 UTC

Suggester 404 error

 Hi!

I get a 404 error when I try to call suggester. I configured it as
described in the doc and restarted Solr:

I use a nutch index, attached is a link to the schema.xml file:
https://paste.debian.net/1249966/

Thanks

Mike

Re: Suggester 404 error

Posted by Mike <mz...@gmail.com>.
Sorry, forgot the configuration:

<searchComponent name="suggest" class="solr.SuggestComponent">
  <lst name="suggester">
    <str name="name">mySuggester</str>
    <str name="lookupImpl">FuzzyLookupFactory</str>
    <str name="dictionaryImpl">DocumentDictionaryFactory</str>
    <str name="field">_text_</str>
    <str name="weightField"></str>
    <str name="suggestAnalyzerFieldType">string</str>
    <str name="buildOnStartup">false</str>
  </lst>
</searchComponent>

<requestHandler name="/suggest" class="solr.SearchHandler" startup="lazy">
  <lst name="defaults">
    <str name="suggest">true</str>
    <str name="suggest.count">10</str>
  </lst>
  <arr name="components">
    <str>suggest</str>
  </arr>
</requestHandler>

Am Do., 11. Aug. 2022 um 01:48 Uhr schrieb Mike <mz...@gmail.com>:

> Hi!
>
> I get a 404 error when I try to call suggester. I configured it as
> described in the doc and restarted Solr:
>
> I use a nutch index, attached is a link to the schema.xml file:
> https://paste.debian.net/1249966/
>
> Thanks
>
> Mike
>