You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Adam Estrada <es...@gmail.com> on 2011/06/27 18:42:26 UTC

Limiting lucene.vector by location

All,

My index has a spatial component to it which means that I can query it
"spatially" within lucene/solr. Is there a way to apply a filter while
running lucene.vector? This would be really helpful for limiting cluster
results based on the spatial extent of the data.

Adam

Re: Limiting lucene.vector by location

Posted by Adam Estrada <es...@gmail.com>.
I think that for now, the easiest way to do this is to return the query
results as a flat csv file then run the seqdirectory utility on it...full
filtering integration comes next.

Adam

On Mon, Jun 27, 2011 at 3:53 PM, Grant Ingersoll <gs...@apache.org>wrote:

> It doesn't currently, but I don't think it would be that hard to extend it
> to take a filter.  Have a look at the LuceneIterable class.  That would be a
> welcome contribution.
>
>
> -Grant
>
> On Jun 27, 2011, at 12:42 PM, Adam Estrada wrote:
>
> > All,
> >
> > My index has a spatial component to it which means that I can query it
> > "spatially" within lucene/solr. Is there a way to apply a filter while
> > running lucene.vector? This would be really helpful for limiting cluster
> > results based on the spatial extent of the data.
> >
> > Adam
>
> --------------------------
> Grant Ingersoll
>
>
>
>

Re: Limiting lucene.vector by location

Posted by Grant Ingersoll <gs...@apache.org>.
It doesn't currently, but I don't think it would be that hard to extend it to take a filter.  Have a look at the LuceneIterable class.  That would be a welcome contribution.


-Grant

On Jun 27, 2011, at 12:42 PM, Adam Estrada wrote:

> All,
> 
> My index has a spatial component to it which means that I can query it
> "spatially" within lucene/solr. Is there a way to apply a filter while
> running lucene.vector? This would be really helpful for limiting cluster
> results based on the spatial extent of the data.
> 
> Adam

--------------------------
Grant Ingersoll