RE: SolrCloud one server with high load

2019-03-05 Thread Gael Jourdan-Weil
Thanks for these informations, I didn't know this notion of Overseer yet. When I say "high QPS", it's only queries. There is no document indexed at the time of this issue. I have two thread dumps took at a time we were having the issue: - one on the server having the issue (CPU~90%): https://pas

"dismax" parameter "bq" filters instead of boosting

2019-03-05 Thread Nicolas Franck
I noticed a change in the behaviour of the regular "dismax" parser. At least in version 7.4: when you add "bq", it filters the results (like "fq" does), instead of boosting the matches. e.g. defType=dismax bq=format:periodical^30 gives only records with format "periodical". removing the param

Run solrj in parallel how it works

2019-03-05 Thread sami
I am little bit confused about the parallel running option for solrj. How to configure the core and what it means exactly. Right now, i create a new core with Solr admin console. the main requirement is to have a conf folder with defined solrconfig.xml and data-config.xml. Now, i run my program as

AW: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-03-05 Thread paul.dodd
Hi Edwin Try for the first pattern/replacement [ \t]*\r?\n
Now all line endings and preceding whitespace characters should be changed to ‘’. The second pattern replacement should replace 3 or more ‘’ sequences to 2 ‘’ sequences: (

){3,}

Hope this approach

Some thoughts about CurrencyFieldType

2019-03-05 Thread teddie_lee
Hi all, Recently I used CurrencyFieldType to fulfill the currency exchange requirement of our app. After having some tests I found that the QTime of using frange query of this fieldtype is relatively slow, around 400 - 500 ms for 2million documents. Thus I went through the source code of Currenc

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-03-05 Thread Zheng Lin Edwin Yeo
Hi Paul, Thank you for the reply. I have tried to add the following configuration according to your suggestion: content [ \t]*\r?\n}
true content (

){3,}

true However, none of the \n is being removed this time round. Is the order and/or the patt

When solrcloud will support join between two collections

2019-03-05 Thread Jie Luo
Hi all, We are developing our search engine using solrcloud with multiple shards. We would like to join two collections. As far as I know joining two collections only works on standalone indexes, but does not work on distributed indexes such as solrcloud environment. I would like to know if y

Re: When solrcloud will support join between two collections

2019-03-05 Thread Jörn Franke
What is the purpose of the join? Maybe your requirements can be mapped differently than a join which is always costly. You could for instance load the data redundantly in both collections. However this depends on your exact use case. > Am 05.03.2019 um 18:35 schrieb Jie Luo : > > Hi all, > >

Re: When solrcloud will support join between two collections

2019-03-05 Thread Erick Erickson
Streaming already does. > On Mar 5, 2019, at 9:50 AM, Jörn Franke wrote: > > What is the purpose of the join? Maybe your requirements can be mapped > differently than a join which is always costly. You could for instance load > the data redundantly in both collections. However this depends on

Rule Based Auth - Permission to run select queries

2019-03-05 Thread Aroop Ganguly
Hi Team I am playing around with rule based auth and I wanted to create a role which is readonly. I gave the “read” permission to the role, but I am not able to get data from the /select handler. A simple select request results in this response: Error 403 Unauthorized request, Response code:

Re: RuleBasedAuthorizationPlugin configuration

2019-03-05 Thread Aroop Ganguly
Hi Dominique Were you able to resolve this ? I am also stuck with understanding a minimal permission-set to give to a readonly user to read from the /select endpoint. Regards Aroop > On Jan 1, 2019, at 11:23 PM, Dominique Bejean > wrote: > > Hi, > > I created a Jira issue > https://issues.

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-03-05 Thread Zheng Lin Edwin Yeo
Hi Paul, Further to my previous email, which there was an extra "}" in the configuration, I have changed to use the below configuration based on your suggestion. content [ \t]*\r?\n
true content (

){3,}

true However, the result that I get still ha

Re: Rule Based Auth - Permission to run select queries

2019-03-05 Thread Aroop Ganguly
Turns out I had to specify the path param to /select, while setting the permission. But this is random..I created a new permission and assigned it to the same user, and now the user with this role is able to get data. "set-permission": {"name": "read-collections", "role":"readonly","path":"/se

Re: Rule Based Auth - Permission to run select queries

2019-03-05 Thread Aroop Ganguly
I guess just mentioning path=“/select” is sufficient… The documentation does not explain this .. > On Mar 5, 2019, at 7:36 PM, Aroop Ganguly wrote: > > Turns out I had to specify the path param to /select, while setting the > permission. > > But this is random..I created a new permission and

Error when trying to create a collection with SolrCloud and Zookeeper Ensemble

2019-03-05 Thread maimuna ambareen
I received the below error when i tried to create a collection with SolrCloud and zookeepr ensemble. Can someone help me to resolve the error? { "responseHeader":{ "status":500, "QTime":2641}, "Operation create caused exception:":"org.apache.solr.common.SolrException:org.apache.solr.co

Error when trying to create a collection with SolrCloud and Zookeeper Ensemble

2019-03-05 Thread maimuna ambareen
I received the below error when i tried to create a collection with SolrCloud and zookeepr ensemble. Can someone help me to resolve the error? { "responseHeader":{ "status":500, "QTime":2641}, "Operation create caused exception:":"org.apache.solr.common.SolrException:org.apache.solr.co

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-03-05 Thread Zheng Lin Edwin Yeo
Hi Paul, I have modified the second pattern to be (
){3,}, instead of (

){3,}. This pattern of (

){3,} will actually look for 6 or more instead of 3 , as we have put the two times in the pattern, which is the reason that there are more in the result, as cases where there are

No registered leader was found after waiting for 1000ms in solr

2019-03-05 Thread maimuna ambareen
when i run the healthcheck command in solr : bin/solr healthcheck -c mypet -z x.x.x.x:2181 i am getting No registered leader was found after waiting for 1000ms However i am able to find other details and list of live nodes as well in the output. Can someone explain me the reason behind this erro

No registered leader was found after waiting for 1000ms in solr

2019-03-05 Thread maimuna ambareen
when i run the healthcheck command in solr : bin/solr healthcheck -c mypet -z x.x.x.x:2181 i am getting No registered leader was found after waiting for 1000ms However i am able to find other details and list of live nodes as well in the output. Can someone explain me the reason behind this erro

Re: No registered leader was found after waiting for 1000ms in solr

2019-03-05 Thread Furkan KAMACI
Hi Maimuna, Could you check here: https://stackoverflow.com/questions/47868737/solr-cloud-no-registered-leader-was-found-after-waiting-for-4000ms Kind Regards, Furkan KAMACI On Wed, Mar 6, 2019 at 10:25 AM maimuna ambareen wrote: > when i run the healthcheck command in solr : > bin/solr health