"open_source" is just an example value in the tags array.

The example has two documents, both with just a single field called tags.
The first one has one value "search" and the second one has two values
(both in the same field, therefore it is an array) "search" and
"open_source"

Document 1
{ "tags" : ["search"] }

Document 2
{ "tags" : ["search", "open_source"] }

Multiple values in the same field can be thought of as an array, but Lucene
underneath considers them to be two terms in the inverted index, both
pointing at the same document.

Cheers,

Ivan


On Sun, Jun 29, 2014 at 10:17 AM, rayman <[email protected]> wrote:

> Hi,
> I am reading ES documentation.
>
> Trying to understand the finding_multiple_exact_values at:
> http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_finding_multiple_exact_values.html
>
>
> I didnt understand what "open_source" stands for at:
>
> { "tags" : ["search"] }
>
> { "tags" : ["search", "open_source"] }
> <http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_finding_multiple_exact_values.html#CO44-1>
>
>
>
>  I understand that's a token type or?? maybe I am missing something basic
> for my understanding. Anyone could fill that gap for me?
>
> Thanks,
> ray.
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/69b09c6b-7e97-4e6e-a726-4519bf2f4d98%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/69b09c6b-7e97-4e6e-a726-4519bf2f4d98%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQBBxSGrHF_5Jdk0dPt77QdhjztPjg-LJmUzajVySUu1fQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to