Re: Geospatial search with multivalued field

2012-02-12 Thread David Smiley (@MITRE.org)
vid - Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book -- View this message in context: http://lucene.472066.n3.nabble.com/Geospatial-search-with-multivalued-field-tp3729648p3737995.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Geospatial search with multivalued field

2012-02-12 Thread Marian Steinbach
Seems like I moved to the next failure. Now I get java.lang.NoClassDefFoundError: org/apache/solr/schema/SpatialQueryable during solr startup. Any idea where this sould be? It seems to be required by the path (src/main/java/solr2155/solr/schema/GeoHashField.java:public class GeoHashField ext

Re: Geospatial search with multivalued field

2012-02-12 Thread Marian Steinbach
2012/2/12 Mikhail Khludnev : > Marian, > > My experience is not applicable to you directly, but David says > >  You'll need to run "mvn package" to generate a jar file that you can throw > into your classpath. > > Have you got the jar ? You don't need to bother with Solr sources. Just > build jar a

Re: Geospatial search with multivalued field

2012-02-12 Thread Mikhail Khludnev
Marian, My experience is not applicable to you directly, but David says You'll need to run "mvn package" to generate a jar file that you can throw into your classpath. Have you got the jar ? You don't need to bother with Solr sources. Just build jar and put it into Solr libs (see http://wiki.ap

Re: Geospatial search with multivalued field

2012-02-10 Thread Marian Steinbach
2012/2/10 Mikhail Khludnev : > Marian, > > Sorry, I completely forgot to mention. > Pls check David's instruction > https://issues.apache.org/jira/browse/SOLR-2155?focusedCommentId=13117350&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13117350 > > The patch you trie

Re: Geospatial search with multivalued field

2012-02-10 Thread Mikhail Khludnev
Marian, Sorry, I completely forgot to mention. Pls check David's instruction https://issues.apache.org/jira/browse/SOLR-2155?focusedCommentId=13117350&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13117350 The patch you tried to use is just my amendment for the Dav

Re: Geospatial search with multivalued field

2012-02-10 Thread Marian Steinbach
2012/2/9 Mikhail Khludnev : > Some time ago I tested backported patch from > https://issues.apache.org/jira/browse/SOLR-2155 > it works. OK, I would do that. But... Against which version can/should I apply the patch? (I am not restricted by other requirements so far.) Then I tried both with the

Re: Geospatial search with multivalued field

2012-02-09 Thread Mikhail Khludnev
Some time ago I tested backported patch from https://issues.apache.org/jira/browse/SOLR-2155 it works. Regards On Thu, Feb 9, 2012 at 6:36 PM, Marian Steinbach wrote: > Hi! > > I'm trying to figure out how to enable spatial search for my use case. > > I have documents that are in many cases ass

Geospatial search with multivalued field

2012-02-09 Thread Marian Steinbach
Hi! I'm trying to figure out how to enable spatial search for my use case. I have documents that are in many cases associated with multiple geo locations. I'd like to filter documents by the minimum distance to a reference point (which is given at query time). What this means is: If at least one