In my topic I have defined a search for
. But the search also finds topics with
. This shouldn't be with
That is a question how to define "keyword". For TWiki it is any set of number of characters, separated by space. A number of characters is anywhere in a word, not just at word boundaries.
This is an enhancement IMHO. Could be done with a new type=word to keep it compatible.
Renamed summary from "Search finds topics it should not find" to "Add new type=word search to search on word boundaries"
Rest of discussion is moved to TWiki:Codev.KeywordSearch
. Also a first stab at the implementation.
New documentation for VarSEARCH
| Control how the seach is performed when searching in topic texts (with
keyword search: use Google-like controls as in
soap "web service" -shampoo; searches word parts: using the example, topics with "soapsuds" will be found as well, but topics with "shampoos" will be excluded
word search: identical to
keyword but searches whole words: topics with "soapsuds" will not be found, and topics with "shampoos" will not be excluded
literal search: search for the exact string, like
regex search: use a RegularExpression search like
soap;web service;!shampoo; to search on whole words use
%SEARCHVAR- DEFAULTTYPE% preferences setting (literal)
- 02 May 2007
re-enable unit test
- 07 May 2007
The test runs fine with me.
- 07 May 2007
argh - the above should read "I re-enabled the unit test with commit 13649"
- 13 May 2007