Re: Complex relational values

2010-03-29 Thread Lance Norskog
If 'item' is the unique document level, then this can be done with: unique id: your own design searchable text fields: foo_x: foo_y: bar_x: bar_y: The query becomes: foo_x:[100 TO *] AND foo_y:[500 TO *] Note that to search the other fields with dismax, and foo* with the standard query parser

Re: Complex relational values

2010-03-26 Thread Kumaravel Kandasami
I would represent each "item" element as a document, and each attribute as the fields of the document. if the field names are not known upfront, you could create 'dynamic fields'. Kumar_/|\_ www.saisk.com ku...@saisk.com "making a profound difference with knowledge and creativity..." On