Hey Greg,

thanks for your reply.

yes, I think a „native“ i.e. java based implementation might make use of more elaborate optimizations.
However maybe we could manage to implement (parts of?) the EXpath specification in XQuery to gain some insights and have this, eventually, replaced with a more powerful implementation.

Sponsoring can be of any form, usually it means organizations or companies pay for a feature; but contributing code and or ideas is at least as good and valuable :-)

I think Christian already had some talks with a potential sponsor, but as he is on vacation I think well have to wait until next week for his feedback.

Best from Konstanz
Michael


Am 18.05.2016 um 14:19 schrieb Murray, Gregory <gregory.murray@ptsem.edu>:

Hi Michael,

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?

Thanks,
Greg

From: Michael Seiferle <ms@basex.org>
Date: Wednesday, May 18, 2016 at 5:50 AM
To: Gregory Murray <gregory.murray@ptsem.edu>
Cc: "\"'BaseX' ?[basex-talk@mailman.uni-konstanz.de]?\"" <basex-talk@mailman.uni-konstanz.de>
Subject: Re: [basex-talk] Faceted search

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

Am 15.05.2016 um 14:43 schrieb Murray, Gregory <gregory.murray@ptsem.edu>:

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