lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <DCutt...@grandcentral.com>
Subject RE: Parallelising a query...
Date Thu, 29 Nov 2001 21:39:13 GMT
TermDocs are ordered by document number.  It would not be easy to change
this.

Doug

> -----Original Message-----
> From: Winton Davies [mailto:wdavies@overture.com]
> Sent: Thursday, November 29, 2001 11:12 AM
> To: Lucene Users List
> Subject: Re: Parallelising a query...
> 
> 
> Hi again....
> 
>   Another dumb question :) (actually I'm too busy to look at 
> the code :) )
> 
>    In the index, is the datastructure of termDocs (is that the right 
> term), sorted by anything? Or is it just insertion order ? I could 
> see how one might want to sort by the Doc with the highest term 
> frequency  ? But I can also see why
> it might not help.
> 
>   e.g.   Token1 -> doc1 (2) [occurences] -> doc2 (6) -> doc3 (3)
> 
>   or is it like this ?
> 
>          Token1 -> doc2 (6) -> doc3 (3) -> doc1 (2) ?
> 
>  
>   I have an idea for an optimization I want to make, but I'm not sure 
> exactly whether it is warrants investigation.
> 
>   Winton
> 
> 
> Winton Davies
> Lead Engineer, Overture (NSDQ: OVER)
> 1820 Gateway Drive, Suite 360
> San Mateo, CA 94404
> work: (650) 403-2259
> cell: (650) 867-1598
> http://www.overture.com/
> 
> --
> To unsubscribe, e-mail:   
<mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message