Modify

Opened 6 years ago

Closed 6 years ago

#16965 closed enhancement (fixed)

Ignore some characters in preset search.

Reported by: maxerickson@… Owned by: team
Priority: normal Milestone: 18.11
Component: Core Version:
Keywords: search preset character Cc:

Description (last modified by Don-vip)

When using a name suggestion index preset (like mentioned in #15217, it would be useful for a search like "lowes" to also match "Lowe's".

I guess for English, .' and - are going to be the most useful to ignore.

Attachments (0)

Change History (4)

comment:1 by Don-vip, 6 years ago

Description: modified (diff)
Keywords: search preset character added

comment:2 by Don-vip, 6 years ago

We could ignore all punctuation characters:

if (Pattern.matches("\\p{Punct}", str)) {
    ...
}

comment:3 by Don-vip, 6 years ago

Milestone: 18.11

For example in core we have Facilities/Health/Doctor's Office which can't be found typing Doctors

comment:4 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 14438/josm:

fix #16965 - ignore punctuation characters in tagging preset selector

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.