Solr does not support querying nested data structures. If at query time you know the product you want to check compatibility for, you can use dynamic fields.
Thus, if you want to find products compatible with productB, you could index: id: productA compatible_productB: 1, 5, 6 compatible_productZ: 45, 85, 96 Then you can search for: q=compatible_productB: 5 This will find you all documents that are compatible with productB version 5. Upayavira On Mon, Apr 8, 2013, at 03:04 PM, It-forum wrote: > Hello All, > > I'd like to be able to index documents containing criteria and values. > > In exemple I have a product A this product is compatible with a Product > B version 1, 5, 6. > > My actual schema is like this : > Name > Price > reference > features > text > > How can I index values like : > > compatible_engine : [productB,ProductZ] > version_compatible : [1,5,6],[45,85,96] > > After indexing how to search into ? > > Best regards > > Eric