lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1568) Implement Cartesian Tier Filter
Date Wed, 18 Nov 2009 17:22:39 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grant Ingersoll updated SOLR-1568:
----------------------------------

    Attachment: CartesianTierQParserPlugin.java

Here's the start of a QParserPlugin for this functionality.  It's just the Java code and is
not integrated with Solr yet.

It works using the Lucene spatial stuff, but it should not be committed at this point, b/c
I want to make it work with Tier based field types so that the end user need not even think
about what the field name structure is (i.e. tier_).

Can query with it as something like:  {!tier x=32 y=-79 dist=20 prefix=tier_}.  If you did
want to use it, you would need to add it to your solrconfig.xml.

> Implement Cartesian Tier Filter
> -------------------------------
>
>                 Key: SOLR-1568
>                 URL: https://issues.apache.org/jira/browse/SOLR-1568
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: CartesianTierQParserPlugin.java
>
>
> Given an index with cartesian tiers, we should be able to pass in a filter query that
takes in the field name, lat, lon and radius and produces an appropriate Filter for use by
Solr.  Note, contrib/spatial has such a filter, so it may just be that we need to hook in
a QParserPlugin to handle it. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message