-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.0-ALPHA
-
Component/s: core/index
-
Labels:None
-
Lucene Fields:New
Some small improvements:
- Adds a TermsEnum.cacheCurrentTerm "hint" (codec can make this a no-op)
- Removes the FTE.useTermsCache
- Changes MTQ's TermCollector API to accept the TermsEnum so collectors can eg call .docFreq directly
- Adds expert ctor to TermQuery allowing you to pass in the docFreq