Wildcard search

In Exponential 3.4 wildcard search is supported, but not enabled by default.

To enable wildcard search, override site.ini to :

[SearchSettings]

EnableWildcard=true

No reindexing is needed.

This will enable usage of the wildcard character *. The search system only support placing the wildcard character at either start or end of words.

After wildcard search has been enabled, it's possible to search for terms like

pub*

pub* will return all matches for all words strating with pub, ex: pub, pubs, puben, etc.

Searching for *pub will return all matches for all words ending with pub, ex: testpub, pub, etc.

Due to server load a minimum of 3 regular characters must be in the search term using wildcards. This can be changed by overriding site.ini

[SearchSettings]

MinCharacterWildcard=3

Known issue:
When searching for two or more words containing wild cards, all objects containing the wildcards will be returned.

Comments

Hi

Thanks for the feedback mr. Zinn. I've updated the doc.

--
K�re H�vik

Typo and

Hi, there is a typo in "woldcards".
But i didn't understand the issue: What will ez find, when i search for
abc* *cde ?

Some other question: Is there a limit on how few characters can we wildcarded?
IE, can i search for a* or ab* or just abc* ?
(Also, did you check for just "*", which should show no result or some warning, IMHO)

Log in or create a user account to comment.

Contents

Configuration

Configuration
    WebDAV setup
    Exponential running on a CGI version o...
    Path prefix
    Locale Settings
    Introduction
    Configuration files
    Site access
    Common settings
    Multi Site
    Directory structure
    Language and charset
    Cron jobs
    Login handler
    Search engine
       Configuring binary file indexing
       Delayed Indexing
       Wildcard search
    Tips & Tricks
Security
Optimization
Backup & Restore
Troubleshooting


Created

01/06/2004
7:27:07 pm
by K�re K�hler H�vik

Last updated

09/09/2004
4:15:22 pm
by Tony Wood

Authors

K�re K�hler H�vik
Terje Gunrell-Kaste
Tony Wood



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.