FYI, we are using the jswishi add-on to swish-e and it provides a
very nice starting point to have separate results lists when
searching against multiple indexes. We have a list of indexes the
user can select and they get one line of summary on how many docs
were found by index, then the individual results list for each,
each with 12 items and a prev/next button on each individual one.
TN or (916) 785-9374 FAX: 785-9278
I am in the Pacific Standard Time zone
cell email: firstname.lastname@example.org (short text only)
From: email@example.com [mailto:firstname.lastname@example.org]
Sent: Thursday, March 16, 2000 17:40
Subject: FW: [SWISH-E] Re: Multiple indexes
Steve Thomas wrote:
> > Actually, you can just sort the results returned -- e.g.
> > swish-e -f index1 index2 ... -w terms | sort -nr -k1
> > That will sort by the ranking score, in reverse numerical order.
Well, that is obviously an option on most Unix systems (and OS/2, NT,
MacOS with GNU). I was refering to sorting results within SWISH-E
itself. It would not be possible (without some serious rewriting) to
sort results in SWISH-E itself using multiple indices. The whole search
process assumes we're dealing with a single index.
Ron Samuel Klatchko wrote:
> So unfortunately, a score of 600 from one index
> might actually be a better match then a score of 750.
> Can anyone else confirm this or am I just smoking crack?
Well, if I understand the ranking algorithm, then you are correct (at
least, to some extent). Ranking is normalized to 1000. A rank for a
search on one index is probably reasonably meaningless for another.
The indices are searched in sequential order. SWISH-E completely
'forgets' everything from one index to the next. (Which is why the
multi-index search acted screwy when using maxhits.) The multiple index
search only saves you the time of forking over and over in the search
Open Server Architecture Project - http://www.opensa.org/
Dave's Web - http://www.webaugur.com/dave/
ICQ Universal Internet Number - 412039
E-Mail - email@example.com
Received on Fri Mar 17 07:17:59 2000