Matchs on whole title

Hello,

How to only match documents which whole the title is included in the query,
for example :

If the list of document titles is : "Elasticsearch server", "Elasticsearch
experts"
If the query is : "Configure Elasticsearch Server" only the first one
should match
If the query is : "Elasticsearch" No documents should match

Thanks for any help.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e88fabfe-9ccf-4630-bffb-aee43a86de04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I think this should help you: http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/phrase-matching.html#phrase-matching

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 13 août 2014 à 10:24:23, Thami Inaflas (inaflas.thami@gmail.com) a écrit:

Hello,

How to only match documents which whole the title is included in the query, for example :

If the list of document titles is : "Elasticsearch server", "Elasticsearch experts"
If the query is : "Configure Elasticsearch Server" only the first one should match
If the query is : "Elasticsearch" No documents should match

Thanks for any help.

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e88fabfe-9ccf-4630-bffb-aee43a86de04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.53eb231b.6ceaf087.18f0%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.

The problem with "phrase-matching" is that the request "Configure
Elasticsearch Server" won't match the document "Elasticsearch Server",
because it's based on "AND" operator but the word "Configure" isn't in the
title.

Le mercredi 13 août 2014 10:34:53 UTC+2, David Pilato a écrit :

I think this should help you:
Elasticsearch Platform — Find real-time answers at scale | Elastic

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr

Le 13 août 2014 à 10:24:23, Thami Inaflas (inafla...@gmail.com
<javascript:>) a écrit:

Hello,

How to only match documents which whole the title is included in the
query, for example :

If the list of document titles is : "Elasticsearch server", "Elasticsearch
experts"
If the query is : "Configure Elasticsearch Server" only the first one
should match
If the query is : "Elasticsearch" No documents should match

Thanks for any help.

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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/e88fabfe-9ccf-4630-bffb-aee43a86de04%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/e88fabfe-9ccf-4630-bffb-aee43a86de04%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9a30aae4-c54a-4e3c-84f9-8c735997850d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Did you read the full chapter?

May be the other pages in the same chapter give you more info?
http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/slop.html#slop
http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/proximity-relevance.html

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 13 août 2014 à 10:46:31, Thami Inaflas (inaflas.thami@gmail.com) a écrit:

The problem with "phrase-matching" is that the request "Configure Elasticsearch Server" won't match the document "Elasticsearch Server", because it's based on "AND" operator but the word "Configure" isn't in the title.

Le mercredi 13 août 2014 10:34:53 UTC+2, David Pilato a écrit :
I think this should help you: http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/phrase-matching.html#phrase-matching

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 13 août 2014 à 10:24:23, Thami Inaflas (inafla...@gmail.com) a écrit:

Hello,

How to only match documents which whole the title is included in the query, for example :

If the list of document titles is : "Elasticsearch server", "Elasticsearch experts"
If the query is : "Configure Elasticsearch Server" only the first one should match
If the query is : "Elasticsearch" No documents should match

Thanks for any help.

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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e88fabfe-9ccf-4630-bffb-aee43a86de04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9a30aae4-c54a-4e3c-84f9-8c735997850d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.53eb2933.3006c83e.18f0%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.