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
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.