Opened 14 years ago

Closed 14 years ago

#357 closed enhancement (fixed)

Use geometry parameter in search for bounding boxes, instead of actual lucene bbox fields

Reported by: josegar74 Owned by: geonetwork-devel@…
Priority: major Milestone: v2.6.1
Component: General Version: v2.6.0
Keywords: Cc:

Description

Actual search for bounding box adds 1 degree to the bbox for encloses and equal operators.

For small bounding boxes 1 degree is not acceptable as will cover a much bigger region, returning more results than expected.

Change search feature to use geometry parameter (using the spatial index) instead of actual lucene bbox fields. This feature has been implemented in BlueNetMEST sandbox.

Attachments (1)

issue_357.patch (6.0 KB ) - added by josegar74 14 years ago.
Patch also fixing spatial searches for Disjoint filters

Download all attachments as: .zip

Change History (5)

by josegar74, 14 years ago

Attachment: issue_357.patch added

Patch also fixing spatial searches for Disjoint filters

comment:1 by josegar74, 14 years ago

Added patch created from 2.6.X branch.

comment:2 by fxp, 14 years ago

+1 for me.

Only the copyright is missing in IsFullyOutsideOfFilter.java

comment:3 by mcoudert, 14 years ago

+1 from me also, just two comments below for best practices ;)

  • Avoid the use of * in imports (i.e import org.fao.geonet.kernel.search.spatial.*)
  • Remove commented/unused code from js files (i.e urlizebb)

comment:4 by josegar74, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.