Hi, The dreaded parent-child without denormalization question. What are one's options for the following example:
parent: shoes 3 children. each with 2 attributes/fields: color and size * color: red black orange * size: 10 11 12 The goal is to be able to search for: 1) color:red AND size:10 and get 1 hit for the above 2) color:red AND size:12 and get *no* matches because there are no red shoes of size 12, only size 10. What's the best thing to do without denormalizing? * Are Poly fields designed for this? * Should one use JSONKeyValueTokenizerFactory from SOLR-1690 as suggested by Ryan in http://search-lucene.com/m/I8VaDeusnJ1 ? * Should one use SIREn as suggested by Renaud in http://search-lucene.com/m/qoQWMVk3w91 ? * Should one use SpanMaskingQuery and SpanNearQuery as suggested by Hoss in http://search-lucene.com/m/AEvbbeusnJ1 ? * Should one use JOIN from https://issues.apache.org/jira/browse/SOLR-2272 ? * Should one use Nested Document query support from LUCENE-2454 (not in trunk, not in Solr) ? Thanks, Otis ---- Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/