Re: search on multiValued field

2015-09-13 Thread Upayavira
Your "correct" doc isn't valid json. Try tag:["tag1", "tag2"] which would be valid. Upayavira On Sat, Sep 12, 2015, at 08:49 AM, sara hajili wrote: > hi > in my schema i have a tag field. > this field set multiValued="true". > now my quest

search on multiValued field

2015-09-12 Thread sara hajili
hi in my schema i have a tag field. this field set multiValued="true". now my question is about search on multivalued field. if i add thid doc to sor: { id:1, tag:{"tag1","tag2"} }, { id:2, tag:{"tag1","tag2"} }, when i search on q="tag1

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

Re: Geospatial search with multivalued field

2012-02-12 Thread Marian Steinbach
2012/2/12 Mikhail Khludnev mkhlud...@griddynamics.com: 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.

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

Re: Geospatial search with multivalued field

2012-02-12 Thread David Smiley (@MITRE.org)
://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-10 Thread Marian Steinbach
2012/2/9 Mikhail Khludnev mkhlud...@griddynamics.com: 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.)

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=13117350page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13117350 The patch you tried to use is just my amendment for the

Re: Geospatial search with multivalued field

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

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

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 mar...@sendung.de wrote: Hi! I'm trying to figure out how to enable spatial search for my use case. I have documents that are in