Re: Bug with bootstrap_confdir?

2016-09-10 Thread Jan Høydahl
Hi It is not clear to me what exact command you were doing when you got an error. Please state your solr version, the exact command you were trying to execute and what error msg you got. Why do you believe that resolving relative bootstrap_confdir relative to SOLR_HOME is a good idea? If a confi

Re: Question : Invalid results on full-text search with a combination of numbers and dots in research terms

2016-09-10 Thread Erick Erickson
You're probably being fooled by your analysis chain or searching against your default field rather than the field yo uthink you are. Plus, there's not much to go on here, you've essentially said "it doesn't work". We need to see: 1> a sample doc you think should be found 2> the search query 3> th

Re: Migrating: config found, but not mapped to collection

2016-09-10 Thread Erick Erickson
Igiguere: There's a tricky bit of logic in the selection of the configset IIRC where if there is only one, it's used regardless. My bet: If you add a new configset you won't be able to create collections. BTW, in Solr 5.4 the bin/solr script has a new "zk" command that you can use to do upconfig/

Re: query formulation

2016-09-10 Thread Erick Erickson
Background for Shawn's comments can be found here: https://lucidworks.com/blog/2011/12/28/why-not-and-or-and-not/ Solr's query language is NOT strict boolean logic as explained above. Although with proper grouping (parenthesizing) and tricks like Shawn mentioned it can be pretty close. Best, Eri

Re: Detecting down node with SolrJ

2016-09-10 Thread Erick Erickson
If you use Zookeeper you'll be fine if (and only if) the node was shut down gracefully. In that case Zookeeper should be completely current. If someone just pulled the plug on a Solr node though, you'll have to wait until Zookeeper times out when pinging the Solr node, perhaps minutes. If you do

Re: Error about Unsupported major.minor version 52.0

2016-09-10 Thread Rohit Kanchan
With Java 8, you also need to upgrade your tomcat which can work on Java 8. I think Tomcat 8.x compiled using Java 8. I think you can switch your existing Tomcat also to Java 8 but that may break somewhere because of same reason. Thanks Rohit Kanchan On Sat, Sep 10, 2016 at 2:38 AM, Brendan Hump

Re: Detecting down node with SolrJ

2016-09-10 Thread Rohit Kanchan
I think it is better to use zookeeper data. Solr Cloud updates zookeeper about node status. If you are using cloud then u can check zookeeper cluster api and get status of node from there. Zookeeper cluster state api can give you information about your Solr cloud. I hope this helps. Thanks Rohit K

Re: Error about Unsupported major.minor version 52.0

2016-09-10 Thread Brendan Humphreys
Solr 6.x requires Java 8 - you're using Java 7 (aka JDK 1.7). https://cwiki.apache.org/confluence/display/solr/Installing+Solr Cheers, -Brendan On 10 September 2016 at 19:21, Jiangenbo wrote: > Hello Everyone, > Sorry for disturbing you all > I am facing at a problem when I deploy SOLR 6.

Error about Unsupported major.minor version 52.0

2016-09-10 Thread Jiangenbo
Hello Everyone, Sorry for disturbing you all I am facing at a problem when I deploy SOLR 6.0 in TOMCAT under Windows XP. My tools and their version are JDK 1.7 SOLR 6.0 TOMCAT 7.0 MyEclipse 8.0 (for starting TOMCAT) I don't know how to deal with it and want to for your help, thanks ! The error in