Project

General

Profile

feature request #7517

Make search parameters like wildcards configurable

Added by Andreas Müller 7 months ago. Updated 3 months ago.

Status:
New
Priority:
New
Assignee:
Category:
taxeditor
Target version:
Start date:
06/27/2018
Due date:
% Done:

0%

Severity:
normal
Tags:

Description

For edaphobase users are used to use whitespace as wildcard.

We should make search parameters project and/or client configurable.

Possible parameters are:

  • handle whitespace as wildcard
  • add wildcard at end of search string (MatchMode "Beginning")
  • add wildcard at start of search string
  • mask %
  • case sensitivity
  • ...

HINT:

Consider using eu.etaxonomy.cdm.persistence.dao.common.Restriction<T extends Object>instead of criteria in case wildcards need to be supported for arbitrary fields and related entities.

CdmEntityDaoBase.list(Class<? extends T> type, List<Restriction<?>> restrictions, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) may serve you as an example for using the Restrictions.


Related issues

Related to Edit - bug #5868: re-establish support for wildcard at start of query string (includes the query string '*' ) Feedback 06/06/2016
Related to Edit - bug #7525: IdentifiableServiceBase findByTitle(), and listByTitle() methods support cdm Restrictions and Criteria Closed 06/28/2018

History

#1 Updated by Andreas Kohlbecker 7 months ago

  • Assignee deleted (Katja Luther)

I strongly suggest creating a profound specification for this before anything is being implementing for this issue!

I am also removing the assignee as this ticket is in the milestone for unassigned tickets.

#2 Updated by Andreas Kohlbecker 7 months ago

  • Related to bug #5868: re-establish support for wildcard at start of query string (includes the query string '*' ) added

#3 Updated by Andreas Kohlbecker 7 months ago

  • Related to bug #7525: IdentifiableServiceBase findByTitle(), and listByTitle() methods support cdm Restrictions and Criteria added

#4 Updated by Andreas Kohlbecker 7 months ago

  • Tags changed from edapho to edapho, search
  • Subject changed from Make search parameters configurable to Make search parameters like wildcards configurable

#5 Updated by Andreas Kohlbecker 7 months ago

  • Description updated (diff)
  • Status changed from New to Feedback
  • Assignee set to Andreas Müller

I guess this is more a cdmlib issue than something to be implemented in the taxeditor. The service methods need to offer the option and the taxeditor will simply use them.

Or was setting the category to taxeditor by purpose?

#6 Updated by Andreas Müller 7 months ago

  • Status changed from Feedback to New
  • Assignee changed from Andreas Müller to Katja Luther
  • Target version changed from Unassigned CDM tickets to Release 5.2

no, this is purely a taxeditor ticket. The service layer already offers many of these configurations but they can't be configured in the taxeditor. If further cdmlib methods are needed we need another ticket or implement them as needed.

#7 Updated by Andreas Müller 5 months ago

  • Target version changed from Release 5.2 to Release 5.3

#8 Updated by Katja Luther 5 months ago

  • Target version changed from Release 5.3 to Release 5.4

#9 Updated by Andreas Müller 3 months ago

  • Target version changed from Release 5.4 to Release 5.5

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)