Re: parent/child rows in solr

2018-09-07 Thread Shawn Heisey
On 9/7/2018 7:44 PM, John Smith wrote: Thanks Shawn, for your comments. The reason why I don't want to go flat file structure, is due to all the wasted/duplicated data. If a department has 100 employees, then it's very wasteful in terms of disk space to repeat the header data over and over

Re: parent/child rows in solr

2018-09-07 Thread John Smith
Thanks Shawn, for your comments. The reason why I don't want to go flat file structure, is due to all the wasted/duplicated data. If a department has 100 employees, then it's very wasteful in terms of disk space to repeat the header data over and over again, 100 times. In this example there is

Re: local "q.op=AND" ignored for edismax query

2018-09-07 Thread Shawn Heisey
On 9/7/2018 6:59 PM, dshih wrote: Query: /select?q={!q.op=AND}mysearchtext*=edismax=true Result: "querystring": "{!q.op=AND}mysearchtext*", "parsedquery": "+DisjunctionMaxQuery(((Synonym(text:q text:qopandmysearchtext text:{!q.op=and}mysearchtext*) text:op text:and text:mysearchtext)))" In the

Re: parent/child rows in solr

2018-09-07 Thread Shawn Heisey
On 9/7/2018 3:06 PM, John Smith wrote: Hi, I have a document structure like this (this is a made up schema, my data has nothing to do with departments and employees, but the structure holds true to my real data): department 1 employee 11 employee 12 employee 13 room 11

local "q.op=AND" ignored for edismax query

2018-09-07 Thread dshih
SOLR 7.4.0 Apologies if this has been answered, but I can't find the answer for the life of me if it has been. Query: /select?q={!q.op=AND}mysearchtext*=edismax=true Result: "querystring": "{!q.op=AND}mysearchtext*", "parsedquery": "+DisjunctionMaxQuery(((Synonym(text:q text:qopandmysearchtext

Re: SolrCloud CDCR with 3+ DCs

2018-09-07 Thread Amrit Sarkar
Yeah, I am not sure about how the Authentication band aid feature will work, the mentioned stackoverflow link. It is about time we include basic authentication support in CDCR. On Thu, 6 Sep 2018, 8:41 pm cdatta, wrote: > Hi Amrit, Thanks for your response. > > We wiped out our complete

unregistered

2018-09-07 Thread sirenfei
unregistered

Solr CDCR replication not working

2018-09-07 Thread Amrit Sarkar
Basic Authentication in clusters is not supported as of today in CDCR. On Fri, 7 Sep 2018, 4:53 pm Mrityunjaya Pathak, wrote: > I have setup two solr cloud instances in two different Datacenters Target > solr cloud machine is copy of source machine with basicAuth enabled on > them. I am unable

parent/child rows in solr

2018-09-07 Thread John Smith
Hi, I have a document structure like this (this is a made up schema, my data has nothing to do with departments and employees, but the structure holds true to my real data): department 1 employee 11 employee 12 employee 13 room 11 room 12 room 13 department 2 employee

Re: Solr metric for finding number of merges in progress

2018-09-07 Thread Nawab Zada Asad Iqbal
Actually, i found this after posting; (still if someone has more to offer, please reply) https://lucene.apache.org/solr/guide/7_0/metrics-reporting.html#index-merge-metrics On Fri, Sep 7, 2018 at 12:13 PM Nawab Zada Asad Iqbal wrote: > Hi, > > Does Solr expose a metric to find the number of

Solr metric for finding number of merges in progress

2018-09-07 Thread Nawab Zada Asad Iqbal
Hi, Does Solr expose a metric to find the number of segment merges which are in progress? Thanks Nawab

Re: Corrupt Index error on Target cluster

2018-09-07 Thread Susheel Kumar
No. The solr i have is 6.6. On Fri, Sep 7, 2018 at 10:51 AM Stephen Bianamara wrote: > I've gotten incorrect checksums when upgrading solr versions across the > cluster. Or in other words, when indexing into a mixed version cluster. Are > you running mixed versions by chance? > > On Fri, Sep 7,

Re: Solr range faceting

2018-09-07 Thread Erick Erickson
Oh, indeed if you changed anything about the field definition and did _not_ reindex everything from scratch your results are unreliable. I'm overstating the case, but it'll do for now. For instance, your facet counts should be find if you changed the stored parameter for instance, but anything

Re: MLT in Cloud Mode - Not Returning Fields?

2018-09-07 Thread Erick Erickson
If this is still a problem in master/7x then a JIRA is in order. On Fri, Sep 7, 2018 at 7:40 AM Doug Turnbull wrote: > > Looks like this is indeed a bug > > My colleague debugged this behavior and it turns out that Solr only > requests id and score from the shards, and not the user-specified

Re: Solr 7.4 and log4j2 JSONLayout

2018-09-07 Thread Shawn Heisey
On 9/6/2018 7:46 AM, Michael Aleythe, Sternwald wrote: I'm trying to edit the log4j2 logging configuration for solr. The goal is to get a log file in json format. I configured the the JSONLayout for this purpose inside the rollingFile appender in the log4j2.xml. After this solr stops logging

Re: Expected mime type application/octet-stream but got text/html

2018-09-07 Thread Shawn Heisey
On 9/6/2018 12:29 PM, nalsrini wrote: Here is the error message I am getting: https://screencast.com/t/XwEjA22jX Alexandre covered things quite well.  It looks like you're using an invalid URL. Your original message shows this code: SolrClient client = new

Re: Solr memory reqs for time-sorted data

2018-09-07 Thread Shawn Heisey
On 9/7/2018 8:39 AM, Pavel Micka wrote: I found on wiki (https://wiki.apache.org/solr/SolrPerformanceProblems#RAM) that optimal amount of RAM for SOLR is equal to index size. This is lets say the ideal case to have everything in memory. I wrote that page. We plan to have small installation

Re: Corrupt Index error on Target cluster

2018-09-07 Thread Stephen Bianamara
I've gotten incorrect checksums when upgrading solr versions across the cluster. Or in other words, when indexing into a mixed version cluster. Are you running mixed versions by chance? On Fri, Sep 7, 2018, 6:07 AM Susheel Kumar wrote: > Anyone has insight / have faced above errors ? > > On

Re: Keystore and Password is displayed in Dashboard

2018-09-07 Thread Steve Rowe
Hi, Which version of Solr are you using? AFAIK this was fixed in Solr 6.6: https://issues.apache.org/jira/browse/SOLR-10076 . However, prior to Solr 7.0, sensitive property redaction was not enabled by default. To enable, set system property solr.redaction.system.enabled=true . -- Steve

Re: MLT in Cloud Mode - Not Returning Fields?

2018-09-07 Thread Doug Turnbull
Looks like this is indeed a bug My colleague debugged this behavior and it turns out that Solr only requests id and score from the shards, and not the user-specified field list. You can see that on this line

Solr memory reqs for time-sorted data

2018-09-07 Thread Pavel Micka
Hi, I found on wiki (https://wiki.apache.org/solr/SolrPerformanceProblems#RAM) that optimal amount of RAM for SOLR is equal to index size. This is lets say the ideal case to have everything in memory. We plan to have small installation with 2 nodes and 8shards. We'll have inside the cluster

RE: Re: Multi word searching is not working getting random search results

2018-09-07 Thread Muddapati, Jagadish
Hi Susheel, Thanks for your response. Well If I use plural also it is giving the same results and the Solr is not finding the 2 different words that is in the same page. I am trying to figure out how to pass the query to find the results while doing multi word search in same page. Thanks,

Keystore and Password is displayed in Dashboard

2018-09-07 Thread cyndefromva
I have configured my solr instance to use ssl and it's working as expected. However, the keystore password is being displayed when I access the Solr Dashboard. Is there a way to hide this? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Corrupt Index error on Target cluster

2018-09-07 Thread Susheel Kumar
Anyone has insight / have faced above errors ? On Thu, Sep 6, 2018 at 12:04 PM Susheel Kumar wrote: > Hello, > > We had a running cluster with CDCR and there were some issues with > indexing on Source cluster which got resolved after restarting the nodes > (in my absence...) and now I see

Re: SynonimGraphFilter expands wrong synonims

2018-09-07 Thread Andrea Gazzarini
And as you probably already checked, inserting the proper *tokenizerFactory* also expands the right synonym line: q = (body:"Cytosolic 5'-nucleotidase II"  OR body:"EC 3.1.3.5") parsedQuery = SpanOrQuery(spanOr([body:p49902, spanNear([body:cytosol, body:purin, body:5, body:nucleotidas], 0,

Solr CDCR replication not working

2018-09-07 Thread Mrityunjaya Pathak
I have setup two solr cloud instances in two different Datacenters Target solr cloud machine is copy of source machine with basicAuth enabled on them. I am unable to see any replication on target. Solr Version :6.6.3 I have done config changes as suggested on

Solr CDCR replication not working

2018-09-07 Thread Mrityunjaya Pathak
I have setup two solr cloud instances in two different Datacenters Target solr cloud machine is copy of source machine with basicAuth enabled on them. I am unable to see any replication on target. Solr Version :6.6.3 I have done config changes as suggested on

Re: regarding 'sharedlib' in solr

2018-09-07 Thread Vincenzo D'Amore
Usually sharedlib is a path to a directory that contains .jar files, then added to the Solr classpath. For example I've used sharedlib to deploy a jar where is a the implementation of a custom plugin for Solr that extends ExtendedDismaxQParserPlugin. On Fri, Sep 7, 2018 at 12:57 PM Andrea

Re: regarding 'sharedlib' in solr

2018-09-07 Thread Andrea Gazzarini
Hi, please expand a bit. Specifically: * what are those text files? Configuration files? You want something like a central point where to manage things like stopwords, synonyms? * I don't think the shareLib folder has been created for this usage. However, please post the complete message

regarding 'sharedlib' in solr

2018-09-07 Thread Abhishek Agarwal
Hi, I want to share a folder containing text files in solr among different cores so if the folder is updated ,so it would reflect in all the cores having path specified but the problem I am facing is that , i am using sharedlib in solr.xml and specifying the default path there.And also I am

RE: Replicas do not come up after nodes are restarted in SOLR cloud

2018-09-07 Thread Sudip Mukherjee
Hi Shawn, Thanks for the insights. I verified the points you mentioned, Socket timeout defaults weren't changed. Both nodes (two different hosts, windows OS ) are given heap space of 4GB. They are having two Collections as of now. One is without replicas but with 8 shards on each node. One is

Solr upgrade issues

2018-09-07 Thread Srinivas Kashyap
Hi, We are in the process of upgrading Solr from solr 5.2.1 to solr 7.4.0 and I'm facing below issues. Please help me in resolving. 1)HttpSolrClient tempClient = new HttpSolrClient.Builder("http://localhost:8983/solr;).build();

Re: Solr range faceting

2018-09-07 Thread Dwane Hall
Thanks Erick, The field is defined as a pfloat. I took your advice and tried smaller result range and the counts look good. I might try an index rebuild I’m wondering if the data has somehow been corrupted by a combination of old and new index mappings. Thanks again for your assistance.

AW: Solr 7.4 and log4j2 JSONLayout

2018-09-07 Thread Michael Aleythe, Sternwald
Hey, I tried solr/server/lib/ext and solr/server/lib. I also tried without them but it doesn't change anything. Best regards Michael -Ursprüngliche Nachricht- Von: Varun Thacker Gesendet: Donnerstag, 6. September 2018 16:23 An: solr-user@lucene.apache.org Betreff: Re: Solr 7.4 and