Hi Ryan, Thought I'd let you know - I contributed a patch to SOLR issue 680 which extends StatsComponent to multivalued fields. Please comment and let me know what you think - it'd be great if I can massage this into a form acceptable to be committed to the trunk.
Thanks, Harish ryantxu wrote: > > Sorry no real advice on the UnInvertedField -- its a bit voodo to me, > but take a crack at it. > > That said depending on the size of your index and query response time > needs, using the TermEnum may be just fine. > > > > On Feb 2, 2009, at 6:17 PM, smock wrote: > >> >> Thanks - I really appreciate your response. Any advice on how I can >> use the >> UnInvertedField to access multivalued attributes? I'm assuming >> using the >> TermEnum logic in SimpleFacets will suffer performance issues... >> I'd be >> happy to contribute the code back if I can get this working. >> >> >> ryantxu wrote: >>> >>> >>> On Feb 2, 2009, at 4:50 PM, smock wrote: >>> >>>> >>>> Hello, >>>> >>>> I'm curious if there are plans to extend the StatsComponent to cover >>>> multivalued fields? >>> >>> I don't think anyone is activly working on that no. Like most >>> things, >>> the reason for the absense is not that it would not be a good idea >>> rather no one has built it yet ;) >>> >>>> Is it a performance issue? >>> >>> It could be. But i bet leveraging the un-inverted field could make >>> it >>> quick too. >>> >>> >>>> >>>> Could I get some advice on how I'd incorporate that functionality >>>> into the >>>> component myself? I'm not sure how to access multivalued fields >>>> using the >>>> FieldCache... >>>> >>> >>> Check the TermEnum logic in SimpleFacets#getFacetTermEnumCounts() >>> >>> ryan >>> >>> >>>> Thanks! >>>> -Harish >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/StatsComponent-Multivalued-Fields-tp21799196p21799196.html >>>> Sent from the Solr - Dev mailing list archive at Nabble.com. >>>> >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/StatsComponent-Multivalued-Fields-tp21799196p21800804.html >> Sent from the Solr - Dev mailing list archive at Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/StatsComponent-Multivalued-Fields-tp21799196p21967151.html Sent from the Solr - Dev mailing list archive at Nabble.com.
