User access to deployed Solr instance

2022-09-22 Thread Victoria Stuart (VictoriasJourney.com)
I have a standalone instance of Solr 8.11 secured with SSL and Basic Authentication. I also have a website with registered users' credentials (username, password, ...) stored in a MySQL database. Questions: 1. What is the best way to allow registered users access to a Solr core (and unregiste

Why solr error in logs when adding documents

2022-09-22 Thread Sai Teja
I am getting Error when am adding document. My process will be deleting document with id and adding whole document again. I am using spring boot solr to do this operations. Most of the time document is added but some time I see it is missing in solr 9 logs I see this error I don't have groups valu

Re: The logging of Solr queries

2022-09-22 Thread Walter Underwood
I’ve always used the HTTP (access) log. In that, queries to shards are POST requests, so if the external requests are all GET, they are easy to sort out. wunder Walter Underwood https://observer.wunderwood.org/ > On Sep 22, 2022, at 7:02 PM, Shawn Heisey wrote: > > On 9/22/22 09:17, Anjali

Re: User access to deployed Solr instance

2022-09-22 Thread Eric Pugh
I think if you understand certbot/nginx, then no problems. I find it rather opaque, and I like that Caddy is bundling in a number of features to make “do the right thing” easier! > On Sep 22, 2022, at 1:00 PM, dmitri maziuk wrote: > > On 2022-09-22 11:40 AM, Eric Pugh wrote: >> A colleague o

Re: The logging of Solr queries

2022-09-22 Thread Shawn Heisey
On 9/22/22 09:17, Anjali Maurya wrote: Thanks Shawn for the suggestion. Can we make any change for the logging of only top level query not the shard level? I just tried doing a query on my tiny 9.1.0-SNAPSHOT SolrCloud install that consists of one node, one shard, and one core, with ZK embedde

Re: User access to deployed Solr instance

2022-09-22 Thread dmitri maziuk
On 2022-09-22 11:40 AM, Eric Pugh wrote: A colleague of mine just trialed using https://caddyserver.com/, which makes the SSL certificate aspects MUCH simpler than in nginx. I don’t have a public demonstration to show you, but hope to soon. That's cool but as a completely OT note, was ther

Re: User access to deployed Solr instance

2022-09-22 Thread Eric Pugh
A colleague of mine just trialed using https://caddyserver.com/, which makes the SSL certificate aspects MUCH simpler than in nginx. I don’t have a public demonstration to show you, but hope to soon. > On Sep 22, 2022, at 11:18 AM, dmitri maziuk wrote: > > On 2022-09-21 6:35 PM, Victoria S

Re: User access to deployed Solr instance

2022-09-22 Thread dmitri maziuk
On 2022-09-21 6:35 PM, Victoria Stuart (VictoriasJourney.com) wrote: I have a standalone instance of Solr 8.11 secured with SSL and Basic Authentication. I also have a website with registered users' credentials (username, password, ...) stored in a MySQL database. Questions: 1. What is the b

Re: The logging of Solr queries

2022-09-22 Thread Anjali Maurya
> > If you have left the logging at the default level of INFO, then every > query should be logged, both top level and shard. If you turned down the logging level to WARN or ERROR, then no queries > will be logged, because they are logged at INFO. Logging in 6.5 used a destination of log4j 1.2,

Re: The logging of Solr queries

2022-09-22 Thread Shawn Heisey
On 9/22/22 03:29, Anjali Maurya wrote: We have moved from Solr 6.5 to Solr cloud 8.10 . Due to distributed search, multiple queries (complete query and sub-query) are being generated and get logged. So, I want to know, is there any way to control the logging of sub-query or how can we make chang

Re: Stream Expression Count matches

2022-09-22 Thread Joel Bernstein
It would also be good to map the null expression to a "tupleCount" function name so its more intuitive. I will create a ticket for this. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Sep 22, 2022 at 9:31 AM Joel Bernstein wrote: > There is an undocumented "null" expression which will r

Re: Stream Expression Count matches

2022-09-22 Thread Joel Bernstein
There is an undocumented "null" expression which will return the count: null(expr()) It would of course be good to document this expression. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Sep 20, 2022 at 10:08 AM Sergio García Maroto wrote: > Hi, > > I am trying to find a way to get th

Solr Query to Get Unique records plus backFill.

2022-09-22 Thread Daxesh Parmar
If we want to get the unique value in results based on certain field than we can do a collapse on the field and Get the result based on the sort we provide. let say I want to fetch X number of results, for those what I need is 1. Get all the unique values 2. If records are less than X, then fetch

The logging of Solr queries

2022-09-22 Thread Anjali Maurya
Hi all, We have moved from Solr 6.5 to Solr cloud 8.10 . Due to distributed search, multiple queries (complete query and sub-query) are being generated and get logged. So, I want to know, is there any way to control the logging of sub-query or how can we make changes at logging level? Thanks

Re: Which method is more performant? SubQueries or Collapsing the results?

2022-09-22 Thread Daxesh Parmar
Hii Mikhail. Had one doubt regarding the internal workings of Sub-queries. Suppose we have total records 1000. And we are fetching 20 records in single query. so the Sub-queries will be fired for all 1000 docs or for the only 20 that we have fetched. Thanks in Advance On Wed, Sep 21, 2022, 2:15