lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David '-1' Schmid <>
Subject Re: Suggest Component, prefix match (sur-)name
Date Mon, 18 Feb 2019 17:12:44 GMT
Hello again!

After playing around with more simple solutions, I gather the suggester
cannot do this.
I've found a resource (namely 'Solr in Action'), they use a
combination of

- two copyFields:
  - solr.TextField with simple whitespace tokenizer (field:'words')
  - as above, but with added EdgeNGramFilter (field:'ngrams')
- a solr.SearchHandler with
  - defType="edismax" query parser
  - fl="author"
  - qf="words^10 ngrams" to boost complete matches over ngram matches

It looks promising, reindexing will take some time.
I'll look into it in ~16h or so, as this will run over night.

Will report back if that's working out.


View raw message