-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Guy Brand wrote: > On 31 août at 14:45, Thanos Massias wrote: > >> You could try splitting the word data but this will get quite >> complicated. For example you could some hashing by splitting the word >> index in a series of datafiles depending, say on the first character (or >> more if we are talking about huge wikis) of the word. Then, given a >> search word you only have to search the relevant word index file. > > How do you handle looking for "wiki" in such a schema, as you would > expect pages with "dokuwiki" to match too? > You are right on that but maybe a trade-off isn't out of the question. You can switch to a partial matching on beginning of searched words only (ie 'wiki' will match 'wikis', 'wikify' etc but not 'dokuwiki'). - -- Best regards, Thanos Massias -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE9tpzSy9m2i8jedwRApb1AJ0cjjhbvaFZwmdqDxym3mrfzWsMwACgh1M3 aa7Cy1fs9wBapzFODruc/BU= =OqVV -----END PGP SIGNATURE----- -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist