lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Looking for FieldCacheRangeFilter pendant in 5.0.0
Date Thu, 26 Feb 2015 08:57:15 GMT
Hi,

Use DocValuesRangeFilter (same package, http://lucene.apache.org/core/5_0_0/core/org/apache/lucene/search/DocValuesRangeFilter.html).
It was more or less just renamed, API of this class is the same. 

Uwe

P.S.: FieldCache is not completely gone, you may use UninvertingReader() from the misc module.
It "emulates" DocValues for fields that don't have them by uninverting like FieldCache did
before (http://lucene.apache.org/core/5_0_0/misc/org/apache/lucene/uninverting/UninvertingReader.html).
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Torsten Krah [mailto:krah.tm@gmail.com]
> Sent: Thursday, February 26, 2015 8:34 AM
> To: java-user@lucene.apache.org
> Subject: Looking for FieldCacheRangeFilter pendant in 5.0.0
> 
> Hi,
> 
> looking at the Changes.html or Migrate.html there is only mentioned that the
> FieldCache is gone.
> However there was also a FieldCacheRangeFilter in 4.10.x - guess its gone
> too?
> 
> For the missing ChainedFilter a BooleanFilter can be used.
> Which one should be used for the FieldCacheRangeFilter?
> 
> kind regards
> 
> Torsten
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message