-
-
Notifications
You must be signed in to change notification settings - Fork 189
[wip] [feat] distinct analyzers for indexing and querying with Lucene #3227
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
[wip] [feat] distinct analyzers for indexing and querying with Lucene #3227
Conversation
…indexing vs. querying
|
@line-o : how's it going with the additional tests and the documentation of the feature? |
|
@sten1ee the tests are part of this PR - documentation is still TODO (see the checkboxes in the description) |
|
@sten1ee would you be able to describe your use-case in the referenced documentation ticket. A link to the indexer and a code example would be great, too. |
|
There's some documentation, (who volunteers to review it?): |
|
The corresponding docs PR#445 was approved and merged. |
|
@sten1ee @line-o I think this one has to be reviewed by @wolfgangmm instead of me, as how the Lucene stuff works in eXist-db is his domain. |
wolfgangmm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks to the additional tests @line-o provided, I'm entirely happy with this PR now. Thanks!
Description:
Original from @sten1ee :
In our usage of eXist, we're utilising a 'State of the art' LuceneAnalyzer for Sanskrit language developed by our colleagues from BDRC It has several modes of operation, but the one that we use - 'lenient mode' - requires one Analyzer to be used during the indexing phase, but then a different (or a differently configured) one to be used during querying.
Currently, eXist does not provide support for this use case, but this PR is aiming to achieve this feat.
Reference:
based on #2908, #2991 opened by @sten1ee
Type of tests:
testsuite in XML