Thanks very much for your reply. I wasn't aware of this spec. Yes, such a module would certainly serve my purposes. Currently I'm mainly interested in what the spec calls drill-sideways, though I'm sure the other options would be useful in other applications.
I think such a module is very important, since faceted searching is such a common use case. I'm sure it's possible for the application to provide its own facet functionality in an ad-hoc way using XQuery, but I don't know whether such code would make use of
indexes under the hood and therefore be performant against large document stores. No doubt having not only the standardized approach but also fast, index-based implementation would be extremely useful -- and in fact indispensable for many web applications.
What is meant by "sponsor" in this context? Financial, administrative, or something else?
Hi Greg,
currently there is no out-of-the-box functionality, yet there is an EXPath Specification that handles facets:
http://expath.org/spec/facet
We have not yet implemented it in BaseX, but we might eventually if there is enough interest and maybe even a sponsor :-)
Would that module cover your needs?
Best
Michael
Hello,
Does BaseX have built-in support for faceted search? I see that there's an easy way to get the facets for the entire database using index:facets(), but is there way to get search results that includes a similar list of facets, based only on those results?
Thanks,
Greg