Constant score and stopwords strange behaviour

2020-06-24 Thread dbourassa
Hi, I'm working on a Solr core where we don't want to use TF-IDF (BM25). We rank documents with boost based on popularity, exact match, phrase match, etc. To bypass TF-IDF, we use constant score like this "q=harry^=0.5 potter^=0.5" (score is always 1 before boost) We have just noticed a strange b

Re: Solr 8.5.1 cannot add replica using solr admin UI

2020-06-24 Thread ChienHuaWang
Use Solr 8.5.1, no issue to add replica/collection from my side. What's the step you use? and for sure logs would be helpful -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Developing update processor/Query Parser

2020-06-24 Thread Mikhail Khludnev
Hello, Vincenzo. Presumably you can introduce a component which just holds a config data, and then this component might be lookedup from QParser and UpdateFactory. Overall, it seems like embedding logic into Solr core, which rarely works well. On Wed, Jun 24, 2020 at 8:00 PM Vincenzo D'Amore wrot

Solr 8.5.2: DataImportHandler failed to instantiate org.apache.solr.request.SolrRequestHandler

2020-06-24 Thread Peter van de Kerk
I'm migrating from solr v4.3.1 to v8.5.2 and using this guide: https://lucene.apache.org/solr/guide/8_5/installing-solr.html I can't get data-import handler to work. I wanted to create a new core and then copy my old data-config fields into it to get me a quick start. 1. I ran command `solr crea

Re: solr fq with contains not returning any results

2020-06-24 Thread yaswanth kumar
Thanks Erick, I have now added &debug=query and found a diff between old solr and new solr new solr (8.2) which is not giving results is as follows "debug":{ "rawquerystring":"*:*", "querystring":"*:*", "parsedquery":"MatchAllDocsQuery(*:*)", "parsedquery_toString":"*:*", "ex

SOLR CDCR fails with JWT authorization configuration

2020-06-24 Thread Phatkar, Swapnil (Contractor)
Hi Team , I am trying to configure CDCR for SOLR 8.4.1 . With the provided configuration I can able to replicate the indexes from Source server to Target server. This setup even works with SSL configuration using Https protocol. But the moment I have introduced JWT authorization by enforcing sec

Developing update processor/Query Parser

2020-06-24 Thread Vincenzo D'Amore
Hi all, I've started to work on a couple of components very tight together. An update processor that writes few fields in the solr index and a Query Parser that, well, then reads such fields from the index. Such components share few configuration parameters together, I'm asking if there is a patt

Re: Solr 8.5.1 cannot add replica using solr admin UI

2020-06-24 Thread Colvin Cowie
Have you checked the logs to see what is happening? What error messages are you getting? On Wed, 24 Jun 2020 at 15:23, Shreyas Kothiya < shreyas.koth...@archivesocial.com> wrote: > Hello > > I was trying to add replica using solr admin UI. but it seems not working > on solr 8.5.1 . > > I was not

Re: Solr caches per node or per core

2020-06-24 Thread Odysci
Thanks! Reinaldo On Wed, Jun 24, 2020 at 11:47 AM Emir Arnautović < emir.arnauto...@sematext.com> wrote: > Hi Reinaldo, > It is per core. Single node can have cores from different collections, > each configured differently. When you size caches from memory consumption > point of view, you have t

Re: [EXTERNAL] Getting rid of Master/Slave nomenclature in Solr

2020-06-24 Thread Mike Drob
Brend, I appreciate that you are trying to examine this issue from multiple sides and consider future implications, but I don’t think that is a stirring argument. By analogy, if we are out of eggs and my wife asks me to go to the store to get some, refusing to do so on the basis that she might cal

Re: Solr caches per node or per core

2020-06-24 Thread Emir Arnautović
Hi Reinaldo, It is per core. Single node can have cores from different collections, each configured differently. When you size caches from memory consumption point of view, you have to take into account how many cores will be placed on each node. Of course, you have to count replicas as well. H

Re: CDCR stress-test issues

2020-06-24 Thread matthew sporleder
On Wed, Jun 24, 2020 at 9:46 AM Oakley, Craig (NIH/NLM/NCBI) [C] wrote: > > In attempting to stress-test CDCR (running Solr 7.4), I am running into a > couple of issues. > > One is that the tlog files keep accumulating for some nodes in the CDCR > system, particularly for the non-Leader nodes in

Solr caches per node or per core

2020-06-24 Thread Odysci
Hi, I have a Solrcloud configuration with 2 nodes and 2 shards/2 replicas. I configure the sizes of the solr caches on solrconfig.xml, which I believe apply to nodes. But when I look at the caches in the Solr UI, they are shown per core (e.g., shard1_replica_N1). Are the cache sizes defined in th

Solr 8.5.1 cannot add replica using solr admin UI

2020-06-24 Thread Shreyas Kothiya
Hello I was trying to add replica using solr admin UI. but it seems not working on solr 8.5.1 . I was not able to find any bug around this. is this a known bug or do I need to change any-settings to enable this, Thanks

RE: Restored collection cluster status rendering some values as Long (as opposed to String for other collections)

2020-06-24 Thread Aliaksandr Asiptsou
Sorry I forgot to mention: we use Solr 8.3.1 Best regards, Aliaksandr Asiptsou From: Aliaksandr Asiptsou Sent: Wednesday, June 24, 2020 12:44 AM To: solr-user@lucene.apache.org Subject: Restored collection cluster status rendering some values as Long (as opposed to String for other collections)

CDCR stress-test issues

2020-06-24 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
In attempting to stress-test CDCR (running Solr 7.4), I am running into a couple of issues. One is that the tlog files keep accumulating for some nodes in the CDCR system, particularly for the non-Leader nodes in the Source SolrCloud. No quantity of hard commits seem to cause any of these tlog

Re: [EXTERNAL] Getting rid of Master/Slave nomenclature in Solr

2020-06-24 Thread Emir Arnautović
Hi all, Here is how I see it and explain to others that are not too familiar with Solr: Solr comes in two flavours - Cloud and Standalone. In any mode Solr writes to primary core(s). There is option to have different types of replicas, but in Standalone mode one can only have pull replica. In ad

Re: solr fq with contains not returning any results

2020-06-24 Thread Erick Erickson
You need to do several things to track down why. First, use something (admin UI, terms query, etc) to see exactly what’s in your index. The admin/analysis screen is useful here. Second, aldd &debug=query to the query on both machines and see what the actual parsed query looks like. Comparing tho

Re: solr fq with contains not returning any results

2020-06-24 Thread yaswanth kumar
"nsallschools":["BostonSchool"] That's how the data is stored against the field. We have a functionality where we can do "Starts with, Contains, Ends with"; Also if you look at the above schema we are using Also the strange part is that its working fine in Solr 5.5 b

Re: [EXTERNAL] Getting rid of Master/Slave nomenclature in Solr

2020-06-24 Thread Mark H. Wood
On Wed, Jun 24, 2020 at 12:45:25PM +0200, Jan Høydahl wrote: > Master/slave and standalone are used interchangably to mean zk-less Solr. I > have a feeling that master/slave is the more popular of the two, but > personally I have been using both. I've been trying to stay quiet and let the new-te

Re: [EXTERNAL] Getting rid of Master/Slave nomenclature in Solr

2020-06-24 Thread Jörn Franke
I agree with Bernd. I believe also that change is natural so eventually one needs to evolve the terminology or create a complete new product. To evolve the terminology one can write a page in the ref guide for translating it and over time adapt it in Solr etc. > Am 24.06.2020 um 13:30 schrieb

Re: Unexpected results using Block Join Parent Query Parser

2020-06-24 Thread Mikhail Khludnev
Jan, thanks for the clarification. Sure you can use {!parent which=class:section} for return children, which has a garndchildren matching subordinate query. Note: there's something about named scopes, which I didn't get into yet, but it might be relevant to the problem. On Wed, Jun 24, 2020 at 1:4

Re: replica deleted but directory remains

2020-06-24 Thread Odysci
Thanks! Reinaldo On Tue, Jun 23, 2020 at 6:27 PM Erick Erickson wrote: > In a word, “yes”. What it looks like is that the information in > Zookeeper has been updated to reflect the deletion. But since > node for some mysterious reason wasn’t available when the replica > was deleted, the data cou

Re: [EXTERNAL] Getting rid of Master/Slave nomenclature in Solr

2020-06-24 Thread Bernd Fehling
I'm following this thread now for a while and I can understand the wish to change some naming/wording/speech in one or the other programs but I always get back to the one question: "Is it the weapon which kills people or the hand controlled by the mind which fires the weapon?" The thread started w

Re: [EXTERNAL] Getting rid of Master/Slave nomenclature in Solr

2020-06-24 Thread Jan Høydahl
Master/slave and standalone are used interchangably to mean zk-less Solr. I have a feeling that master/slave is the more popular of the two, but personally I have been using both. Jan > 24. jun. 2020 kl. 06:34 skrev Noble Paul : > > Do we even call it the master/slave mode? I thought we had 2

Re: Unexpected results using Block Join Parent Query Parser

2020-06-24 Thread Jan Høydahl
I guess the key question here is whether «parent» in BlockJoin is strictly top-level parent/root, i.e. class:composition for the example in this tread? Or can {!parent} parser also be used to select the «child» level in a child/grandchild relationship inside a block? Jan > 24. jun. 2020 kl. 11

Re: [EXTERNAL] Getting rid of Master/Slave nomenclature in Solr

2020-06-24 Thread Paras Lehana
Distributer/Fetcher? On Wed, 24 Jun 2020 at 10:04, Noble Paul wrote: > Do we even call it the master/slave mode? I thought we had 2 modes > > * Standalone mode > * SolrCloud mode > > On Wed, Jun 24, 2020 at 3:00 AM Tomás Fernández Löbbe > wrote: > > > > I agree in general with what Trey and Jan

RE: Unexpected results using Block Join Parent Query Parser

2020-06-24 Thread Tor-Magne Stien Hagen
Thanks for your answer, What kind of rules exists for the which clause? In other words, how can you identify parents without using some sort of filtering? Tor-Magne Stien Hagen -Original Message- From: Mikhail Khludnev Sent: Wednesday, June 24, 2020 10:01 AM To: solr-user Subject: Re

RE: Java - setting multi-valued fields

2020-06-24 Thread Eivind Hodneland
Hi, Thanks for your input. However, this approach did not work either, it gave the same result as previously. Is there perhaps a different approach that could be used, other methods etc. ? Uptime Consulting | Eivind Hodneland | Senior Consultant | Munchs gate 7, NO-0165 Oslo, Norway Tel: +47

Re: Sorting in other collection in Solr 8.5.1

2020-06-24 Thread vishal patel
Forget this URL : https://drive.google.com/file/d/1Pw94topEJfarEA_P5JeiDOsHlvyACPK0/view My listing looks like : https://drive.google.com/file/d/1K51qUrrdbTV65Qh83ZQD5Dm94XNte7xa/view [https://lh3.googleusercontent.com/9JUR-

Re: Sorting in other collection in Solr 8.5.1

2020-06-24 Thread vishal patel
My listing looks like : https://drive.google.com/file/d/1Pw94topEJfarEA_P5JeiDOsHlvyACPK0/view ID, Form Title and Created Date are coming from form collection while My Tasks is coming from actionscomments collection. My listing fields are mapped with schema fields below: collection name Listing F

Re: Unexpected results using Block Join Parent Query Parser

2020-06-24 Thread Mikhail Khludnev
Hello, Please check warning box titled Using which https://lucene.apache.org/solr/guide/8_5/other-parsers.html#block-join-parent-query-parser On Wed, Jun 24, 2020 at 10:01 AM Tor-Magne Stien Hagen wrote: > Hi, > > I have indexed the following nested document in Solr: > > { > "id": "1", >

Re: solr fq with contains not returning any results

2020-06-24 Thread Jörn Franke
I don’t know your data, but could it be that you tokenize differently ? Why do you do the wildcard search at all? Maybe a different tokenizing strategy can bring you more effieciently results? Depends on what you need to achieve of course ... > Am 24.06.2020 um 05:37 schrieb yaswanth kumar : >

Unexpected results using Block Join Parent Query Parser

2020-06-24 Thread Tor-Magne Stien Hagen
Hi, I have indexed the following nested document in Solr: { "id": "1", "class": "composition", "children": [ { "id": "2", "class": "section", "children": [ { "id": "3", "class": "observ