Skip to main content.
home | support | download

Back to List Archive

Combining stem/non stem removing dups in perl

From: Brad Miele <brad(at)>
Date: Wed Nov 03 2004 - 21:35:57 GMT

I am trying to run a query against two indexes that contain the same set
of records. The first index is indexed without stemming, the next is. The
goal was to have exact matches come up at the start of the results and
then the stemmed ones towards the end. i am sorting the stemmed records to
the end of the list using a value added during the indexing.

The problem is that since the indexes contain the same records, i want to
remove the duplicates from the results. I can do it using hash keys during
the ->NextResults phase of the search, but it slows things down and then
the number returned by Hits is off.

Has anyone implimented something along these lines?

 Brad Miele
 Technology Director
 (207) 828-8787 x110

 panic: can't find /
Received on Wed Nov 3 13:36:00 2004