lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: poly fields in fieldcache
Date Fri, 19 Feb 2010 14:56:41 GMT

On Feb 18, 2010, at 1:54 PM, patrick o'leary wrote:

> Cool, we want to examine certain fields of a docset which currently is a
> multivalued field, obviously only the first value gets loaded into field
> cache.
> 
> But if a poly field that can be loaded into FC, then that will work, we can
> extend FC to return an Field[] and make that cache aware.

Have you looked at UninvertedField?  Not sure if it is what you are after, but it is essentially
multivalued FC.

> 
> 
> Sorting on multivalued is definitely a subjective matter that a function
> query would rock in, having an FC or VS that supports is would make that
> much easier, like say events where an event can have multiple dates,
> sort_date_compared(performance_dates, NOW)

I suppose if you have a multivalued function (see the Vector Distance stuff), you can do that
already.  This is in fact how sort by distance works on trunk now.

> 
> Or even distances from a poly, polyDistance(convexHull, point) or
> polyDistance(center, point) etc..

Yep.
Mime
View raw message