Can you just add the SingleFilter to your field?
https://lucene.apache.org/solr/guide/6_6/filter-descriptions.html#FilterDescriptions-ShingleFilter

<analyzer>
  <tokenizer class="solr.StandardTokenizerFactory"/>
  <filter class="solr.ShingleFilterFactory"/></analyzer>



On Wed, May 2, 2018 at 2:04 PM, O. Klein <kl...@octoweb.nl> wrote:

> I need to use autocomplete with edismax (ngrams,edgegrams) to return
> shingled
> suggestions. Field value "new york city" needs to return on query "ne" ->
> "new","new york","new york city". With suggester this is easy. But im
> forced
> to use edismax because I need to apply mutliple filter queries.
>
> What is best approach to deal with this?
>
> Any suggestions are appreciated.
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>

Reply via email to