Re: Lucene optimization to disable hit count

2019-11-20 Thread Wei
Thanks! Looking forward to have this feature in Solr. On Wed, Nov 20, 2019 at 5:30 PM Tomás Fernández Löbbe wrote: > Not yet: > https://issues.apache.org/jira/browse/SOLR-13289 > > On Wed, Nov 20, 2019 at 4:57 PM Wei wrote: > > > Hi, > > > > I see this lucene optimization to disable hit counts

Re: Lucene optimization to disable hit count

2019-11-20 Thread Tomás Fernández Löbbe
Not yet: https://issues.apache.org/jira/browse/SOLR-13289 On Wed, Nov 20, 2019 at 4:57 PM Wei wrote: > Hi, > > I see this lucene optimization to disable hit counts for better query > performance: > > https://issues.apache.org/jira/browse/LUCENE-8060 > > Is the feature available in Solr 8.3? > >

Lucene optimization to disable hit count

2019-11-20 Thread Wei
Hi, I see this lucene optimization to disable hit counts for better query performance: https://issues.apache.org/jira/browse/LUCENE-8060 Is the feature available in Solr 8.3? Thanks, Wei

Re: Active directory integration in Solr

2019-11-20 Thread Dave
I guess I don’t understand why one wouldn’t simply make a basic front end for solr, it’s literally the easiest thing to throw together and then you control all authentication and filters per user. Even a basic one would be some w3 school tutorials with php+json+whatever authentication Mech you

Re: Active directory integration in Solr

2019-11-20 Thread Jörn Franke
Well i propose for Solr Kerberos authentication on HTTPS (2) for the web ui backend. Then the web ui backend does any type of authentication / authorization of users you need. I would not let users access directly access Solr in any environment. > Am 20.11.2019 um 20:19 schrieb Kevin Risden :

Re: Possible data corruption in JavaBinCodec in Solr 8.3 during distributed update?

2019-11-20 Thread Noble Paul
Sure, looking forward to that thnaks On Thu, Nov 21, 2019 at 8:06 AM Colvin Cowie wrote: > > Hi, I'll share it when I'm back at work tomorrow. > > I've found that the issue appears to not be reproducible using the > solrconfig.xml in the _default example, so it must be something in ours (or > som

Re: fq pfloat_field:* returns no documents, tfloat:* does

2019-11-20 Thread Tomás Fernández Löbbe
Hi Webster, > The fq facet_melting_point:* "Point" numeric fields don't support that syntax currently, and the way to retrieve "docs with any value in field foo" is "foo:[* TO *]". See https://issues.apache.org/jira/browse/SOLR-11746 On Wed, Nov 20, 2019 at 2:21 PM Webster Homer < webster.ho...@

fq pfloat_field:* returns no documents, tfloat:* does

2019-11-20 Thread Webster Homer
The fq facet_melting_point:* Returns 0 rows. However the field clearly has data in it, why does this query return rows where there is data I am trying to update our solr schemas to use the point fields instead of the trie fields. We have a number of pfloat fields. These fields are indexed and

Re: How to change config set for some collection

2019-11-20 Thread Pratik Patel
Thanks Shawn! This is what I needed. On Wed, Nov 20, 2019 at 3:59 PM Shawn Heisey wrote: > On 11/20/2019 1:34 PM, Pratik Patel wrote: > > Let's say I have a collection called "collection1" which uses config set > > "config_set_1". > > Now, using "upconfig" command, I upload a new configuration c

Re: Possible data corruption in JavaBinCodec in Solr 8.3 during distributed update?

2019-11-20 Thread Colvin Cowie
Hi, I'll share it when I'm back at work tomorrow. I've found that the issue appears to not be reproducible using the solrconfig.xml in the _default example, so it must be something in ours (or something missing from it) that is making the problem appear, in combination with the code change. Thank

Re: How to change config set for some collection

2019-11-20 Thread Shawn Heisey
On 11/20/2019 1:34 PM, Pratik Patel wrote: Let's say I have a collection called "collection1" which uses config set "config_set_1". Now, using "upconfig" command, I upload a new configuration called "config_set_2". How can I make "collection1" use "config_set_2" instead of "config_set_1"? I know

How to change config set for some collection

2019-11-20 Thread Pratik Patel
Hello Everyone, Let's say I have a collection called "collection1" which uses config set "config_set_1". Now, using "upconfig" command, I upload a new configuration called "config_set_2". How can I make "collection1" use "config_set_2" instead of "config_set_1"? I know that if I upload new config

Re: CloudSolrClient - basic auth - multi shard collection

2019-11-20 Thread Nicolas Paris
> you can fix the issue by upgrading to 8.2 - both of those Thanks, I will try ASAP On Wed, Nov 20, 2019 at 01:58:31PM -0500, Jason Gerlowski wrote: > Hi Nicholas, > > I'm not really familiar with spring-data-solr, so I can't speak to > that detail, but it sounds like you might be running into

Re: Possible data corruption in JavaBinCodec in Solr 8.3 during distributed update?

2019-11-20 Thread Noble Paul
Can you share the test please On Thu, Nov 21, 2019 at 7:02 AM Noble Paul wrote: > > Thanks Colvin, I'll take a look > > On Thu, Nov 21, 2019 at 4:24 AM Colvin Cowie > wrote: > > > > I've identified the change which has caused the problem to materialize, but > > it shouldn't itself cause a probl

Re: Possible data corruption in JavaBinCodec in Solr 8.3 during distributed update?

2019-11-20 Thread Noble Paul
Thanks Colvin, I'll take a look On Thu, Nov 21, 2019 at 4:24 AM Colvin Cowie wrote: > > I've identified the change which has caused the problem to materialize, but > it shouldn't itself cause a problem. > > https://github.com/apache/lucene-solr/commit/e45e8127d5c17af4e4b87a0a4eaf0afaf4f9ff4b#diff

Re: Active directory integration in Solr

2019-11-20 Thread Kevin Risden
So I wrote the blog more of an experiment above. I don't know if it is fully operating other than on a single node. That being said, the Hadoop authentication plugin doesn't require running on HDFS. It just uses the Hadoop code to do authentication. I will echo what Jorn said though - I wouldn't e

Re: Zk upconfig command is appending local directory to default confdir

2019-11-20 Thread Michael Becker
I was able to resolve this. I had left out the trailing "/" from the filepath, so Solr wasn't seeing it as a local directory. On 11/19/19, 2:45 AM, "Dominique Bejean" wrote: Hi Michael, It seems Sorl really don't find any solrconfig.xml file or a conf/solrconfig.xml file in th

Re: CloudSolrClient - basic auth - multi shard collection

2019-11-20 Thread Jason Gerlowski
Hi Nicholas, I'm not really familiar with spring-data-solr, so I can't speak to that detail, but it sounds like you might be running into either https://issues.apache.org/jira/browse/SOLR-13510 or https://issues.apache.org/jira/browse/SOLR-13472. There are partial workarounds on those issues that

Re: Active directory integration in Solr

2019-11-20 Thread Jörn Franke
I would not give users directly access to Solr - even with LDAP plugin. Build a rest interface or web interface that does the authentication and authorization and security sanitization. Then you can also manage better excessive queries or explicitly forbid certain type of queries (eg specific st

Re: How do I add my own Streaming Expressions?

2019-11-20 Thread Joel Bernstein
Yeah this not documented. Here are two links that will be helpful: https://issues.apache.org/jira/browse/SOLR-9103 Slide 40 Shows the solrconfig.xml approach to registering new streams: https://www.slideshare.net/lucidworks/creating-new-streams-presented-by-dennis-gove-bloomberg-lp Joel Bernst

Re: Possible data corruption in JavaBinCodec in Solr 8.3 during distributed update?

2019-11-20 Thread Colvin Cowie
I've identified the change which has caused the problem to materialize, but it shouldn't itself cause a problem. https://github.com/apache/lucene-solr/commit/e45e8127d5c17af4e4b87a0a4eaf0afaf4f9ff4b#diff-7f7f485122d8257bd5d3210c092b967fR52 for https://issues.apache.org/jira/browse/SOLR-13682 In w

RE: Active directory integration in Solr

2019-11-20 Thread Kommu, Vinodh K.
Thanks for responding Wood. Since we are running on Solr cloud not in HDFS, perhaps there is no viable solution for solr cloud I think. Regards, Vinodh -Original Message- From: Mark H. Wood Sent: Wednesday, November 20, 2019 9:44 PM To: solr-user@lucene.apache.org Subject: Re: Active

Re: When search term has two stopwords ('and' and 'a') together, it doesn't work

2019-11-20 Thread Guilherme Viteri
Hi, Alright, after trying and trying, I have managed to isolate the fields that are causing the search to fail. Now, all the fields are "" are breaking up my search. I changed the id-StrField to And finally now it

Re: Possible synchronization bug in Solr reader

2019-11-20 Thread Bram Biesbrouck
Please allow me to answer my own question. I was using the ThreadLocalCleaner class from the Apache Sling project that is a very useful (but dan

Re: Active directory integration in Solr

2019-11-20 Thread Mark H. Wood
On Mon, Nov 18, 2019 at 03:08:51PM +, Kommu, Vinodh K. wrote: > Does anyone know that Solr has any out of the box capability to integrate > Active directory (using LDAP) when security is enabled? Instead of creating > users in security.json file, planning to use users who already exists in >

Re: Metrics avgRequestsPerSecond and avgRequestsPerSecond from documentation gone?

2019-11-20 Thread Andrzej Białecki
Hi, Yes, the documentation needs to be fixed, these attributes have been removed or replaced. * avgRequestsPerSecond -> requestTimes:meanRate. Please note that this is a non-decaying simple average based on the total wall clock time elapsed since the handler was started until NOW, and the tota

Re: Question about Luke

2019-11-20 Thread Tomoko Uchida
Hello, > Is it different from checkIndex -exorcise option? > (As far as I recently leaned, checkIndex -exorcise will delete unreadable > indices. ) If you mean desktop app Luke, "Repair" is just a wrapper of CheckIndex.exorciseIndex(). There is no difference between doing "Repair" from Luke GUI

Re: Solr process takes several minutes before accepting commands after restart

2019-11-20 Thread Jörn Franke
Have you checked the log files of Solr? Do you have a service mesh in-between? Could it be something at the network layer/container orchestration that is blocking requests for some minutes? > Am 20.11.2019 um 10:32 schrieb Koen De Groote : > > Hello > > I was testing some backup/restore sce

Solr process takes several minutes before accepting commands after restart

2019-11-20 Thread Koen De Groote
Hello I was testing some backup/restore scenarios. 1 of them is Solr7.6 in a docker container(7.6.0-slim), set up as SolrCloud, with zookeeper. The steps are as follows: 1. Manually delete the data folder. 2. Restart the container. The process is now in error mode, complaining that it cannot fi