Skip to content

improve Index searcher efficiency #4012

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

Merged
merged 2 commits into from
Jul 26, 2022

Conversation

vladak
Copy link
Member

@vladak vladak commented Jul 26, 2022

This change, or rather set of changes, purges all unnecessary FSDirectory.open() calls from all webapp related classes, replacing the related code blocks with calls to retrieve (Super)IndexSearcher instances (that can be used to get IndexReader instances). This should speed up the webapp a bit by avoiding the syscalls and I/O related to opening the index files.

As for the first part of #4009 (comment) (about the MultiReader relationship to IndexSearchers), I think it is not in dire need of addressing.

@vladak vladak added indexer webapp web application labels Jul 26, 2022
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 26, 2022
@vladak vladak merged commit d594176 into oracle:master Jul 26, 2022
@vladak vladak deleted the index_searcher_efficiency branch July 26, 2022 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
indexer OCA Verified All contributors have signed the Oracle Contributor Agreement. webapp web application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant