Dragaera

Dragaera Book Search

David Dyer-Bennet dd-b at dd-b.net
Mon Jan 12 11:39:28 PST 2004

Jag <agrajag at dragaera.net> writes:

> On Sun, 2004-01-11 at 22:38, David Dyer-Bennet wrote:
>> Jag <agrajag at dragaera.net> writes:
>> 
>> > I was unsure who to send this to, so I'm just sending it here.  Hope it
>> > gets to the right person.
>> >
>> >
>> > I was playing with the Dragaera Book Search on dragaera.info and noticed
>> > that it gives black responses at times.  For instance, if you search for
>> > 'teckla reign', then click the second response (should be for
>> > 500ya01.html) which is a three-star match, you don't see any useful data
>> > on the match.
>> 
>> Nope, 500YA doesn't show up until the *7th* response, and is a 2-star
>> match when I do it, and it's 500ya23 anyway. 
>
> This is interesting.  I go do the search now and I get what you
> describe, and notice that its searching for 'teckla' OR 'reign', then I
> go and click search again (without changing the terms), and suddenly its
> searching for 'teckla' AND 'reign', and produces the output I described.

Sounds like a bug to me, I'll get that on the list.  (I would guess
I failed to override one of the defaults on the search form on the
results page.)

>> But yeah, 500YA01 does show up blank on the detail.  This is because
>> the words never actually appear associated with each other, or even
>> repeating near themselves, often enough.  There is no actual match.
>> 
>> The problem is that the front-end, htdig, is really intended to search
>> web pages, and to consider an entire document to be a "hit", and that
>> doesn't work for what's wanted in booksearch.  So I've got rather a
>> hack going to use it for front-end, and then do detail search in the
>> chapter when you go there. 
>
> Hmm.. I see.  Wonder if htdig could be convinced to weed them out. 
> Unfortunately, I've never dealt with htdig before from the admin side.

Don't think so; the association with a "hit" to a "document" is very
basic to the entire htdig structure (and any normal web search
engine).  

Probably in the long run I should get rid of that and do the whole
thing myself, but that sounds a lot like work.

>> > Also, is there a way the 'Show' buttons can be turned into normal
>> > links? 
>> 
>> Hmmm; no real technical reason why it couldn't be done, it'd just be
>> uglier.  
>
> I think we have different opinions on 'ugly', but I don't want to argue
> aesthetics.

Internal uglyness, actually; even harder to justify as important. 

I could certainly pass the arguments in the URL instead, and of course
I'm not counting on any of that data to be secure (it's not much
harder to play with in the form anyway).

>> > I'd love to be able to go through the list and just open the first
>> > few hits, each in their own tab, then go through them, closing the
>> > ones I don't want, and leaving the others open.  Unfortunately, with
>> > the way it is right now, I have to keep using Back and Forward to go
>> > through it, which is a little annoying.
>> 
>> Duplicate the page (it's CTRL-SHIFT/N in Opera, the only one I use
>> regularly enough to remember such things) before following each link.
>
> Unfortunately mozilla doesn't seem to have that functionality.

That seems to be true.
-- 
David Dyer-Bennet, <mailto:dd-b at dd-b.net>, <http://www.dd-b.net/dd-b/>
RKBA: <http://noguns-nomoney.com> <http://www.dd-b.net/carry/>
Photos: <dd-b.lighthunters.net>  Snapshots: <www.dd-b.net/dd-b/SnapshotAlbum/>
Dragaera/Steven Brust: <http://dragaera.info/>