Re: How is fieldNorm calculated when omitNorms is set to true?

2022-09-19 Thread Stian Brattland
Hi Thomas,

Yes, it may be about time to upgrade from 3.2.0. I think I will have to
look into that. Thanks for sharing your insight and configuration example.

Kind regards,
Stian



søn. 18. sep. 2022 kl. 16:21 skrev Thomas Corthals :

> Hi Stian,
>
> We have the same issue with our documents. I fixed that by setting b = 0 in
> our schema for BM25 similarity.
>
> 
> 0
> 
>
> I don't know if BM25 can be used with your version of Solr. Personally I
> think it's worth upgrading for.
>
> Thomas
>
>
> Op za 17 sep. 2022 om 19:30 schreef Stian Brattland :
>
> > Hi,
> >
> > I have a Solr (3.2.0) instance with omitNorms=true on all fields. This
> has
> > been done in an attempt to not penalize documents which have many terms.
> >
> > What puzzles me is that, despite omitNorms=true, the fieldNorm is still
> > calculated and affects the score.
> >
> > ---
> > 3.7455106 = (MATCH) fieldWeight(track_hierarchynode:pop in 258465),
> > product of:
> > 2.236068 = tf(termFreq(track_hierarchynode:pop)=5)
> > 6.700173 = idf(docFreq=6960, maxDocs=2080776)
> > 0.25 = fieldNorm(field=track_hierarchynode, doc=258465)
> > ---
> >
> > How is the fieldNorm value calculated when omitNorms=true?
> >
> > Kind regards,
> > Stian Brattland
> >
>


ANN: ApacheCON "BoaF" for Solr

2022-09-19 Thread David Smiley
FYI
I arranged for a Solr Birds of a Feather (BoaF) session at ApacheCon, on
Wednesday October 5th, 5:50-6:30 pm.  You will see it in the Expo Pass
app.  I expect it'll be relatively informal; a good time to meet 'n greet,
and make dinner arrangements with community members.

~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley


Re: Backup and restore collections and configsets in Solr 8.11.2

2022-09-19 Thread Kaushal Shriyan
On Fri, Sep 16, 2022 at 8:46 PM Kaushal Shriyan 
wrote:

> Hi,
>
> I am running Solr 8.11.2 (2 nodes) and Zookeeper version: 3.7.0 ( 3 nodes
> -> 1 Leader and 2 Followers) on Linux release 7.9.2009 (Core).
>
> 1.Is there a way to back up the collections and configsets by referring to
> the above distributed cluster.
> 2. Difference between collections and configsets
>
> Thanks in advance. Please guide and I look forward to hearing from you.
>
> Best Regards,
>
> Kaushal
>
>
Hi,

I will appreciate it if someone can pitch in for my earlier post to this
mailing list and need guidance in this regard. I look forward to hearing
from you. Thanks in advance.

Best Regards,

Kaushal


Re: DELETESTTAUS API throws exception

2022-09-19 Thread Natarajan, Rajeswari
Here is the JIRA
https://issues.apache.org/jira/browse/SOLR-16415
Thanks,
Rajeswari

From: Anshum Gupta 
Date: Wednesday, September 14, 2022 at 3:32 PM
To: users@solr.apache.org 
Subject: Re: DELETESTTAUS API throws exception
Hi Rajeswari,

This does seem like a bug. Can you please file a JIRA here
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fprojects%2FSOLR&data=05%7C01%7Crajeswari.natarajan%40sap.com%7C689428b197b24fa126c408da96a0f7f1%7C42f7676cf455423c82f6dc2d99791af7%7C0%7C0%7C637987915355936029%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QR%2F3Cg6u%2BUzqpi0YvmHL4c16AWp5gqT2Bb%2BX3I%2FyTas%3D&reserved=0
 .

On Wed, Sep 14, 2022 at 2:35 PM Natarajan, Rajeswari
 wrote:

> This seems to be a bug ,let me know if I need to create a JIRA for
> DELETEStatusAPI
>
> Thanks,
> Rajeswari
>
> From: Natarajan, Rajeswari 
> Date: Friday, September 9, 2022 at 1:55 PM
> To: users@solr.apache.org 
> Subject: DELETESTTAUS API throws exception
> Hi All,
>
> When calling  the DELETESTATUS API to clear all the stored statues as below
>
> http://localhost:8983/solr/admin/collections?action=DELETESTATUS&flush=true
>
> throws exception
>
>
> KeeperErrorCode = Directory not empty for
> /overseer/collection-map-completed/mn-.auto_add_replicas
>
> at
> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:681)
> ~[solr-solrj-8.11.1.jar!/:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 -
> janhoy - 2021-12-14 13:50:57]
>
> at
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:266)
> ~[solr-solrj-8.11.1.jar!/:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 -
> janhoy - 2021-12-14 13:50:57]
>
> at
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248)
> ~[solr-solrj-8.11.1.jar!/:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 -
> janhoy - 2021-12-14 13:50:57]
>
> at
> org.apache.solr.client.solrj.impl.LBSolrClient.doRequest(LBSolrClient.java:369)
> ~[solr-solrj-8.11.1.jar!/:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 -
> janhoy - 2021-12-14 13:50:57]
>
> at
> org.apache.solr.client.solrj.impl.LBSolrClient.request(LBSolrClient.java:297)
> ~[solr-solrj-8.11.1.jar!/:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 -
> janhoy - 2021-12-14 13:50:57]
>
> at
> org.apache.solr.client.solrj.impl.BaseCloudSolrClient.sendRequest(BaseCloudSolrClient.java:1171)
> ~[solr-solrj-8.11.1.jar!/:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 -
> janhoy - 2021-12-14 13:50:57]
>
> at
> org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:934)
> ~[solr-solrj-8.11.1.jar!/:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 -
> janhoy - 2021-12-14 13:50:57]
>
> at
> org.apache.solr.client.solrj.impl.BaseCloudSolrClient.request(BaseCloudSolrClient.java:866)
> ~[solr-solrj-8.11.1.jar!/:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 -
> janhoy - 2021-12-14 13:50:57]
>
> at
> org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:214)
> ~[solr-solrj-8.11.1.jar!/:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 -
> janhoy - 2021-12-14 13:50:57]
>
> at
> org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:231)
> ~[solr-solrj-8.11.1.jar!/:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 -
> janhoy - 2021-12-14 13:50:57]
>
>
> After deleting the znode manually
> /overseer/collection-map-completed/mn-.auto_add_replicas , the api worked.
> Is this expected behavior.
>
>
> Thanks,
> Rajeswari
>


--
Anshum Gupta