Skip to content

Special phrases for finding unnamed objects in small places #3750

@lonvia

Description

@lonvia

We currently have to kinds of special phrases: "qualifiers" are added to the name and restrict the type of object ("King's Head hotel"), "near items" are for category searches in a certain place ("hotels in London"). This distinction works well for larger places but doesn't hold for smaller ones.

In smaller places there is often only one kind of POI (pub, church, cemetery, etc). These POIs often don't really have a name but are simply referred to by their category, only adding the name of the place for reference ('Kingston pub', 'cemetery Oxbridge', etc.). That's not well covered by the current special places search. We'd need to allow "qualifier" words with a near search for that.

Some ideas to restrict search to not end up with an impossibly long list of odd results again:

  • only allow for singular qualifier terms
  • restrict the search area (it is small places after all) and add a penalty when there is more than one POI of the category found
  • add a penalty for named places in the result

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions