Is it possible to restrict phrase suggester to returning existing "phrases" only?


(Alex Roytman) #1

Hello,

I have been evaluating phrase suggester and I have couple of questions:

  1. When executing a query, is it possible to restrict phrase suggester to
    returning word combinations (order does not matter) that only exist in the
    index?

  2. When executing a query, is it possible to restrict suggestions to those
    matching a filter. I do not want to show suggestions which when used as
    part of the original query will return nothing. So ideally I would like to
    supply suggester with the same filter as the query uses (minus actual
    search text)

Thank you,
Alex

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Alex Roytman) #2

Bump :slight_smile:

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3