Spatial search question
We currently do a radius search from a given Lat/Long point and it works great. I have a new requirement to do a search on a larger radius from the same point, but not include the smaller radius. Kind of a donut (torus) shaped search. How would I do this (Solr 4)? Search where radius is between 20km and 40km for example? Thanks, Ken -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-search-question-tp4055597.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Can Solr v1.4 and v4.0 co-exist in Tomcat?
I renamed the 4.0 .war file solr4.war and put it in the \lib directory of Tomcat (where solr.war already exists for version 1.4.1). I have a new core created using the solr example that came with 4.0. It looks like I can run queries and do a few other things using the URL, but the Solr Admin UI doesn't work. The screen comes up but clicking Dashboard or Core Admin etc do nothing. They just change the URL to /solr4/#/~core or something like that. I get the feeling the hashtag should be something else but I can't figure out how to get it to work. The old Admin tool works fine for both my 1.4 cores. Have you gotten the new admin UI to work successfully? Do you remember what you did to get it to work? Thanks, Ken -- View this message in context: http://lucene.472066.n3.nabble.com/Can-Solr-v1-4-and-v4-0-co-exist-in-Tomcat-tp4021146p4021317.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: solr4 MULTIPOLYGON search syntax
I think you may be missing a set of parenthesis, instead of MULTIPOLYGON((point,point,point)),((point,point,point)) you need MULTIPOLYGON(((point,point,point)),((point,point,point))) -- View this message in context: http://lucene.472066.n3.nabble.com/solr4-MULTIPOLYGON-search-syntax-tp4021199p4021322.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Can Solr v1.4 and v4.0 co-exist in Tomcat?
Thanks, that helped with a different issue I was having. However the Admin UI issue is a known issue with IE9 (and possibly IE8) https://issues.apache.org/jira/browse/SOLR-3876 https://issues.apache.org/jira/browse/SOLR-3841 basically IE is not supported for the Solr Admin UI at this time. I installed Chrome on the Development server I'm working with and everything worked just fine. -- View this message in context: http://lucene.472066.n3.nabble.com/Can-Solr-v1-4-and-v4-0-co-exist-in-Tomcat-tp4021146p4021455.html Sent from the Solr - User mailing list archive at Nabble.com.
Searching across multiple collections (cores)
I've been looking all over for a clear answer to this question and can't seem to find one. It seems like a very basic concept to me though so maybe I'm using the wrong terminology. I want to be able to search across multiple collections (as it is now called in SolrCloud world, previously called Cores). I want the scoring, sorting, faceting etc. to be blended, that is to be relevant to data from all the collections, not just a set of independent results per collection. Is that possible? A real-world example would be a merchandise site that has books, movies and music. The index for each of those is quite different and they would have their own schema.xml (and therefore be their own Collection). When in the 'books' area of a website the users could search on fields specific to books (ISBN for example). However on a 'home' page a search would span across all 3 product lines, and the results should be scored relative to each other, not just relative to other items in their specific collection. Is this possible in v4.0? I'm pretty sure it wasn't in v1.4.1. But it seems to be a fundamentally useful concept, I was wondering if it had been addressed yet. Thanks, Ken -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-across-multiple-collections-cores-tp4047457.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Searching across multiple collections (cores)
I'm assuming from that link I would use the following: /Query all shards of multiple compatible collections, explicitly specified:/ http://localhost:8983/solr/collection1/select?collection=collection1_NY,collection1_NJ,collection1_CT where collection1_NY, NJ and CT could be books, movies, music in my case. But what does it mean to be a 'compatible' collection? If that just means the schema.xml for each of them has to have a common field or fields that can be searched against, then I'm golden. But if 'compatible' means something more specific I would need a definition to see if this will work for me. Ken -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-across-multiple-collections-cores-tp4047457p4047466.html Sent from the Solr - User mailing list archive at Nabble.com.
question on tokenization control
I have a field that is defined using what I believe is fairly standard "text" fieldType. I have documents with the words 'evaluate', 'evaluating', 'evaluation' in them. When I search on the whole word, obviously it works, if I search on 'eval' it finds nothing. However for some reason if I search on 'evalu' it finds all the matches. Is that an indexing setting or query setting that will tokenize 'evalu' but not 'eval' and how do I get 'eval' to be a match? Thanks, Ken -- View this message in context: http://lucene.472066.n3.nabble.com/question-on-tokenization-control-tp3953550.html Sent from the Solr - User mailing list archive at Nabble.com.
Can Solr v1.4 and v4.0 co-exist in Tomcat?
I have an existing v1.4 implementation of Solr that supports 2 lines of business. For a third line of business the need to do Geo searching requires using Solr 4.0. I'd like to minimize the impact to the existing lines of business (let them upgrade at their own pace), however I want to share hardware if possible. Can I have Solr 4.0 and Solr 1.4 co-exist in the same Tomcat instance? If so, are there any potential side-effects to the existing Solr implementation I should be aware of? Thanks, Ken -- View this message in context: http://lucene.472066.n3.nabble.com/Can-Solr-v1-4-and-v4-0-co-exist-in-Tomcat-tp4021146.html Sent from the Solr - User mailing list archive at Nabble.com.