Project

General

Profile

Task #2296

Story #2004: Finalize Mercury for release

Disable leading wildcard search in mercury ui

Added by Skye Roseboom almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Skye Roseboom
Category:
d1_indexer
Start date:
2012-02-07
Due date:
% Done:

100%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

NOTE-Updating this story to instead reflect effort to disable leading wildcard searching in mercury.

Update help text indicating leading * usage.
Update query string processing to remove leading wildcards.

Mercury definitely supports leading wildcard searches in other implementations - ornl daac for instance

History

#1 Updated by Skye Roseboom almost 13 years ago

  • Status changed from New to In Progress

#2 Updated by Skye Roseboom almost 13 years ago

  • Parent task changed from #2004 to #1386

#3 Updated by Skye Roseboom almost 13 years ago

looks to be two options:

N-gram configuration to index variations of text strings.
ReverseWildcardFilterFactory

N-gram looks to trade longer indexing time and larger storage requirements for query speed.
Reverse wildcard used trailing wildcard searching on the normally stored text strings just reversed. Indexing time and storage not effected - seems to indicate slight query overhead to search strings in reverse but uses default trailing wildcard searching.

#4 Updated by Skye Roseboom almost 13 years ago

To be aware of:

https://issues.apache.org/jira/browse/SOLR-1982

Just defining the ReverseWildcard filter on any field in the solr schema.xml enables leading wildcard on any field - regardless of the field being used or not.

#5 Updated by Skye Roseboom almost 13 years ago

  • Subject changed from Enable leading wildcard character in solr config to Disable leading wildcard search in mercury ui

#6 Updated by Skye Roseboom almost 13 years ago

  • Parent task changed from #1386 to #2004

Moving this task to feature 2004 with change to removing leading wildcard. This will be done in mercury. No need to modify/alter index solr schema in the index processor project.

#7 Updated by Skye Roseboom almost 13 years ago

  • Status changed from In Progress to Closed

Complete.

Restricting text input fields from containing wildcard character using M3.handleWildcard js event listener method on html class 'noWildcard'.

Stripping wildcard character out of search terms in default.js using M3.stripWildcard.js

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)