Re: optimize boosting parameters

2020-12-07 Thread Radu Gheorghe
Hi Derek, Ah, then my reply was completely off :) I don’t really see a better way. Maybe other than changing termfreq to field, if the numeric field has docValues? That may be faster, but I don’t know for sure. Best regards, Radu -- Sematext Cloud - Full Stack Observability -

Re: optimize boosting parameters

2020-12-07 Thread Derek Poh
Hi Radu Apologies for not making myself clear. I would like to know if there is a more simple or efficient way to craft the boosting parameters based on the requirements. For example, I am using 'if', 'map' and 'termfreq' functions in the bf parameters. Is there a more efficient or simple

How to get the config set name of Solr core

2020-12-07 Thread Andreas Hubold
Hi, is there a way to get the name of the config set for an existing Solr core from a stand-alone Solr server (not SolrCloud)? I need the name of the config set to create another core with the same config. The actual use case here is to have a script that creates cores of the same config on

Re: is there a way to trigger a notification when a document is deleted in solr

2020-12-07 Thread Walter Underwood
That wouldn’t help, because that is a feature request to know when the space is recovered after documents are deleted. I’d look at what shows up in the logs when the delete happens. From that info, you could configure a log follower to notifiy. If your logs go to a log database, that probably

Re: list of all possible values for REQUESTSTATUS

2020-12-07 Thread Ilan Ginzburg
If you don't want to download the code, you can look at REQUESTSTATUS_OP in CollectionOperation (in CollectionsHandler.java). Ilan On Mon, Dec 7, 2020 at 4:57 PM

Re: Commits (with openSearcher = true) are too slow in solr 8

2020-12-07 Thread matthew sporleder
I would stick to soft commits and schedule hard-commits as spaced-out-as-possible in regular maintenance windows until you can find the culprit of the timeout. This way you will have very focused windows for intense monitoring during the hard-commit runs. On Mon, Dec 7, 2020 at 9:24 AM

Re: is there a way to trigger a notification when a document is deleted in solr

2020-12-07 Thread Alexandre Rafalovitch
Maybe a postCommit listener? https://lucene.apache.org/solr/guide/8_4/updatehandlers-in-solrconfig.html Regards, Alex. On Mon, 7 Dec 2020 at 08:03, Pushkar Mishra wrote: > > Hi All, > > Is there a way to trigger a notification when a document is deleted in > solr? Or may be when auto purge

list of all possible values for REQUESTSTATUS

2020-12-07 Thread elisabeth benoit
Hello all, I'm unloading a core with async param then sending query with request id http://localhost:8983/solr/admin/cores?action=UNLOAD=expressions=1001http://localhost:8983/solr/admin/cores?action=REQUESTSTATUS=1001 and would like to find a piece of doc with all possible values of

Re: is there a way to trigger a notification when a document is deleted in solr

2020-12-07 Thread Erick Erickson
No, it’s marked “unresolved”…. > On Dec 7, 2020, at 9:22 AM, Pushkar Mishra wrote: > > Hi All > https://issues.apache.org/jira/browse/SOLR-13609, was this fixed ever ? > > Regards > > On Mon, Dec 7, 2020 at 6:32 PM Pushkar Mishra wrote: > >> Hi All, >> >> Is there a way to trigger a

Re: Commits (with openSearcher = true) are too slow in solr 8

2020-12-07 Thread raj.yadav
Hi Folks, Do let me know if any more information required to debug this. Regards, Raj -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: is there a way to trigger a notification when a document is deleted in solr

2020-12-07 Thread Pushkar Mishra
Hi All https://issues.apache.org/jira/browse/SOLR-13609, was this fixed ever ? Regards On Mon, Dec 7, 2020 at 6:32 PM Pushkar Mishra wrote: > Hi All, > > Is there a way to trigger a notification when a document is deleted in > solr? Or may be when auto purge gets complete of deleted documents

Re: doc for REQUESTSTATUS

2020-12-07 Thread Radu Gheorghe
Hi Elisabeth, This is the doc for REQUESTSTATUS, apparently only request ID is supported indeed: https://lucene.apache.org/solr/guide/8_6/coreadmin-api.html#coreadmin-requeststatus Best regards, Radu -- Sematext Cloud - Full Stack Observability - https://sematext.com Solr and Elasticsearch

Re: optimize boosting parameters

2020-12-07 Thread Radu Gheorghe
Hi Derek, It’s hard to tell whether your boosts can be made better without knowing your data and what users expect of it. Which is a problem in itself. I would suggest gathering judgements, like if a user queries for X, what doc IDs do you expect to get back? Once you have enough of these

Re: What's the most efficient way to check if there are any matches for a query?

2020-12-07 Thread Colvin Cowie
Thanks for the suggestions. At some point I'll have to actually put it to the test and see what impact everything has. Cheers On Sat, 5 Dec 2020 at 13:31, Erick Erickson wrote: > Have you looked at the Term Query Parser (_not_ the TermS Query Parser) > or Raw Query Parser? > >

Re: Collection deleted still in zookeeper

2020-12-07 Thread Erick Erickson
What should happen when you delete a collection and _only_ that collection references the configset has been discussed several times, and… whatever is chosen is wrong ;) 1> if we delete the configset, then if you want to delete a collection to insure that you’re starting all over for whatever

is there a way to trigger a notification when a document is deleted in solr

2020-12-07 Thread Pushkar Mishra
Hi All, Is there a way to trigger a notification when a document is deleted in solr? Or may be when auto purge gets complete of deleted documents in solr? Thanks -- Pushkar Kumar Mishra "Reactions are always instinctive whereas responses are always well thought of... So start responding rather

Re: Collection deleted still in zookeeper

2020-12-07 Thread Marisol Redondo
Thanks Erick for the answer, you gave me the clue to find the issue. The real problem is that when I removed the collection using the solr API (http://solrintance:port/solr/admin/collections?action=DELETE=collectionname) the config files are not deleted. I don't know if this is the normal

Migrating from solr 7.7 to solr 8.6 issues

2020-12-07 Thread Abhishek Mishra
We are trying to migrate from solr 7.7 to solr 8.6 on Kubernetes. We are using zookeeper-3.4.13. While adding a replica to the cluster, it returns 500 status code. While in the background it is added sometimes successfully while sometime it is in the inactive node. We are using http2 without SSL.

doc for REQUESTSTATUS

2020-12-07 Thread elisabeth benoit
Hello all, I'm unloading a core with async param then sending query with request id http://localhost:8983/solr/admin/cores?action=UNLOAD=expressions=1001 http://localhost:8983/solr/admin/cores?action=REQUESTSTATUS=1001 and would like to find a piece of doc with all possible values of

Inconsistent recovery status of replicas

2020-12-07 Thread Abhishek Mishra
Hello guys I am using Solr cloud 7.7 on Kubernetes. During the adding of replica sometimes we see inconsistency after successful addition nodes go to recovery status sometimes it takes 2-3 minute to recover while sometimes it takes more than an hour. We are getting this error. We have 4 shards

optimize boosting parameters

2020-12-07 Thread Derek Poh
Hi I have added the following boosting requirements to the search query of a page. Feedback from monitoring team is that the overall response of the page has increased since then. I am trying to find out if the added boosting parameters (below) could have contributed to the increased. The