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
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
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
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.
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
://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.
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.)
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
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
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
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
11 matches
Mail list logo