Using multiple types for document tagging?

Hello,

I know one can do a query across multiple document types (_type stuff), but
can one assign multiple types to a single document? Think tagging
documents.
And if so, can one then use just 1 of those types or N of those types ORed
or ANDed?

Thanks,
Otis

ELASTICSEARCH Performance Monitoring - http://sematext.com/spm/index.html

--
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.

Why not use a dedicate field for that, like tag?

On Feb 27, 2013, at 7:07 PM, Otis Gospodnetic otis.gospodnetic@gmail.com wrote:

Hello,

I know one can do a query across multiple document types (_type stuff), but can one assign multiple types to a single document? Think tagging documents.
And if so, can one then use just 1 of those types or N of those types ORed or ANDed?

Thanks,
Otis

ELASTICSEARCH Performance Monitoring - http://sematext.com/spm/index.html

--
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.

Yup, decided on that after posting :slight_smile:

Otis

ELASTICSEARCH Performance Monitoring - http://sematext.com/spm/index.html

On Wednesday, February 27, 2013 2:18:07 PM UTC-5, kimchy wrote:

Why not use a dedicate field for that, like tag?

On Feb 27, 2013, at 7:07 PM, Otis Gospodnetic <otis.gos...@gmail.com<javascript:>>
wrote:

Hello,

I know one can do a query across multiple document types (_type stuff),
but can one assign multiple types to a single document? Think tagging
documents.
And if so, can one then use just 1 of those types or N of those types ORed
or ANDed?

Thanks,
Otis

ELASTICSEARCH Performance Monitoring - http://sematext.com/spm/index.html

--
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:>.
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.