Completion Suggester using Elastica Library

Recently, I was working on the basic example of completion Suggester using Elastica PHP Library. But Elastica doesn’t provide the support for context and completion suggester. The only way right now is to use RAW query with Elastica to achieve the result. I have written down the basic example below. You can add more parameters inside query variable.

 

Let me know, If you find it helpful.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">