Grouping by a multivalued field

2017-05-26 Thread shacky
Hi, I need to create a new collection on my Solr 6.1.0 cluster where every row is a "content" and every content can belong to one or many categories, which are specified in a multivalued field "categories". In my web app the user can search by categories, and if wanted it can even group results

CoreContainer is either not initialized or shutting down error

2016-07-21 Thread shacky
Hi. I am installing a new SolrCloud cluster with Solr 6.1.0 on Debian 8 Jessie. I am using Zookeeper from official Debian repository (Zookeeperd 3.4.5+dfsg-2). I configured and bootstrapped the new cluster, but I'm still getting the "org.apache.solr.common.SolrException: Error processing the

Error in creating a new collection

2015-09-03 Thread shacky
Hi, I have a three nodes Solr 5.3.0 cluster with Zookeeper 3.4.5. New collections are creating without any problem, so the cluster seems to work well. I created a new collection "test2" using an old configuration, and I got this error: enablePositionIncrements is not a valid option as of Lucene

Re: Error in creating a new collection

2015-09-03 Thread shacky
Hi Shalin, thank you very much for your answer. I found out and managed in recreating the problem. I created a new collection, with the wrong configset. I got the error and the collection was not created, good. But after that I continue to see the "SolrCore Initialization Failures" in the Solr

textgen field type on Solr 5.2

2015-08-04 Thread shacky
Hi. On an old Solr 1.4.1 installation I am using some textgen fields to separate text in words and having an exact word match when I search for something. Now I have to migrate to a new Solr 5.2 installation, and I realized that the textgen field is not available, so I am looking for something

Migration from Solr 4.7.1 to SolrCloud 5.1

2015-06-19 Thread shacky
Hi. I have an old index running on a standalone Solr 4.7.1 and I have to migrate its index to my new SolrCloud 5.1 installation. I'm looking for some way to do this but I'm a little confused. Could you help me please? Thank you very much! Bye

Re: ZooKeeper connection refused

2015-06-19 Thread shacky
2015-06-17 16:11 GMT+02:00 Shalin Shekhar Mangar shalinman...@gmail.com: Is ZK healthy? Can you try the following from the server on which Solr is running: echo ruok | nc zk1 2181 Thank you very much Shalin for your answer! My ZK cluster was not ready because two nodes was dead and only one

Re: Migration from Solr 4.7.1 to SolrCloud 5.1

2015-06-19 Thread shacky
2015-06-19 18:00 GMT+02:00 Erick Erickson erickerick...@gmail.com: You really have to ask more specific questions here. What are you confused _about_? Have I read that I could migrate using the backup script, so I looked for the backup script in the Solr 4.7.1 source code but I haven't find

ZooKeeper connection refused

2015-06-17 Thread shacky
Hi. I have a SolrCloud cluster with 3 nodes Solr + Zookeeper. My solr.in.sh file is configured as following: ZK_HOST=zk1,zk2,zk3 All worked good but now I cannot start SOLR nodes and the command exit with the following errors: root@index1:~# service solr restart Sending stop command to Solr

Re: ZooKeeper connection refused

2015-06-17 Thread shacky
2015-06-17 15:34 GMT+02:00 Shalin Shekhar Mangar shalinman...@gmail.com: You are asking telnet to connect to zk1 on port 2181 but you have not specified the port to Solr. You should set ZK_HOST=zk1:2181,zk2:2181,zk3:2181 instead. I modified the ZK_HOST instance with the port, but the problem

Re: New core on Solr Cloud

2015-05-08 Thread shacky
Thank you very much Erick. Bye 2015-05-06 17:06 GMT+02:00 Erick Erickson erickerick...@gmail.com: That should have put one replica on each machine, if it did you're fine. Best, Erick On Wed, May 6, 2015 at 3:58 AM, shacky shack...@gmail.com wrote: Ok, I found out that the creation of new

Re: ZooKeeperException: Could not find configName for collection

2015-05-08 Thread shacky
to Zookeeper, that might allow you to see (and then delete) the collection new_core belongs to. It looks like you tried to use the admin UI to create a core and it's all local or something like that. Best, Erick On Wed, May 6, 2015 at 4:00 AM, shacky shack...@gmail.com wrote: Hi list. I created

New core on Solr Cloud

2015-05-06 Thread shacky
Hi. This is my first experience with Solr Cloud. I installed three Solr nodes with three ZooKeeper instances and they seemed to start well. Now I have to create a new replicated core and I'm trying to found out how I can do it. I found many examples about how to create shards and cores, but I have

Re: New core on Solr Cloud

2015-05-06 Thread shacky
Ok, I found out that the creation of new core/collection on Solr 5.1 is made with the bin/solr script. So I created a new collection with this command: ./solr create_collection -c test -replicationFactor 3 Is this the correct way? Thank you very much, Bye! 2015-05-06 10:02 GMT+02:00 shacky

ZooKeeperException: Could not find configName for collection

2015-05-06 Thread shacky
Hi list. I created a new collection on my new SolrCloud installation, the new collection is shown and replicated on all three nodes, but on the first node (only on this one) I get this error: new_core:

Re: Solr 5.1.0 Cloud and Zookeeper

2015-05-05 Thread shacky
will work without a hitch. - Mark On Tue, May 5, 2015 at 9:09 AM shacky shack...@gmail.com wrote: Hi. I read on https://cwiki.apache.org/confluence/display/solr/Setting+Up+an+External+ZooKeeper+Ensemble that Solr needs to use the same ZooKeeper version it owns (at the moment 3.4.6). Debian

Solr 5.1.0 Cloud and Zookeeper

2015-05-05 Thread shacky
Hi. I read on https://cwiki.apache.org/confluence/display/solr/Setting+Up+an+External+ZooKeeper+Ensemble that Solr needs to use the same ZooKeeper version it owns (at the moment 3.4.6). Debian Jessie has ZooKeeper 3.4.5 (https://packages.debian.org/jessie/zookeeper). Are you sure that this

Re: New to SolrCloud

2015-04-28 Thread shacky
2015-04-28 19:45 GMT+02:00 Erick Erickson erickerick...@gmail.com: I think you're over-thinking the problem though. How often does a machine fail? If it's more often than once in an blue moon, you have _other_ problems. My needs are not only high availability (for which 2 nodes would be

Re: New to SolrCloud

2015-04-28 Thread shacky
Yeah, it took me a few tries to get it all straight in my head. Thanks Erick for your fast answer! The only problem with running ZK on the same node as Solr is that if the node goes down, it takes _both_ zookeeper and Solr with it. If running the embedded zookeeper, then you can't even

New to SolrCloud

2015-04-28 Thread shacky
Hi. I'm using Solr for 3 years and now I want to move to a SolrCloud configuration on 3 nodes which would make my infrastructure highly available. But I am very confused about it. I read that ZooKeeper should not be installed on the same Solr nodes, but I also read another guide that installs

Order by field's values custom list

2014-11-21 Thread shacky
Hi. I'm using Solr 1.4.1 (I know it's an old version) and I'm trying to find a way to sort found record using a custom list of field values. The same as MySQL's ORDER BY FIELD() function: SELECT * FROM fruit ORDER BY FIELD(name, 'Banana', 'Apple', 'Pear', 'Orange'), variety; Could you help me

Re: Multiple indexes

2011-06-18 Thread shacky
2011/6/15 Edoardo Tosca e.to...@sourcesense.com: Try to use multiple cores: http://wiki.apache.org/solr/CoreAdmin Can I do concurrent searches on multiple cores?

Re: Multiple indexes

2011-06-18 Thread shacky
Il 18 giugno 2011 20:27, François Schiettecatte fschietteca...@gmail.com ha scritto: Sure. So I can have some searches similar to JOIN on MySQL? The problem is that I need at least two tables in which search data..

Multiple indexes

2011-06-15 Thread shacky
Hi. How to have multiple indexes in SOLR, with different fields and different types of data? Thank you very much! Bye.