Hi Aditya, Thanks for your response. Yes, a category type would be needed.
One thing I am not clear about, If you have multi-values like "toshiba, tecra, LCD" it is then clear that you can run solr queries like: fq=mymultivaluefield:LCD but for associated fields like: "make=toshiba, model=tecra, screen=LCD" "make=toshiba, model=tecra, screen=TFT" Is there a way for Solr to understand key=value pairs from a multi-value field? For example you may want to do a filter on screen type: fq=mymultivaluefield:screen and not fq=mymultivaluefield:screen:LCD On Wed, May 12, 2010 at 8:20 AM, findbestopensource < findbestopensou...@gmail.com> wrote: > Hello Eric, > > Certainly it is possible. I would strongly advice to have field which > differentiates the record type (RECORD_TYPE:"CAR" / "PROPERTY"). > > >>In general I was also wondering how Solr developers implement websites > that > uses tag filters.For example, a user clicks on "Hard drives" then get tags > "External, > Internal" then clicks on "External" and gets "usb, firewire" etc. > By using faceting queries, You could acheive this. > > Regards > Aditya > www.findbestopensource.com > > > > > On Wed, May 12, 2010 at 12:29 PM, Eric Grobler <impalah...@googlemail.com > >wrote: > > > Hallo Solr community, > > > > We are considering Solr for searching on content from various partners > > with wildly different content. > > > > Is it possible or practical to work with multi-valued associated fields > > like > > this? > > "Make:Audi, Model:A4, Color:Blue, Year:1998, KM:200000, Extras:GPS" > > "Type:Flat, Rooms:2, Period:6 months" > > "Make:Toshiba, Model:Tecra, RAM:4GB, Extras:BlueRay;Lock" > > "Breed:Siamese, Age:9 weeks" > > > > and do: > > - searching on individual keys > > - range queries within multi-valued fields. > > - faceting > > > > I suppose an alternative would be to create unnamed fields like > > range1, range2, range3 with a descripter field like > > "Year,KM,EngineSize" for a car document and > > "Rooms" for a property document for example. > > > > In general I was also wondering how Solr developers implement websites > that > > uses tag filters. > > For example, a user clicks on "Hard drives" then get tags "External, > > Internal" then clicks on "External" and gets "usb, firewire" etc. > > > > Any suggestions and feedback would be greatly appreciated. > > > > Regards > > Eric > > >