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 1A2EFCF09 for ; Fri, 1 Jun 2012 13:59:25 +0000 (UTC) Received: (qmail 59585 invoked by uid 500); 1 Jun 2012 13:59:23 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 59483 invoked by uid 500); 1 Jun 2012 13:59:23 -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 59289 invoked by uid 99); 1 Jun 2012 13:59:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2012 13:59:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 389AC14285B for ; Fri, 1 Jun 2012 13:59:23 +0000 (UTC) Date: Fri, 1 Jun 2012 13:59:23 +0000 (UTC) From: "Chris Male (JIRA)" To: dev@lucene.apache.org Message-ID: <976455857.26648.1338559163235.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1998466779.25238.1338526164570.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (LUCENE-4099) Remove generics from SpatialStrategy and remove SpatialFieldInfo 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-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287413#comment-13287413 ] Chris Male commented on LUCENE-4099: ------------------------------------ That can definitely happen. I guess instead of being instantiated per request, I mean they will be instantiated per configuration. > Remove generics from SpatialStrategy and remove SpatialFieldInfo > ---------------------------------------------------------------- > > Key: LUCENE-4099 > URL: https://issues.apache.org/jira/browse/LUCENE-4099 > Project: Lucene - Java > Issue Type: Improvement > Components: modules/spatial > Reporter: Chris Male > Priority: Minor > > Same time ago I added SpatialFieldInfo as a way for SpatialStrategys to declare what information they needed per request. This meant that a Strategy could be used across multiple requests. However it doesn't really need to be that way any more, Strategies are light to instantiate and the generics are just clumsy and annoying. > Instead Strategies should just define what they need in their constructor. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org