Skip to content

Add cancellation support to IndexSearcher #922

@paulirwin

Description

@paulirwin

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

No response

Describe the solution you'd like

From @NightOwl888:

What I was wondering is whether it makes sense to be able to cancel an in progress search (and whether it would function as expected). We are using a .NET TaskScheduler here and CancellationToken is part of the tool set. This isn't something that exists in Lucene 4.8.0, but I think it would be useful to have in .NET if it can be implemented reliably. That is, if there isn't some other way to cancel a search that I am unaware of.

Additional context

Context: #914 (comment)

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions