Yes - I mentioned index:facets() in the original post. I was not clear to me if or how that info could be used for this problem. Do you have any tips or examples ?
I’m thinking that creating some sort of auxiliary index may be required, and wondering if others have done this and how they chose to do it, or the pros and cons of different approaches: generating an XML mapping to query directly in BaseX vs building an SQL table to query using the BaseX SQL module vs building Solr docs from basex and querying Solr for document lists.
— Steve M.
On Jun 6, 2022, at 2:59 AM, Kristian Kankainen kristian@keeleleek.ee wrote:
Hi,
Did you take a look at the Index module, especially the facet function [1]?
Best regards, Kristian Kankainen
On 6. Jun 2022, at 02:12, Liam R. E. Quin liam@fromoldbooks.org wrote:
On Sun, 2022-06-05 at 21:45 +0000, Majewski, Steven Dennis (sdm7g) wrote:
Is it possible to do faceted browsing with BaseX ?
why wouldn't it be?
If you are having performance problems, it may help to maintain a surrogate document in BaseX that just has the facet information, so you don't have to search for it and collate it each time.
liam
-- Liam Quin, https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: http://www.fromoldbooks.org