Re: Congratulations to the new Apache Solr PMC Chair, Jan Høydahl!

2021-02-19 Thread Jason Gerlowski
Congrats! On Fri, Feb 19, 2021 at 10:06 AM Divye wrote: > > Congratulations Jan! > > Regards, > Divye > > On Fri, 19 Feb, 2021, 00:26 Anshum Gupta, wrote: > > > Hi everyone, > > > > I’d like to inform everyone that the newly formed Apache Solr PMC nominated > > and elected Jan Høydahl for the

Re: Solr Cloud freezes during scheduled backup

2021-02-02 Thread Jason Gerlowski
and JVM GC settings to shorten the long individual GC pauses you're reporting. Good luck, Jason On Wed, Jan 20, 2021 at 7:00 AM Paweł Róg wrote: > > Hello everyone, > I have a nasty problem with the scheduled Solr collections backup. From > time to time when a scheduled backu

Re: Change uniqueKey using SolrJ

2021-02-01 Thread Jason Gerlowski
olrJ, open a JIRA ticket with the details of what you're trying to do (or a PR directly) and I'd be happy to take a look. Best, Jason On Fri, Jan 22, 2021 at 9:29 AM Timo Grün wrote: > > Hi All, > > I’m currently trying to change the uniqueKey of my Solr Cloud schema using > Solrj. &g

Re: Ghost Documents or Shards out of Sync

2021-02-01 Thread Jason Gerlowski
though, it might be worth revisiting whether this is really an issue? While this quirk of Solr's can bedevil automated tests or other things that rely on repeatability, it's unusual in many applications for end-users to submit identical queries multiple times. Every case is different of course, but

Re: Ghost Documents or Shards out of Sync

2021-02-01 Thread Jason Gerlowski
differ across SolrCloud replicas (due to non-deterministic conditions such as the segment merging and deleted-doc removal that Lucene does under the hood), and this can produce differently-ordered result sets for users that issue the same query repeatedly. Good luck narrowing things down! Jason On Mon

Re: Getting Solr's statistic using SolrJ

2021-02-01 Thread Jason Gerlowski
quest = new GenericSolrRequest(SolrRequest.METHOD.GET, "/admin/metrics/history", params); final SimpleSolrResponse response = request.process(solrClient); Hope that helps, Jason On Fri, Jan 22, 2021 at 11:21 AM Gael Jourdan-Weil wrote: > > Hello Steven, > > I believe what y

Re: nested facets of query and terms type in JSON format

2020-12-10 Thread Jason Gerlowski
mple handy - it uses the "type": "query" syntax that MIchael mentioned. [1] [1] https://lucene.apache.org/solr/guide/8_5/json-facet-api.html#query-facet Best, Jason On Thu, Dec 3, 2020 at 5:49 PM Arturas Mazeika wrote: > > Hi Michael, > > I wish I were able to do a

Re: security.json help

2020-11-25 Thread Jason Gerlowski
your "custom-example" permission. When I do that (on Solr 8.6.2), I get the following behavior in the following pastebin link, which looks close to what you're after: https://paste.apache.org/ygndt Hope that helps! Jason On Mon, Oct 19, 2020 at 3:49 PM Mark Dadisman wrote: > > Hey, I'm

Re: disallowing delete through security.json

2020-11-24 Thread Jason Gerlowski
s everything but "id" from your documents. In many/most usecases that'd be equally concerning. Just wondering what your usecase is - if it's generally applicable this is probably worth a JIRA ticket. Best, Jason On Thu, Nov 19, 2020 at 10:34 AM Oakley, Craig (NIH/NLM/NCBI) [C] wrote

Re: SolrJ NestableJsonFacet ordering of query facet

2020-11-19 Thread Jason Gerlowski
et showing the actual and expected values), I may be able to provide more help. Best, Jason On Fri, Oct 30, 2020 at 1:54 AM Shivam Jha wrote: > > Hi folks, > > Does anyone have any advice on this issue? > > Thanks, > Shivam > > On Tue, Oct 27, 2020 at 1:20 PM Shivam Jha

Re: Using fromIndex for single collection

2020-11-19 Thread Jason Gerlowski
//lucene.apache.org/solr/guide/8_6/other-parsers.html#cross-collection-join Best, Jason On Wed, Oct 7, 2020 at 12:45 PM Irina Kamalova wrote: > > I suppose my question is very simple. > Am I right that if I want to use joins in the single collection in > SolrCloud across several shard

Re: Faceting: !terms vs mincount precedence

2020-11-17 Thread Jason Gerlowski
bout potential limitations. Anyway, still hoping someone else might chime in with a slick workaround or something. But it does look at this point like I'll have to go another route or put in some effort myself. Jason On Tue, Nov 17, 2020 at 3:41 PM David Smiley wrote: > > This is confus

Re: Multiple Facets on Same Field

2020-11-17 Thread Jason Gerlowski
eting (yet: SOLR-14921). If no one has other ideas here, maybe my best bet is to switch to using JSON Faceting and adding an explicit "{!terms}" query as a filter. I see you suggested that as a workaround here [1]. Jason [1] http://mail-archives.apache.org/mod_mbox/lucene-dev/202010.mbox

Faceting: !terms vs mincount precedence

2020-11-17 Thread Jason Gerlowski
early inconsistent between single and multi-shard, so it deserves a JIRA either way. Just trying to figure out what the expected behavior is. Best, Jason

[ANNOUNCE] Apache Solr 8.6.3 released

2020-10-08 Thread Jason Gerlowski
The Lucene PMC is pleased to announce the release of Apache Solr 8.6.3. Solr is the popular, blazing fast, open source NoSQL search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database

Re: BasicAuth help

2020-09-03 Thread Jason Gerlowski
something wrong with that example, maybe we can fix the docs. Jason On Fri, Aug 28, 2020 at 3:28 PM Vanalli, Ali A - DOT wrote: > > Hello, > > Solr is running on windows machine and wondering if it possible to setup > BasicAuth with the LDAP? > > Also, tried the example of

Re: Incorrect Insecure Settings Check in CoreContainer

2020-08-13 Thread Jason Gerlowski
Hey Mark, I've fixed it for 8.7 as a part of this ticket here: https://issues.apache.org/jira/browse/SOLR-14748. Thanks for reporting this. Jason On Tue, Aug 11, 2020 at 3:19 PM Jason Gerlowski wrote: > > Yikes, yeah it's hard to argue with that. > > I'm a little confused becaus

Re: Incorrect Insecure Settings Check in CoreContainer

2020-08-11 Thread Jason Gerlowski
Yikes, yeah it's hard to argue with that. I'm a little confused because I remember testing this, but maybe it snuck in at the last minute? In any case, I'll reopen that jira to fix the check there. Sorry guys. Jason On Wed, Aug 5, 2020 at 9:22 AM Jan Høydahl wrote: > > This seems t

Re: Slow query response from SOLR 5.4.1

2020-08-11 Thread Jason Gerlowski
ing _some_ of these things or other related details might help you get the answer you're looking for. Alternately, if you've figured out the issue already post the answer on this thread - help anyone with a similar issue in the future. Jason On Tue, Aug 4, 2020 at 4:11 PM Abhijit Pawar wrote: > >

Re: Survey on ManagedResources feature

2020-08-11 Thread Jason Gerlowski
about some other security aspect here? Jason On Tue, Aug 11, 2020 at 9:55 AM Noble Paul wrote: > > Hi all, > The end-point for Managed resources is not secured. So it needs to be > fixed/eliminated. > > I would like to know what is the level of adoption for that feature > an

Re: How to route requests to a specific core of a node hosting multiple shards?

2020-08-04 Thread Jason J Baik
> Erick > > > On Jul 20, 2020, at 10:04 AM, Jason J Baik > wrote: > > > > Our use case here is that we want to highlight a single document (against > > user-provided keywords), and we know the document's unique key already. > > So this is really no

Re: bin/solr auth enable

2020-07-31 Thread Jason Gerlowski
Hi David, I tried this out locally but couldn't reproduce. The command you provided above works just fine for me. Can you tell us a bit about your environment? Do you have the full stack trace of the NPE handy? Best, Jason On Fri, Jul 24, 2020 at 8:01 PM David Glick wrote: > > When I

Re: SOLR and Zookeeper compatibility

2020-07-22 Thread Jason Gerlowski
issues doing so. A few of the exceptions are tracked in our JIRA portal and you can get more info by searching there. Best, Jason On Mon, Jul 13, 2020 at 5:24 AM Mithun Seal wrote: > > Hi Team, > > Could you please help me with below compatibility question. > > 1. We are trying to

Re: How to route requests to a specific core of a node hosting multiple shards?

2020-07-20 Thread Jason J Baik
a specific replica _only_ (I’ve often done this > for > troubleshooting), address the full replica and add “distrib=false”, i.e. > http://…../solr/collection1_shard1_replica1?q=*:*=false > > Best, > Erick > > > On Jul 20, 2020, at 9:02 AM, Jason J Baik > wrote: &

How to route requests to a specific core of a node hosting multiple shards?

2020-07-20 Thread Jason J Baik
Hi, After upgrading from Solr 6.6.2 to 7.6.0, we're seeing an issue with request routing in CloudSolrClient. It seems that we've lost the ability to route a request to a specific core of a node. For example, if a host is serving shard 1 core 1, and shard 2 core 1, @6.6.2, adding a "_route_="

Re: Restored collection cluster status rendering some values as Long (as opposed to String for other collections)

2020-06-25 Thread Jason Gerlowski
Hi Aliaksandr This sounds like a bug to me - I can't think of any reason why this would be intentional behavior. Maybe I'm missing something and this is "expected", but if so someone will come along and correct me. Can you file a JIRA ticket with this information in it? Jason On W

Re: Index files on Windows fileshare

2020-06-25 Thread Jason Gerlowski
might be better off writing a small crawler in Java and using SolrJ to do the indexing. Good luck! Jason On Fri, Jun 19, 2020 at 9:34 AM Fiz N wrote: > > Hello Solr experts, > > I am using standalone version of SOLR 8.5 on Windows machine. > > 1) I want to index all ty

Re: [EXTERNAL] Re: Getting rid of Master/Slave nomenclature in Solr

2020-06-18 Thread Jason Gerlowski
thing else instead, but having a non-standard git setup would be one more "papercut" in understanding how to contribute to a project that already makes that harder than it should. Jason On Thu, Jun 18, 2020 at 7:33 AM Demian Katz wrote: > > Regarding people having a problem w

Re: Can't fetch table from cassandra through jdbc connection

2020-06-16 Thread Jason Gerlowski
ou already did that for the root logger and it didn't give you anything that helped solve the issue. So I'm stumped. Good luck, Jason On Tue, Jun 16, 2020 at 6:05 AM Ирина Камалова wrote: > > Could you please tell me if I can expand log trace here? > (if I'm trying to do it through solr

Re: HTTP 401 when searching on alias in secured Solr

2020-06-16 Thread Jason Gerlowski
Just wanted to close the loop here: Isabelle filed SOLR-14569 for this and eventually reported there that the problem seems specific to her custom configuration which specifies a seemingly innocuous in solrconfig.xml. See that jira for more detailed explanation (and hopefully a resolution coming

Re: CDCR behaviour

2020-06-05 Thread Jason Gerlowski
Hi Daniel, Just a heads up that attachments and images are stripped pretty aggressively by the mailing list - none of your images made it through. You might more success linking to the images in Dropbox or some other online storage medium. Best, Jason On Thu, Jun 4, 2020 at 10:55 AM Gell

Re: SolrCloud upgrade concern

2020-05-27 Thread Jason Gerlowski
ons. But since you're already using it with some success, it might be an orthogonal concern to your potential migration to SolrCloud. Best of luck deciding! Jason On Fri, May 22, 2020 at 7:06 PM gnandre wrote: > > Thanks for this reply, Jason. > > I am mostly worried about CDCR featur

Re: Query takes more time in Solr 8.5.1 compare to 6.1.0 version

2020-05-21 Thread Jason Gerlowski
what's going on here of course. Are all other queries running comparably? Jason On Thu, May 21, 2020 at 10:25 AM jay harkhani wrote: > > Hello, > > Please refer below details. > > >Did you create Solrconfig.xml for the collection from scratch after > >upgrading and rei

Re: Rule-Based Auth - update not working

2020-05-17 Thread Jason Gerlowski
. We should really change this resolution order to be something more commonsense. Jason On Sun, May 17, 2020 at 2:52 PM Jason Gerlowski wrote: > > Hi Isabelle, > > Two things to keep in mind with Solr's Rule-Based Authorization. > > 1. Each request is controlled by th

Re: Rule-Based Auth - update not working

2020-05-17 Thread Jason Gerlowski
can't actually index. Generally speaking, it's best to put the most specific rules first, with the broader ones coming later. For more information, see the "Permission Ordering and Resolution" section in the page you linked to in your request. Good luck, hope that helps. Jason On Tue, May

Re: SolrJ connection leak with SolrCloud and Jetty Gzip compression enabled

2020-04-22 Thread Jason Gerlowski
Hi Samuel, Thanks for the very detailed description of the problem here. Very thorough! I don't think you're missing anything obvious, please file the jira tickets if you haven't already. Best, Jason On Mon, Apr 13, 2020 at 6:12 PM Samuel Garcia Martinez < samuel...@inditex.com>

Re: Request Tracking in Solr

2020-04-01 Thread Jason Gerlowski
Hi Prakhar, Newer versions of Solr offer an "Audit Logging" plugin for use cases similar to yours. https://lucene.apache.org/solr/guide/8_1/audit-logging.html If don't think that's available as far back as 5.2.1 though. Just thought I'd mention it in case upgrading is an option. Be

Re: Checking in on Solr Progress

2020-03-02 Thread Jason Gerlowski
Very low-tech and manual, but worth mentioning... If there's a particularly large core that's doing a full recovery, and you have access to the disk itself you can navigate to the relevant directory for that core and run something like "watch -n 10 ls -lah" or "watch -n 10 du -sh ." to see how

Re: Replica type affinity

2020-02-03 Thread Jason Gerlowski
ule-conditions Good luck, Jason On Thu, Jan 30, 2020 at 1:00 PM Karl Stoney wrote: > > Hey, > Thanks for the reply but I'm trying to have something fully automated and > dynamic. For context I run solr on kubernetes, and at the moment it works > beautifully with autosca

Re: Solr fact response strange behaviour

2020-01-29 Thread Jason Gerlowski
Thanks Adi, There's no SolrJ code in your stacktrace, so this was something other than SOLR-13780 apparently. Best of luck! Jason On Wed, Jan 29, 2020 at 1:28 PM Kaminski, Adi wrote: > > Sure, thanks for the guidance and the assistance anyway. > > Here is the stack trace: > He

Re: Solr fact response strange behaviour

2020-01-29 Thread Jason Gerlowski
. That won't help you in the short term though. For that, yes, you'll have to use ((Number)count).longValue() in the interim. Best, Jason On Tue, Jan 28, 2020 at 2:20 AM Kaminski, Adi wrote: > > Thanks Mikhail ! > > In issue comments that you have shared it seems that Yonik S d

Re: Solr cloud production set up

2020-01-28 Thread Jason Gerlowski
=timing and see how what that tells you about the QTime's. Tuning Solr performance is a tough, time consuming process. I wish there was an easier answer for you, but there's not. Best, Jason On Mon, Jan 20, 2020 at 12:06 PM Rajdeep Sahoo wrote: > > Please suggest anyone > > On Sun,

Re: SolrCloud upgrade concern

2020-01-22 Thread Jason Gerlowski
in terms of success. Good luck making your decision! Best, Jason

Re: SOLR 7.5 Performance WARN

2020-01-15 Thread Jason Gerlowski
t commit N is happening before commit N-1 has even finished. The fix usually is to commit less frequently. Are you triggering explicit commits via the API (or through SolrJ)? How frequently do the settings in your solrconfig.xml have you committing? Hope that helps, Jason On Wed, Jan 15, 2020

Re: understanding solr metrics

2020-01-02 Thread Jason Gerlowski
milliseconds). Hope that helps, Jason On Thu, Jan 2, 2020 at 9:13 AM akhil dutt wrote: > > Hi, > I'm trying to understand solr metrics and was looking at request/response > dispatch rate. I want to understand what meanRate signify. As per below > values, am I to suppose that

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-20 Thread Jason Gerlowski
initial JWT config, with some default Rule-based config. > > Jan > > > 17. des. 2019 kl. 16:42 skrev Jason Gerlowski : > > > > Hey Jan, > > > > Is this a case of something that'd be fixed by > > https://issues.apache.org/jira/browse/SOLR-13071 ? > >

Re: Move SOLR from cloudera HDFS to SOLR on Docker

2019-12-19 Thread Jason Gerlowski
ocker than 4.10.3. Additionally, 4.10.3 no longer receives any security backports from the community, and hasn't for some time. It's worth considering whether that offers enough benefits to be worth the pain of reindexing. Best, Jason On Wed, Dec 18, 2019 at 9:26 AM Wael Kader wrote: > &

Re: Facing jwt authentication problem using solr 8.1.1

2019-12-17 Thread Jason Gerlowski
Hey Jan, Is this a case of something that'd be fixed by https://issues.apache.org/jira/browse/SOLR-13071 ? Just wondering Best, Jason On Thu, Dec 12, 2019 at 5:43 PM Jan Høydahl wrote: > > Try something like this > https://gist.github.com/b330e1bea7842bcdc1e5fa3940b4a4f7

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

2019-11-21 Thread Jason Gerlowski
Very curious what the config change that's related to reproducing this looks like. Maybe it's something that is worth adding test-randomization around? Just thinking aloud.

Re: exact matches on a join

2019-11-21 Thread Jason Gerlowski
Freeman" query matches one of those terms. Text fields are what you use when you want matches to have some wiggle room based on your analyzers. String fields are much more geared towards exact matches. No analysis is done, so a query for "Freeman" would only match docs who have

Re: Possible bug in cluster status - > solr 8.3

2019-11-21 Thread Jason Gerlowski
It seems like an issue to me. Can you open a JIRA with these details? On Fri, Nov 15, 2019 at 10:51 AM Jacek Kikiewicz wrote: > > I found interesting situation, I've created a collection with only one > replica. > Then I scaled solr-cloud cluster, and run 'addreplica' call to add 2 more. > So

Re: CloudSolrClient - basic auth - multi shard collection

2019-11-20 Thread Jason Gerlowski
that might help you. If those aren't sufficient, you can fix the issue by upgrading to 8.2 - both of those bugs are fixed in that version. Hope that helps, Jason On Mon, Nov 18, 2019 at 8:26 AM Nicolas Paris wrote: > > Hello, > > I am having trouble with basic auth on a solrcloud in

Re: Anyway to encrypt admin user plain text password in Solr

2019-11-14 Thread Jason Gerlowski
data files directly. Or edit them. etc. There may be edge cases around using network drives or HDFS where encrypting this file is useful, I haven't thought that side of things through entirely. But for most use-cases I'm not sure encrypting basicAuth.conf provides anything beyond security theater. Be

Re: Anyway to encrypt admin user plain text password in Solr

2019-11-13 Thread Jason Gerlowski
If you can be more specific about the exposure you're concerned about, we can discuss whether there's an actual security concern there and how to work around it. Best, Jason On Wed, Nov 13, 2019 at 11:22 AM Kommu, Vinodh K. wrote: > > Does anyone have an any idea on this? If so, please

Re: Query on changing FieldType

2019-10-22 Thread Jason Gerlowski
-guessing mode for anything other than experimentation. Best of luck, Jason On Tue, Oct 22, 2019 at 7:42 AM Shubham Goswami wrote: > > Hi Emir > > As you have mentioned above we cannot change field type after indexing once > and we have to do dull re-indexing again, I tried to ch

Re: Solr enabled kerberos and create collection failed

2019-10-22 Thread Jason Gerlowski
I _think_ this is the fourth time you've submitted this exact question as a different email thread. Most of your other threads have responses on them, but maybe you're not seeing that for some reason. Maybe you won't be able to see this response either, but in case you can: I think you'll have

Re: Solr enabled kerberos and create collection failed

2019-10-22 Thread Jason Gerlowski
I _think_ this is the third time you've submitted this exact question as a different email thread. Both of your other threads have responses on them, but maybe you're not seeing that for some reason. Maybe you won't be able to see this response either, but in case you can: I think you'll have

Re: Solr enabled kerberos and create collection failed

2019-10-22 Thread Jason Gerlowski
ssage occur when making requests through curl or other clients? You might want to read this page for other ideas of what information would help us help you: https://cwiki.apache.org/confluence/display/solr/UsingMailingLists Best, Jason On Sun, Oct 20, 2019 at 9:23 PM Lvyankui wrote: > &

Re: Solaris Install Package

2019-10-17 Thread Jason Gerlowski
of risk in diverging from the commonly used/tested environments and usage patterns. So, YMMV. Best, Jason On Mon, Oct 7, 2019 at 5:34 PM Andrew Corbett wrote: > > I have been trying to research the possibility of adding Solr to servers > running the Solaris 10 and 11 operating systems

Re: Problems with restricting access to users using Basic auth

2019-09-03 Thread Jason Gerlowski
of looking at each is. But that won't help you on 7.6 unfortunately. Good luck, and let us know if you are able to fix things, or eventually find out what the difference in behavior is between our two setups. Jason On Tue, Sep 3, 2019 at 8:01 AM Salmaan Rashid Syed wrote: > > Hi

Re: Problems with restricting access to users using Basic auth

2019-08-28 Thread Jason Gerlowski
eturned status [200] Request [/collection3/select?q=*:*] returned status [200] Testing permissions for user [solr-user] Request [/admin/collections?action=LIST] returned status [403] Request [/collection1/select?q=*:*] returned status [200] Request [/collection2/select?q=*:*] return

Re: Problems with restricting access to users using Basic auth

2019-08-21 Thread Jason Gerlowski
t;, "role": "admin"}, {"name": "config-read", "role": "admin"}, {"name": "core-admin-edit", "role": "admin"}, {"name": "core-admin-read", "role": "admin&q

Re: Problems with restricting access to users using Basic auth

2019-08-21 Thread Jason Gerlowski
rowse/SOLR-13355) What version of Solr are you using? Jason On Wed, Aug 21, 2019 at 5:21 AM Salmaan Rashid Syed wrote: > > Hi Jason, > > Thanks for your prompt reply. > > Your code does address few of my concerns like restricting *solr-user* from > accessing the dashboard a

Re: Problems with restricting access to users using Basic auth

2019-08-20 Thread Jason Gerlowski
"name":"security-edit", "role":"admin" }, { "collection": ["Collection1", "Collection2"], "name": ["update", "read"], "role": "dev"

Re: Contact for Wiki / Support page maintainer

2019-07-29 Thread Jason Gerlowski
I was under the impression that non-committers could also edit the wiki pages if the requested the appropriate karma on the mailing list. Though maybe that changed with the move to cwiki, or maybe that's never been the case On Thu, Jul 25, 2019 at 4:10 PM Jan Høydahl wrote: > > All

Re: HowtoConfigureIntelliJ link is broken

2019-07-22 Thread Jason Gerlowski
regardless. The url you posted works for me now. You can also use the new url: https://cwiki.apache.org/confluence/display/lucene/HowtoConfigureIntelliJ Best, Jason On Thu, Jul 18, 2019 at 12:12 PM Richard Goodman wrote: > > Hi there, > > I went to set up the repo with intellij, but i

Re: Problems using a suggester component in the /select handler in cloud mode

2019-07-22 Thread Jason Gerlowski
-Generatingapatch. If you prefer, you can also create a PR on github with your changes, and put a link to the PR on the JIRA ticket. (There are many guides out there on creating Github PRs, so I won't get into that.) Thanks for putting in the effort to share your work. Good luck! Best, Jason On Tue

Re: Getting list of unique values in a field

2019-07-15 Thread Jason Gerlowski
The Solr ref-guide has examples which show how to do this too. Take a look at some of the faceting examples here: https://lucene.apache.org/solr/guide/8_1/json-facet-api.html#bucketing-facet-example Best, Jason On Fri, Jul 12, 2019 at 9:50 AM David Hastings wrote: > > i found this: >

Re: Release of Solr 8.1.2 bug fix

2019-07-03 Thread Jason Gerlowski
, but not necessarily. Best, Jason On Wed, Jul 3, 2019 at 2:34 AM Zheng Lin Edwin Yeo wrote: > > Hi, > > I understand that currently there is plan for a Solr 8.1.2 bug fix release > to resolve some of the bugs, like the SOLR-13510 basic authentication issue. > > Woul

Re: Issue with Solr 7.7.2 - ClassCastException: org.apache.solr.common.util.ByteArrayUtf8CharSequence

2019-06-19 Thread Jason Gerlowski
/jira/browse/SOLR-13539 . (SOLR-13538 also has some information) Best, Jason On Tue, Jun 11, 2019 at 4:00 PM David Winter wrote: > > Hi, > > I would like let you know about server side exceptions for specific field > types after upgrading to 7.7.2, like Cla

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-04 Thread Jason Gerlowski
> 8.0. You're using an 8.x version, right? Jason On Tue, Jun 4, 2019 at 2:45 AM Zheng Lin Edwin Yeo wrote: > > Hi Jason, > > Thanks for your reply. > > I have tried to add the "forwardCredentials": true in the security.json, > but I still get the same error. >

Re: alias read access impossible for anyone other than admin?

2019-06-04 Thread Jason Gerlowski
sure the "method" and "params" properties match the request. Since the properties aren't present, they're treated as wildcards and implicitly match. 4. So we've found a matching permission, now Solr checks whether "user" has the correct role. The permission s

Re: alias read access impossible for anyone other than admin?

2019-06-03 Thread Jason Gerlowski
Hi Sotiris, What version of Solr are you running? The behavior has changed some over time, both intentionally and due to bugs that have come and gone over time. I (or someone else) can explain things and offer you better help once we know your Solr version. Jason On Mon, Jun 3, 2019 at 12:13

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-03 Thread Jason Gerlowski
"authentication": { "blockUnknown": true, "class": "solr.BasicAuthPlugin", "credentials": { "solradmin": "" }, "forwardCredentials": true }, ... } Jason On

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-03 Thread Jason Gerlowski
One last note: as far as I can tell, nothing about this issue is specific to JSON Faceting or the JSON request API. It can be triggered just as easily with "/select?q=*:*". The bug created for this is: SOLR-13510 On Mon, Jun 3, 2019 at 9:17 AM Jason Gerlowski wrote: > &g

Re: Intermittent error 401 with JSON Facet query to retrieve count all collections

2019-06-03 Thread Jason Gerlowski
I'm also able to reproduce this bug on master. A few more notes about the bad behavior: - the behavior occurs regardless of the specific permissions configured in security.json. (i.e. whether the top permission is "all", or "security-edit", or there are no permissions at all.) - I tried looking

Re: Adding Multiple JSON Documents

2019-06-03 Thread Jason Gerlowski
Hi John, I believe the documentation there is correct. That is: those are two different "update" APIs. /update takes a JSON array of potentially multiple docs, /update/json/docs takes either a JSON array of multiple docs, or a single document not wrapped in the JSON array syntax. Be

Re: alias read access impossible for anyone other than admin?

2019-05-31 Thread Jason Gerlowski
Hi Sotiris, Is this your second time asking this question here, or is there a subtle difference I'm missing? You asked a very similar question a week or so ago, and I replied with a few suggestions for changing your security.json and with a few questions. In case you missed it for whatever

Re: Solr 7.7.1 indexing failing with analysis error: startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards

2019-05-28 Thread Jason J Baik
This might be of interest to you: https://issues.apache.org/jira/browse/LUCENE-8776 On Mon, May 27, 2019 at 10:32 PM Zheng Lin Edwin Yeo wrote: > How are you indexing the message, or what is the command that you used to > index the message? > > Also, the attachment might not make it to the

Re: alias read access impossible for anyone other than admin?

2019-05-28 Thread Jason Gerlowski
for those using it for the first time, so any improvement to the docs will go a long way. Jason On Sat, May 25, 2019 at 3:12 AM Aroop Ganguly wrote: > > hi jason > > which version of solr has the definitive fix for the rbap again ? > also is there a jira to fix or create a documentati

Re: alias read access impossible for anyone other than admin?

2019-05-24 Thread Jason Gerlowski
ing user has the "admin" role. So "user" being unable to query an alias makes sense. Usually "all" and other catchall permissions are best used at the very bottom of your permissions list. That way the catchall is the last rule to be checked, giving other rules a chance

Re: Solr RuleBasedAuthorizationPlugin question

2019-05-07 Thread Jason Gerlowski
quot;: "read", "role": "readonly" }, { "path": "*", "role": "admin" }, { "name": "*", "role": "admin" } Good luck, Jas

Re: Solr RuleBasedAuthorizationPlugin question

2019-05-06 Thread Jason Gerlowski
quot;role": "readonly" }, { "name": "security-edit", "role": "admin" }, { "path": "*", "role": "admin" } Hope that helps. Jason On Fri, May 3, 2019 at 5:23 PM Jérémy

Re: JSON Facet query to retrieve count all collections in Solr 8.0.0

2019-04-17 Thread Jason Gerlowski
e behavior persist after restarting your Solr nodes? Good luck, Jason On Wed, Apr 17, 2019 at 4:05 AM Zheng Lin Edwin Yeo wrote: > > Hi, > > For your info, I have enabled basic authentication and SSL in all the 3 > versions, and I'm not sure if the issue is more on the authentication s

Re: JSON Facet query to retrieve count all collections in Solr 8.0.0

2019-04-16 Thread Jason Gerlowski
security.json. Best, Jason On Mon, Apr 15, 2019 at 10:40 PM Zheng Lin Edwin Yeo wrote: > > Hi, > > I am using the below JSON Facet to retrieve the count of all the different > collections in one query. > > https://localhost:8983/solr/collection1/select?q=testing=https:

Re: bin/post command not working when run from crontab

2019-04-14 Thread Jason Gerlowski
Hi Carsten, I think this is probably worth a jira. I'm not familiar enough with bin/post to say definitively whether the behavior you mention is a bug, or whether it's "expected" in some odd sense. But there's enough uncertainty that I think it's worth recording there. Best, Jas

Re: Documentation for Apache Solr 8.0.0?

2019-04-01 Thread Jason Gerlowski
://github.com/apache/lucene-solr/blob/branch_8_0/solr/solr-ref-guide/src/index.adoc Hope that helps, Jason On Mon, Apr 1, 2019 at 7:34 AM Yoann Moulin wrote: > > Hello, > > I’m looking for the documentation for the latest release of SolR (8.0) but it > looks like it’s not online yet.

Re: security.json "all" predefined permission

2019-03-29 Thread Jason Gerlowski
above). We should definitely be checking for all when there is a PermissionNameProvider, so I'll create a JIRA for this. Best, Jason On Thu, Mar 28, 2019 at 6:11 PM Jan Høydahl wrote: > > There was some other issues with the "all" permission as well lately, see > https://i

security.json "all" predefined permission

2019-03-28 Thread Jason Gerlowski
" user can even update security permissions with the curl command below! curl -X POST -H 'Content-Type: application/json' -u "readonly:readonlyPassword" http://localhost:8983/solr/admin/authorization --d @some_auth_json.json My expectation was that the predefined "all" permission would act as a catch all, and restrict all requests to "admin_role" that require permissions I didn't explicitly give to my "readonly" user. But it doesn't seem to work that way. Am I misunderstanding what the "all" permission does, or is this a bug? Thanks for any help or clarification. Jason

Re: Solr 8.0.0 coreNodeName

2019-03-28 Thread Jason J Baik
This seems related to https://issues.apache.org/jira/browse/SOLR-11503? On Thu, Mar 28, 2019 at 2:14 AM vishal patel wrote: > > Hi > > I am upgrading the solr 8.0.0 from 6.1.0. Before I can not add the > coreNodeName in core.properties and its working fine for me. But when i > start the solr

Re: Upgrading solarj from 6.5.1 to 8.0.0

2019-03-25 Thread Jason Gerlowski
" and "httpBasicAuthPassword" properties. Currently (2) is not documented in our Solr Ref Guide, though it really should be since it's the most practical way to setup auth. Hope that helps, Jason On Thu, Mar 21, 2019 at 1:25 PM Erick Erickson wrote: > > One tangent just so you’

Re: Upgrading solarj from 6.5.1 to 8.0.0

2019-03-21 Thread Jason Gerlowski
be a way to set the credentials on the client itself, but I can't think of it at the moment. Hope that helps, Jason On Thu, Mar 21, 2019 at 2:34 AM Lahiru Jayasekera wrote: > > Hi all, > I need help implementing the following code in solarj 8.0.0. > > private SolrClient serv

Re: Solr collection indexed to pdf in hdfs throws error during solr restart

2019-03-14 Thread Jason Gerlowski
sed" error (typically seen when a Java object gets closed too early and may indicate a bug). I'm not used to seeing either of these associated with the "standard" write.lock issues. What version of Solr are you seeing this on? Best regards, Jason On Thu, Mar 14, 2019 at 5:28 AM VAIBH

Re: ClassCastException in SolrJ 7.6+

2019-03-11 Thread Jason Gerlowski
Hi Gerald, That looks like it might be a bug in SolrJ's JSON faceting support. Do you have a small code snippet that reproduces the problem? That'll help us confirm it's a bug, and get us started on fixing it. Best, Jason On Mon, Mar 11, 2019 at 10:29 AM Gerald Bonfiglio wrote: > &g

Apache Solr Reference Guide 7.7 Released

2019-03-11 Thread Jason Gerlowski
The Lucene PMC is pleased to announce that the Solr Reference Guide for 7.7 is now available. This 1,431-page PDF is the definitive guide to using Apache Solr, the search server built on Lucene. The PDF Guide can be downloaded from:

Re: Solrj, Json Facets, (Date) stats facets

2019-03-11 Thread Jason Gerlowski
, unfortunately your only option is to use the NamedList structures directly to retrieve the stat value. Thanks for bringing it to our attention. Best, Jason On Fri, Mar 8, 2019 at 4:42 AM Andrea Gazzarini wrote: > > Good morning guys, I have a questions about Solrj and JSON facets. > > I'

Re: Hide BasicAuth JVM param on SOLR admin UI

2019-03-07 Thread Jason Gerlowski
-sensitive-properties.html Hope that helps, Jason On Wed, Mar 6, 2019 at 9:27 PM Aroop Ganguly wrote: > > try changing the passwords using the auth api > https://lucene.apache.org/solr/guide/6_6/basic-authentication-plugin.html#BasicAuthenticationPlugin-AddaUserorEditaPassword >

Re: Solr Reference Guide for version 7.7

2019-03-01 Thread Jason Gerlowski
quot; from the solr/solr-ref-guide directory, see the README in that same directory for more help) Best, Jason On Thu, Feb 28, 2019 at 11:05 PM Zheng Lin Edwin Yeo wrote: > > Hi, > > Understand that Solr 7.7.1 has just been released, but Solr 7.7.0 has been > released almost a mon

Re: Python Client for Solr Cloud - Leader aware

2019-03-01 Thread Jason Gerlowski
/master/pysolr.py#L1268 . Happy to be corrected by someone with more context.) Best, Jason On Tue, Feb 26, 2019 at 1:50 PM Ganesh Sethuraman wrote: > > We are using Solr Cloud 7.2.1. Is there a leader aware python client (like > SolrJ for Java), which can send the updates to the leader a

Re: Giving SolrJ credentials for Zookeeper

2019-03-01 Thread Jason Gerlowski
ell as on your Solr/ZK servers? Or are you just setting it in the config for your Solr/ZK servers? I expect those system properties need to be set for the client process as well, though the ref-guide page doesn't explicitly say so. Best, Jason On Tue, Feb 26, 2019 at 12:56 PM Snead, Ryan [USA] w

  1   2   3   4   5   6   7   8   >