Re: Linear search using reader vs. scorer implementation

2006-08-08 Thread Paul Borgermans
Hi Mathias I delved a bit further in the lucene docs and the book "Lucene in action" (Ch 6.1, pp194-201): an alternative approach may be the use of a custom sort with a dedicated implementation of the SortComparatorSource, taking as arguments the array of vectors for which a "distance" needs to b

Linear search using reader vs. scorer implementation

2006-08-07 Thread Mathias Lux
Hi! I'm working in my spare time on Lire, a content based image retrieval library (searching for similar looking images in other words, see http://www.semanticmetadata.net/lire) based on Lucene. As the cbir features are medium sized integer vectors I put them into fields, and read them with the I