-
Notifications
You must be signed in to change notification settings - Fork 6
Search Requirements
Gilbert Jeiziner edited this page Sep 12, 2013
·
8 revisions
Here's a quick summary of a discussion between Dave, Cédric and Gilbert.
We should make sure that our indices correspond to these requirements.
Represents the search box in RE3.
- Don't depend on current bounding box (searching for bern while zoomed into Zürich would still return Bern (the city)), no quad_index related search)
- Ranking is the same as in RE2
- One difference to RE2: in RE2, we found matches only at start of words (prefix), now we support machtes inside of words(infix)
- Minimal searching term is 2 letters (min_infix_len = 2)
- Infix = 2
- Depends on current bounding box (quadindex and geoanchor)
- Always for ALL layers which are
searchable
for this topic - Mark results specially in the location section (as in RE2, wich orange background)
- Ranking, especially against Swissnames tbd
- Don't depend on current bounding box
- infix = 2
- Ranking tbd
This replaces the select-by-rectangle of RE2. It is in the Tools menu (no input box, but only result display)
Note that this is different than the feature search inside the all-in-one search.
- Include layers that are
queryable
and added to the map - Depends on current bounding box (quadindex and geoanchor)
- There's no need to search by term. We only need the geo search for this (we don't need to index details...), so there's no need for infix (only prefix for quadindex)
- no quadindex
- detail with infix 2
- no quadindex
- detail with infix 2
- quadindex with prefix 1
- detail with infix 2
- quadindex with prefix 1
- no detail needed
Of course, features on layers which are both queryable and searchable are to be treated as defined for searchable layers.