You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Spadez <ja...@hotmail.com> on 2013/05/28 14:02:45 UTC
Associate item with more than one location
currently have an item which gets imported into solr, lets call it a book
entry. Well that has a single location associated with it as a coordinate
and location name but I am now finding out that a single entry may actually
need to be associated with more than one location, for example "New York"
and "London".
Is it possible for solr to have items associated with more than one
location, so that when searching geo spatially on coordinates it can be
found at both locations?
Thank you
--
View this message in context: http://lucene.472066.n3.nabble.com/Associate-item-with-more-than-one-location-tp4066477.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Associate item with more than one location
Posted by "Smiley, David W." <ds...@mitre.org>.
Absolutely. Use "location_rpt" in the example schema. Do *not* use
LatLonType, which doesn't support multiValued data.
~ David Smiley
On 5/28/13 8:02 AM, "Spadez" <ja...@hotmail.com> wrote:
> currently have an item which gets imported into solr, lets call it a book
>entry. Well that has a single location associated with it as a coordinate
>and location name but I am now finding out that a single entry may
>actually
>need to be associated with more than one location, for example "New York"
>and "London".
>
>Is it possible for solr to have items associated with more than one
>location, so that when searching geo spatially on coordinates it can be
>found at both locations?
>
>Thank you
>
>
>
>--
>View this message in context:
>http://lucene.472066.n3.nabble.com/Associate-item-with-more-than-one-locat
>ion-tp4066477.html
>Sent from the Solr - User mailing list archive at Nabble.com.