TermContexts can be quite expensive to build, and if you have fairly complex queries that re-use the same terms you can end up spending a lot of time re-building the same ones over and over again. It would be nice to be able to cache them on an IndexSearcher, so that they can be re-used.
Migrated from LUCENE-6561 by Alan Woodward (@romseygeek), updated Jun 15 2015
Attachments: LUCENE-6561.patch (versions: 2)
TermContexts can be quite expensive to build, and if you have fairly complex queries that re-use the same terms you can end up spending a lot of time re-building the same ones over and over again. It would be nice to be able to cache them on an IndexSearcher, so that they can be re-used.
Migrated from LUCENE-6561 by Alan Woodward (@romseygeek), updated Jun 15 2015
Attachments: LUCENE-6561.patch (versions: 2)