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

Add support for tracking positions and offsets #34

Open
valencik opened this issue Mar 30, 2023 · 1 comment
Open

Add support for tracking positions and offsets #34

valencik opened this issue Mar 30, 2023 · 1 comment
Labels
index Related to indexing, info in the index

Comments

@valencik
Copy link
Contributor

Currently we just track term counts.

This limits our ability to execute phrase queries or span queries.

Additionally, supporting positions and offsets should make highlighting easier.
To highlight we should be able to create a single doc index with position and offsets (or use them in the main index if available) and use that to score the doc's terms with the query to determine what parts of the doc to highlight.
(https://lucidworks.com/post/lucene-highlighter/)

@valencik valencik added the index Related to indexing, info in the index label Mar 30, 2023
@valencik
Copy link
Contributor Author

Just a note, we did add support for tracking positions in #166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
index Related to indexing, info in the index
Projects
None yet
Development

No branches or pull requests

1 participant