Sorry for the vague title. If I knew what to call what I was looking for,
I'd have a much easier time finding it!
Anyways, I often see sites using filters right in the query box. For
instance, on Github, you can see open issues by typing is:open: is:issue {search term}
On Thursday, April 30, 2015 at 7:22:11 PM UTC-4, Peter Sorensen wrote:
Sorry for the vague title. If I knew what to call what I was looking for,
I'd have a much easier time finding it!
Anyways, I often see sites using filters right in the query box. For
instance, on Github, you can see open issues by typing is:open: is:issue {search term}
Although the syntax is straight Lucene (query string query), I suspect that
Github and other sites parse the query term to create a format similar to
the one John mentioned.
Sorry for the vague title. If I knew what to call what I was looking for,
I'd have a much easier time finding it!
Anyways, I often see sites using filters right in the query box. For
instance, on Github, you can see open issues by typing is:open: is:issue {search term}
Thanks John & Ivan for your insight. Very helpful. Just to see if I'm
getting this:
In order to have a search where my users can type "title: {query term}" to
limit the search only to titles, I need to program my application to parse
the query string and then add the additional filters to the ES request. Do
I have this right?
Depending on your application, it might be easier to have the filters as a
dropdown. Similar how sites like Amazon allow you to choose which
department to search within. Otherwise you'll have to rely on your users to
type in the correct syntax - which might be what you want to allow more
flexibility.
On Friday, May 1, 2015 at 11:26:38 AM UTC-4, Peter Sorensen wrote:
Thanks John & Ivan for your insight. Very helpful. Just to see if I'm
getting this:
In order to have a search where my users can type "title: {query term}" to
limit the search only to titles, I need to program my application to parse
the query string and then add the additional filters to the ES request. Do
I have this right?
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.