Project

General

Profile

Actions

Bug #2069

closed

allow "complex terms" to be searched for in metasearch

Added by Michael Lee about 19 years ago. Updated about 19 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
query
Target version:
Start date:
04/19/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2069

Description

need to allow searches for "acer saccharum". My suggestion: add white space
before and after each set of terms and search for " acer saccharum ", thus
avoiding "pseudoacer saccharum" being returned.

Actions #1

Updated by Michael Lee about 19 years ago

step 1: add white space around "the keywords" of an entity:
--add SQL: UPDATE keywords SET keywords = ' ' || keywords || ' ' WHERE keywords
NOT LIKE ' %' AND keywords IS NOT NULL;

step 2: parse string differently if " is passed. This is handled in .js ?

Actions #2

Updated by Michael Lee about 19 years ago

done on aldo. Pending final java once-over by pmark. checked into cvs. Works
great. xwhereMatchWholeWords added to allow just whole words using regExp
:<: and :>: for beginning and end of word. "anything in quotes" is
recognized as one word.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2069

Actions

Also available in: Atom PDF