Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[index] Use facets and fields for element filter instead of different index definitions #566

Open
3 tasks
dariok opened this issue Dec 17, 2024 · 0 comments
Open
3 tasks

Comments

@dariok
Copy link
Owner

dariok commented Dec 17, 2024

Currently, we index tei:text and then

      <text qname="tei:p"/>
      <text qname="tei:ab"/>
      <text qname="tei:opener"/>
      <text qname="tei:closer"/>
      <text qname="tei:postscript"/>
      <text qname="tei:cell"/>
      <text qname="tei:label"/>
      <text qname="tei:item"/>
      <text qname="tei:quote"/>
      <text qname="tei:head"/>
      <text qname="tei:l"/>

Most likely the indexing will be faster (and the index smaller) when using facets/fields ($node/parent::*) to filter search results by where they appear.
Search options must be adapted to that (but currently we do not have a good user facing mechanisms for that anyway).

  • change index definition
  • create filtering options in API (can be limited to v2, hopefully)
  • create UI for filtering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant