where tags is a nested document within a product. Each product is a unique
item, but different merchants can sell the same product (called tags) so
the price is different and hence the popularity is also different.
Here are my questions
I would like to filter the products by tag_category. I read that nested
filter can do this for me. In addition to returning all the products with a
particular tag_category, can it also return only the tags with the
specified tag_category within a product ?
Is there a way to sort the tags (nested documents) by tag price ? with
or without the tag_category constraints
In my index each product can have an average of 100 tags and i have 10m
products and 1bn tags in total. Would you recommend nested document
approach or parent-child approach. From what i have read till now I felt
nested document is better.
I understand that sorting is supported within a nested field.
In case of nested_filter i would like to filter out the nested documents
that doesnt match the query. I read in the forum that that feature is in
development.
Please correct me if i am wrong.
Thanks
Srini
On Tuesday, April 15, 2014 12:06:30 PM UTC-7, Srinivasan Ramaswamy wrote:
where tags is a nested document within a product. Each product is a unique
item, but different merchants can sell the same product (called tags) so
the price is different and hence the popularity is also different.
Here are my questions
I would like to filter the products by tag_category. I read that nested
filter can do this for me. In addition to returning all the products with a
particular tag_category, can it also return only the tags with the
specified tag_category within a product ?
Is there a way to sort the tags (nested documents) by tag price ? with
or without the tag_category constraints
In my index each product can have an average of 100 tags and i have
10m products and 1bn tags in total. Would you recommend nested document
approach or parent-child approach. From what i have read till now I felt
nested document is better.
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.