At 02:04 PM 10/16/2001 +0100, Ged Haywood wrote:
>> > Plus lots of other stuff like Glimpse and Swish which interface to
C-based
>> > engines.
>> 
>> I've had good luck with http://swish-e.org/2.2/
>
>Please make sure that it's possible to do a plain ordinary literal
>text string search.  Nothing fancy, no case-folding, no automatic
>removal of puctuation, nothing like that.  Just a literal string.
>
>Last night I tried to find "perl -V" on all the search engines
>mentioned on the mod_perl home page and they all failed in various
>interesting ways.

I assume it's how the search engine is configured.  Swish, for example, you
can define what chars make up a word.  Not sure what you mean by literal
string.  For performance reasons you can't just grep words (or parts of
words), so you have to extract out words from the text during indexing.
You might define that a dash is ok at the start of a word, but not at the
end and to ignore trailing dots, so you could find -V and -V. (at the end
of a sentence).

Some search engines let you define a set of buzzwords that should be
indexed as-is, but that's more helpful for technical writing instead of
indexing code.

Finally, in swish, if you put something like "perl -V" in quotes to use a
phrase search it will find what you are looking for most likely, even if
the dash is not indexed.



Bill Moseley
mailto:[EMAIL PROTECTED]

Reply via email to