lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: question about custom sort method
Date Fri, 12 May 2006 16:38:06 GMT
Yes, it does compute these distances for all the terms for the field  
specified, but only once (per IndexReader).  This is where the  
techniques Solr employs comes in real handy... warming up caches by  
running searches and sorts before putting a index into service.


On May 12, 2006, at 11:14 AM, Urvashi Gadi wrote:

> I am looking at DistanceComparatorSource class (for csutom sorting)  
> and looks like it calculates the distance for each record in the  
> index and not just the records returned from search, making the  
> system very slow.
> Is my observation correct? Are there ways to optimize this process?
> Thanks,
> Urvashi
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message