Ban_Mido
(Ban Mido)
August 28, 2013, 4:29pm
1
Hi ,
Is it possible to search giving the relative position of keywords.
Like , i want to search for "Indian health" . I want these terms to exactly
come next to each other , any other order is considered as false result.
Is this possible using elasticsearch ?
Thanks
Vineeth
--
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 .
Ivan
(Ivan Brusic)
August 28, 2013, 4:35pm
2
You can use any query that supports the slop parameter. The span queries
will give you more control over the exact positioning. A slop of zero means
exact phrase matching.
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
Cheers,
Ivan
On Wed, Aug 28, 2013 at 9:29 AM, Ban Mido banmidobeyondtime@gmail.com wrote:
Hi ,
Is it possible to search giving the relative position of keywords.
Like , i want to search for "Indian health" . I want these terms to
exactly come next to each other , any other order is considered as false
result.
Is this possible using elasticsearch ?
Thanks
Vineeth
--
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 .
Its called a phrase query.
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
On Wed, Aug 28, 2013 at 9:29 AM, Ban Mido banmidobeyondtime@gmail.com wrote:
Hi ,
Is it possible to search giving the relative position of keywords.
Like , i want to search for "Indian health" . I want these terms to
exactly come next to each other , any other order is considered as false
result.
Is this possible using elasticsearch ?
Thanks
Vineeth
--
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 .
Ban_Mido
(Ban Mido)
August 28, 2013, 4:38pm
4
Thanks all.
That really helped
On Wed, Aug 28, 2013 at 10:06 PM, Randall McRee randall.mcree@gmail.com wrote:
Its called a phrase query.
Elasticsearch Platform — Find real-time answers at scale | Elastic
On Wed, Aug 28, 2013 at 9:29 AM, Ban Mido banmidobeyondtime@gmail.com wrote:
Hi ,
Is it possible to search giving the relative position of keywords.
Like , i want to search for "Indian health" . I want these terms to
exactly come next to each other , any other order is considered as false
result.
Is this possible using elasticsearch ?
Thanks
Vineeth
--
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 .
--
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 .
Ban_Mido
(Ban Mido)
August 28, 2013, 4:43pm
5
One more question.
Is it possible to tell the relative position between the tokens.
Like
Is (TOKEN)[0-3] going home
Here "home" should be immediately followed by going but there can be
maximum of 3 tokens between is and going.
On Wed, Aug 28, 2013 at 10:08 PM, Ban Mido banmidobeyondtime@gmail.com wrote:
Thanks all.
That really helped
On Wed, Aug 28, 2013 at 10:06 PM, Randall McRee randall.mcree@gmail.com wrote:
Its called a phrase query.
Elasticsearch Platform — Find real-time answers at scale | Elastic
On Wed, Aug 28, 2013 at 9:29 AM, Ban Mido banmidobeyondtime@gmail.com wrote:
Hi ,
Is it possible to search giving the relative position of keywords.
Like , i want to search for "Indian health" . I want these terms to
exactly come next to each other , any other order is considered as false
result.
Is this possible using elasticsearch ?
Thanks
Vineeth
--
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 .
--
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 .
Well, that is what "slop" is in that documentation you were pointed to.
Note that "is" can be a stopword, By definition, stopwords are not in the
index. So be careful that you understand how your analyzer is actually
indexing what you are giving it.
Spend some time understanding the query explanation that (optionally) comes
back from each hit.
On Wed, Aug 28, 2013 at 9:43 AM, Ban Mido banmidobeyondtime@gmail.com wrote:
One more question.
Is it possible to tell the relative position between the tokens.
Like
Is (TOKEN)[0-3] going home
Here "home" should be immediately followed by going but there can be
maximum of 3 tokens between is and going.
On Wed, Aug 28, 2013 at 10:08 PM, Ban Mido banmidobeyondtime@gmail.com wrote:
Thanks all.
That really helped
On Wed, Aug 28, 2013 at 10:06 PM, Randall McRee randall.mcree@gmail.com wrote:
Its called a phrase query.
Elasticsearch Platform — Find real-time answers at scale | Elastic
On Wed, Aug 28, 2013 at 9:29 AM, Ban Mido banmidobeyondtime@gmail.com wrote:
Hi ,
Is it possible to search giving the relative position of keywords.
Like , i want to search for "Indian health" . I want these terms to
exactly come next to each other , any other order is considered as false
result.
Is this possible using elasticsearch ?
Thanks
Vineeth
--
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 .
--
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 .