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

LUCENE-8865: Move to executor in IndexSearcher #731

Merged
merged 6 commits into from
Jun 20, 2019

Conversation

s1monw
Copy link
Member

@s1monw s1monw commented Jun 19, 2019

In order to simplify testing this change moves to use the Executor
interface instead of ExecutorService. This change also simplifies
customizing execute methods for use-cases that need to add additional
logic for forking to new threads. This change also adds a test for
the optimization added in LUCENE-8865.

This change is fully backwards compatible since ExecutorService implements
Executor.

In order to simplify testing this change moves to use the Executor
interface instead of ExecutorService. This change also simplifies
customizing execute methods for usecases that need to add aditional
logic for forking to new threads. This change also adds a test for
the optimization added in LUCENE-8865.

This change is fully backwards compatible since ExecutorService implements
Executor.
@s1monw s1monw requested a review from jpountz June 19, 2019 12:35
@s1monw
Copy link
Member Author

s1monw commented Jun 19, 2019

@mikemccand can you take a look

@msokolov
Copy link
Contributor

+1

@atris
Copy link
Contributor

atris commented Jun 20, 2019

+1, Looks good

@s1monw s1monw merged commit c6899fc into apache:master Jun 20, 2019
@s1monw s1monw deleted the move_to_executor branch June 20, 2019 12:26
s1monw added a commit that referenced this pull request Jun 20, 2019
In order to simplify testing this change moves to use the Executor
interface instead of ExecutorService. This change also simplifies
customizing execute methods for use-cases that need to add additional
logic for forking to new threads. This change also adds a test for
the optimization added in LUCENE-8865.

This change is fully backwards compatible since ExecutorService implements
Executor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants