Tags:
create new tag
view all tags

SID-00588: WebSearch with wildcards / Asterisk '*'

Status: Answered Answered TWiki version: 4.2.2 Perl version: 5.005, 5.6.1
Category: CategorySearch Server OS: RHEL5 Last update: 16 years ago

Hey,

can someone explain how I can search in the "WebSearch" text with wildcards: for examble: http://twiki.org/cgi-bin/view/TWiki/WebHome searching "*aboration" to get "collaboration" ... I always get no results.

Can I change somenting in the options or am i using the wrong wildcards??

thx in advanced slank

-- DanSlank - 2009-10-26

Discussion and Answer

The default search type in TWiki's WebSearch is type="word" which searches for full words. You can change the default to type="keyword". That way you can search for text within a word.

Test:

You can do wildcard-like searches with RegularExpression using type="regex" search. Use .*aboration instead of *aboration.

Details at SearchHelp, VarSEARCH, fix in your TWiki.WebSearch

-- PeterThoeny - 2009-10-26

Works perfect

Thank you

-- DanSlank - 2009-10-27

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title WebSearch with wildcards / Asterisk '*'
SupportCategory CategorySearch
TWiki version 4.2.2
Server OS RHEL5
Web server Apache 3.0.99-563
Perl version 5.005, 5.6.1
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2009-10-27 - DanSlank
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.