lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <>
Subject Re: Indexing (x,y) points representing characteristics
Date Tue, 23 Aug 2016 14:00:01 GMT
You could copyField for faceting if that's the only limiting factor. Or
even for each separate use case. Just don't store the copied values.


On 23 Aug 2016 8:36 PM, "marotosg" <> wrote:

> Hi.
> I have a use case I am trying to solve and stuck with some ideas.
> I would need to index one field in my collection with x,y values which
> represents how a person is located on an axis based on some characteristics
> of him. x and y go from 0 to 1 in 0.1 gaps.
> For instance a person can have (0.5,0.1) or (0.7,0.7) etc.  Never negative
> values.
> I need to achieve to things.
> 1) When i have a search result. Facet on this field to group them and get
> the counts with the same x,y.
>     I would need to plot them on SVG file with the plot and count.
> 2) Draw a box or circle to filter out the results.
> Which field should I use to do it?
> I see PointType is an option but I can't get results faceting on it.
> I am testing LatLonType  or BBbox field but looks like when you try to
> search they work with km so they are more geo orientated.
> I appreciate any tips.
> sergio
> --
> View this message in context: http://lucene.472066.n3.
> Sent from the Solr - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message