Solr 7.3 cluster issue

2019-12-27 Thread David Barnett
Happy holidays folks, we have a production deployment usage Solr 7.3 in a three node cluster we have a number of collections setup, three shards with a replica factor of 2. The system has been fine, but we experienced issues with disk space one of the nodes. Node 0 starts but does not show any

Re: does copyFields increase indexe size ?

2019-12-27 Thread Shawn Heisey
On 12/26/2019 1:21 PM, Nicolas Paris wrote: Below a part of the managed-schema. There is 1k section* fields. The second experience, I removed the copyField, droped the collection and re-indexed the whole. To mesure the index size, I went to solr-cloud and looked in the cloud part: 40GO per

Re: Boosting only top n results that match a criteria

2019-12-27 Thread Nitin Arora
Simply boosting on class A1 won't work since there may be many documents from that class, all getting equal boost. I want only top 5 docs of that class to get the boost. On Fri, 27 Dec 2019 at 22:42, Erick Erickson wrote: > Yes. Rerank essentially takes the top N results of one query and

Re: Boosting only top n results that match a criteria

2019-12-27 Thread Nitin Arora
It sounds like this will work. Can we do it in a single query? Something like: OR ( AND class=A1 AND rows=5)^high_boost I am not good with SOLR syntax and need you to validate if such a query will serve the purpose. On Fri, 27 Dec 2019 at 22:10, Walter Underwood wrote: > You could use two

Re: Boosting only top n results that match a criteria

2019-12-27 Thread Erick Erickson
Yes. Rerank essentially takes the top N results of one query and re-scores them through another query. So just boost the secondary query. But you may not even have to do that. Just add a boost clause to a single query and boost your class A1 quite high. See “boost” and/or “bq”. Best, Erick >

Re: Boosting only top n results that match a criteria

2019-12-27 Thread Walter Underwood
You could use two queries. Do the first with rows=5, then for the second use an fq that filters out the IDs of those five. You’ll need to do the first query again to do the second and further page of results statelessly, but that should still be pretty fast. wunder Walter Underwood

Re: Boosting only top n results that match a criteria

2019-12-27 Thread Nitin Arora
Hi Erick, I was not able to figure how exactly I will use RerankQParserPlugin to achieve the desired reranking. I see that I can rerank all the top RERANK_DOCS results - it is possible that they contain a hundred results of class A1 or none. But the desired behaviour I want is to pick (only) the

Re: Boosting only top n results that match a criteria

2019-12-27 Thread Nitin Arora
Hi Emir, This will filter my results to only include top 5 results from class A1. I want the other results to stay as is while boosting only the top 5 results of class A1. On Fri, 27 Dec 2019 at 19:19, Emir Arnautović wrote: > Hi Nitin, > Can you simply filter and return top 5: > >

Re: Exceptions in solr log

2019-12-27 Thread Erick Erickson
1> an incorrectly formed query has been sent to Solr. This is just a syntax error in the query. 2> Not sure about that one. 3> Older versions of Solr had a bogus error that would be generated by the admin UI, see: https://issues.apache.org/jira/browse/SOLR-8793 In future, it would help to see

Re: Boosting only top n results that match a criteria

2019-12-27 Thread Erick Erickson
Have you seen RerankQParserPlugin? Best, Erick > On Dec 27, 2019, at 8:49 AM, Emir Arnautović > wrote: > > Hi Nitin, > Can you simply filter and return top 5: > > ….=class:A1=5 > > Emir > -- > Monitoring - Log Management - Alerting - Anomaly Detection > Solr & Elasticsearch Consulting

Re: Boosting only top n results that match a criteria

2019-12-27 Thread Emir Arnautović
Hi Nitin, Can you simply filter and return top 5: ….=class:A1=5 Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 27 Dec 2019, at 13:55, Nitin Arora wrote: > > Hello, I have a complex solr

Boosting only top n results that match a criteria

2019-12-27 Thread Nitin Arora
Hello, I have a complex solr query with various boosts applied that returns, say a few hundred results. Out of these hundreds of results I want to further boost, say the top 5 results that satisfy a particular criteria - e.g. class=A1. So I want the top 5 results from class A1 in my existing