Re: Solr - zkRun problem

2019-09-05 Thread Tamás Barta
v parameter when starting the container. As you said > the problem emerges only when restarting this would be my guess. > > Regards, > Bruno > > On Thu, Sep 5, 2019 at 1:19 AM Tamás Barta wrote: > > > Hi, > > > > I use Solr Cloud with 3 ZK nodes in productio

Solr - zkRun problem

2019-09-05 Thread Tamás Barta
Hi, I use Solr Cloud with 3 ZK nodes in production and it is good. Now I try to create a "simple" Solr docker container in a test environment. I don't want to create ZK nodes too so I run solr with the -DzkRun parameter to start embedded Zookeeper. After it start I uploaded my configuration to ZK

Re: Dynamic filters

2018-10-02 Thread Tamás Barta
Thank you for the answers! Is it possible to get the facet result and the search results with only one query? Or I have to send two queries for the Solr (one for search results and one for facets)? On Tue, Oct 2, 2018 at 1:02 PM Shawn Heisey wrote: > On 10/2/2018 4:55 AM, Tamás Barta wr

Dynamic filters

2018-10-02 Thread Tamás Barta
Hi, I have been using Solr for a while for an online web store. After search a filter box appears where user can filter results by many attributes. My question is how can I do it with Solr that he filter box show only available options based on result. For example if attribute "type" can be 1, 2,

Re: How to avoid warning message

2018-02-01 Thread Tamás Barta
Hi, Thank you for your response. I managed to find the solution. At client side I have to set -Dzookeeper.sasl.client=false system property to disable SASL authentication. On Wed, Jan 31, 2018 at 6:15 PM, Shawn Heisey wrote: > On 1/31/2018 9:07 AM, Tamás Barta wrote: > >> I'm

How to avoid warning message

2018-01-31 Thread Tamás Barta
Hi, I'm using Solr 6.6.2 and I use Zookeeper too handle Solr cloud. In Java client I use SolrJ this way: *client = new CloudSolrClient.Builder().withZkHost(zkHostString).build();* In the log I see the followings: *WARN [org.apache.zookeeper.SaslClientCallbackHandler] Could not login: the Clie

We are not the leader

2016-08-16 Thread Tamás Barta
Hi, We have two Solr 5.4.1 instances running in a ZK cluster. The system worked well for month but now something happened. Node1 is in "recovery" state (we didn't restarted it and didn't do anything with it) and Node2 is the only active. The problem is that Node2 says that "We are not the leader"

Re: Cluster

2016-04-07 Thread Tamás Barta
hat it sounds like is that you're running embedded zookeeper so > that when you down a node, you're _also_ taking down a Zookeeper. > > Best > Erick > > > On Thu, Apr 7, 2016 at 5:49 AM, Shawn Heisey wrote: > > On 4/7/2016 5:04 AM, Tamás Barta wrote: > >> Th

Re: Cluster

2016-04-07 Thread Tamás Barta
you have just 2, so quorum is not reached for leader > selection. That's why it is adviced to run odd number of nodes and minimum > is 3. Hope that helps > > -Original Message- > From: "Tamás Barta" > Sent: ‎07-‎04-‎2016 04:17 PM > To: "solr-user@lu

Re: Cluster

2016-04-07 Thread Tamás Barta
at 11:32 AM, Tamás Barta wrote: > Hi, > > I'm new to Solr so maybe I don't understand Solr cluster right. I would > like to create a two-node cluster and the system should work if one of the > nodes is down. > > I created a collection in a node and set the other as

Cluster

2016-04-07 Thread Tamás Barta
Hi, I'm new to Solr so maybe I don't understand Solr cluster right. I would like to create a two-node cluster and the system should work if one of the nodes is down. I created a collection in a node and set the other as replication. Now when I open Cloud Graph I can see that one of the nodes is L

Re: Sorting question

2016-04-04 Thread Tamás Barta
re displayed. > >> > >> If I had enough control to do this in code, behind the scenes, I'd grab > >> that second part of the listops field, put it into a variable on each > >> object and then sort by that. Then I'd return the entire list to the > UI. > >&

Re: Sorting question

2016-04-01 Thread Tamás Barta
on the web page... But perhaps I'm not > > understanding your situation well enough... > > > > Oh - are you perhaps saying that your ONLY criteria for getting these > > documents is the list number? That would make sense, although there may > > still be room fo

Re: Sorting question

2016-04-01 Thread Tamás Barta
... > > Oh - are you perhaps saying that your ONLY criteria for getting these > documents is the list number? That would make sense, although there may > still be room for sorting based on some kind of logic / data point outside > of SOlR. You could get all the documents associated to lis

Re: Sorting question

2016-04-01 Thread Tamás Barta
having to resort to the clunky-feeling listpos > multivalued field... > > On Fri, Apr 1, 2016 at 10:32 AM, Tamás Barta wrote: > > > For example I have to display sellable products which are in list X in > the > > correct order. > > > > If I add a "status&quo

Re: Sorting question

2016-04-01 Thread Tamás Barta
For example I have to display sellable products which are in list X in the correct order. If I add a "status" and "list" (multivalued) fields to every document (products), then I can execute a query: status:sellable AND list:X, where X is the ID of the list. The list field contains IDs of the list

Sorting question

2016-04-01 Thread Tamás Barta
Hi, I have a problem and I don't know how should I solve it in Solr. I have products indexed. Every product can be in lists. It is possible that a product isn't in any list or it is in multiple list. In a list the products are ordered. I would like to search for products in a specified list with