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.


Reply via email to