If I have the following:
Event { type:"X", tags: ["tag1","tag2"] }
and an index like this:
from event in doc.events
from tag in event.Tags
select {
event.type
tag
}
using faceted search, I'm getting a count of 2 for type: "x" facet ?
Is this expected? I'm using .As<Event>() on the query, which gives me
distinct events in ToList(), but not for ToFacets(). How do I get it
to count only distinct documents?
Thanks!
James
--
---
James Crowley
CTO, FundApps - a new generation in financial services software -
http://www.fundapps.co/
Founder, developerFusion - the global developer community -
http://www.developerfusion.com/
linkedin:
http://linkedin.com/in/jamescrowley
twitter:
http://twitter.com/jamescrowley