Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F365A101BE for ; Mon, 24 Mar 2014 19:49:47 +0000 (UTC) Received: (qmail 37730 invoked by uid 500); 24 Mar 2014 19:48:49 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 37442 invoked by uid 500); 24 Mar 2014 19:48:48 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 37350 invoked by uid 99); 24 Mar 2014 19:48:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2014 19:48:47 +0000 Date: Mon, 24 Mar 2014 19:48:47 +0000 (UTC) From: "David Smiley (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LUCENE-4978) Spatial search with point query won't find identical indexed point MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Smiley updated LUCENE-4978: --------------------------------- Fix Version/s: 4.7.1 5.0 > Spatial search with point query won't find identical indexed point > ------------------------------------------------------------------ > > Key: LUCENE-4978 > URL: https://issues.apache.org/jira/browse/LUCENE-4978 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial > Affects Versions: 4.1 > Reporter: David Smiley > Assignee: David Smiley > Priority: Minor > Fix For: 4.8, 5.0, 4.7.1 > > Attachments: LUCENE-4978_fix_small_grid_false_negatives.patch > > > Given a document with indexed POINT (10 20), when a search for INTERSECTS( POINT (10 20)) is issued, no results are returned. > The work-around is to not search with a point shape, use a very small-radius circle or rectangle. (I'm marking this issue as "minor" because it's easy to do this). > An unstated objective of the PrefixTree/grid approximation is that no matter what precision you use, an intersects query will find all true-positives. Due to approximations, it may also find some close false-positives. But in the case above, that unstated promise is violated. But it can also happen for query shapes other than points which do in fact barely enclose the point given at index time yet the indexed point is in-effect shifted to the center point of a cell which could be outside the query shape, and ultimately leading to a false-negative. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org