Yes, faceting will work, you can use an old approach used for
autocompletion[1] .
Be sure you add the shingle filter to the appropriate index time analysis
for the field you want.
Facet values are extracted from the indexed terms, so calculating faceting
and filtering by prefix should do the
Yes, splitting in more documents would probably work.
Don't think I can do this easliy with Solr.
Looking into using facets now.
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
So, your problem is you want to return shingle suggestions from a field in
input but apply multiple filter queries to the documents you want to fetch
suggestions from.
Are you building an auxiliary index for that ?
You need to design it accordingly.
If you want to to map each suggestion to a
Can you just add the SingleFilter to your field?
https://lucene.apache.org/solr/guide/6_6/filter-descriptions.html#FilterDescriptions-ShingleFilter
On Wed, May 2, 2018 at 2:04 PM, O. Klein wrote:
> I need to use autocomplete with edismax (ngrams,edgegrams) to return
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