[sword-devel] Search up to 5.8 times faster now :)

Joachim Ansorg junkmail at joachim.ansorgs.de
Fri Jun 4 01:56:39 MST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

> <w>the Word</w> <w>was</w> <w>God</w>
>
> will fail a phrase search for "Word was God"> and also fail a regex search
> for the same? 

No :)
For regexp searching it seems we need the new stuff Daniel is preparing where 
text and markup are divided. It seems I have to disable the fast searching in 
regexp matching.
For phrase search we can search for the single words in the rawtext and if 
that was successful for the phrase in the stripped down text. If I understood 
it right that's what Chris suggested.
But at least word searching remains to be fast :)

Joachim
- -- 
<>< Re: deemed!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAwDlKEyRIb2AZBB0RAuouAJ4h/gkfPOp41M6d2LjKDn+0ne+r9wCcDv8h
WsbfYS5xPHqM6NxsxP/cy0c=
=d/d7
-----END PGP SIGNATURE-----


More information about the sword-devel mailing list