Is it possible to make phrase suggester not return non-existent suggestions?

Hi,

I am experimenting with the phrase suggester and I can't figure out a way
to make it not return word combinations that are not in the index?
Using a shingled field for the suggester is not an option for the moment so
it has to operate on the actual non shingled field

Also, is there any way suggestions could be restricted to a certain filter?
I do not really want to return suggestions that will not pass my query's
extra filter as using them will return no data

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.

On Thu, Oct 31, 2013 at 8:41 PM, AlexR roytmana@gmail.com wrote:

Hi,

I am experimenting with the phrase suggester and I can't figure out a way
to make it not return word combinations that are not in the index?
Using a shingled field for the suggester is not an option for the moment
so it has to operate on the actual non shingled field

I don't believe it'll do you much good (beyond term suggester) without a
shingled field.

Also, is there any way suggestions could be restricted to a certain
filter? I do not really want to return suggestions that will not pass my
query's extra filter as using them will return no data

This is still open:

I took a crack at implementing it a few months ago but the solution had a
number of problem so I didn't even send a pull request for it. I'll open
the pull request with the note that the solution isn't correct so maybe
that'll spur some more conversation.

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.

--
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.