Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 25132 invoked from network); 7 Jan 2010 15:13:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2010 15:13:36 -0000 Received: (qmail 25899 invoked by uid 500); 7 Jan 2010 15:13:34 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 25837 invoked by uid 500); 7 Jan 2010 15:13:34 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 25827 invoked by uid 99); 7 Jan 2010 15:13:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 15:13:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ryantxu@gmail.com designates 209.85.221.203 as permitted sender) Received: from [209.85.221.203] (HELO mail-qy0-f203.google.com) (209.85.221.203) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 15:13:25 +0000 Received: by qyk41 with SMTP id 41so8480870qyk.29 for ; Thu, 07 Jan 2010 07:13:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=L8KwyoApAF5mPckogN0FvSn2jm6K1eFAVZLzrcUw5LQ=; b=SG50Op6QS867QmSdWe/eiYN0B6uoO4xbI8hpGIH1G/W5MpsUn5DP0u+SmVhpME4F0n u5WRiiNVGzqZjmBKJp9+hG6J99YJoSixWSccPC9CmNarm4Pn+iG1rZ1TltGB6k6KkNA9 aVCM9JGXlk71DIWjd0eKFPhVOTjOUrPRmtAi8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=B1vStnqg8ZZcm9MF8arBgpHDxTkCvA1lH/au6Sg6b8aPzvCwofeLJwn49MWQCkipos 7B9Kp45M+FfD0p9L/porzQzfvdQKKPV5SGO1QI+5NPS0tLi9t/R7p1P3C//8Ta+yVTjI RWcac1WdLuOIlX9h2C9cVlY4mSpXWqYK9gHRY= Received: by 10.224.78.23 with SMTP id i23mr886837qak.321.1262877183131; Thu, 07 Jan 2010 07:13:03 -0800 (PST) Received: from ?192.168.1.7? ([66.92.161.165]) by mx.google.com with ESMTPS id 8sm13558276qwj.13.2010.01.07.07.13.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 07 Jan 2010 07:13:02 -0800 (PST) Message-Id: <58B5F7E8-F5D1-47EB-B1F8-864ABFC27DFA@gmail.com> From: Ryan McKinley To: java-user@lucene.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: R-Tree in lucene thoughts? Date: Thu, 7 Jan 2010 10:13:00 -0500 X-Mailer: Apple Mail (2.936) I'm getting back into the spatial search stuff and wanted to get some feedback before starting down any path... I'm building an app, where I need R-tree like functionality -- that is search for all items within some extent / that touch some extent. If anyone has ideas for how this could map to tokens, that would be great... but i don't know of anything yet. Currently, I index an extent as "XMin XMax YMin YMax", then have a custom filter that loads an in memory R-Tree for each Reader from the FieldCache. This works great, but the memory requirements get big as the number of documents gets large. Also it takes a while to warm up. With the new flexible indexing stuff, would it be possible to natively write an rtree to disk in the index process? Somehow using the lucene doc id? Alternatively, I can look at writing the spatial index to some other format (perhaps http://hatbox.sourceforge.net/) and then try to keep lucene doc ids in sync with application ids. Any thoughts on what may be possible? It looks like Lucy has considered something similar: http://www.lucidimagination.com/search/document/75ac07b7e2d6160d/pluggable_indexreader_was_real_time_updates thanks ryan --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org