Re: Commit strategy for Heavy Bulk Indexing into solr

2021-07-28 Thread Endika Posadas
There were some big changes related to child indexing in solr 8.8, under this ticket: https://issues.apache.org/jira/browse/SOLR-14923 It's worth updating solr to latest 8.8 and trying again, perhaps your indexing issue has already been fixed. On 2021/07/27 19:44:13, Pratik Patel wrote: > So

Re: Commit strategy for Heavy Bulk Indexing into solr

2021-07-28 Thread Pratik Patel
Thanks Endika! https://issues.apache.org/jira/browse/SOLR-14923 @DavidSmiley do you think this could be related to the issue I have described? I will certainly update our solr image but it will be good to know the root cause of the issue. Your comment on this would be very helpful. Thanks On

Quick Query Question: "body":""

2021-07-28 Thread mtn search
Hello, Some documents in my collection have an empty body field. "body":"", I am looking for a query to find docs with a body field with this "empty" value. Normally, I might run with a filter fq=-body:* On this large set of shards that I am querying it times out with the wildcard. On

Re: Quick Query Question: "body":""

2021-07-28 Thread Walter Underwood
Search for *:* -body:* I do this pretty often. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Jul 28, 2021, at 8:48 AM, mtn search wrote: > > Hello, > > Some documents in my collection have an empty body field. >"body":"", > > I am looking f

Re: Quick Query Question: "body":""

2021-07-28 Thread Alexandre Rafalovitch
This (present/absent) condition is there during the indexing time. So, apply the optimization at the indexing rather than at the search time. Have a custom UpdateRequestProcessor chain that will create a boolean flag that matches "body" presence/absence. You can do that with copy, default-value a

Re: Help with unsubscribe because automated didn't work

2021-07-28 Thread Carlos Rocha
Same thing is happening to me. Could you please also unsubscribe car...@rocha.cc On Tue, Jul 27, 2021 at 5:26 PM Anshum Gupta wrote: > Done. > > On Tue, Jul 27, 2021 at 1:36 PM Jagpreet Mahajan < > jagpreetkhan...@gmail.com> > wrote: > > > Can the same be done for my email address jagpreetkhan.

Re: Configuring Solr JSON logs output to file using JsonLayout in log4j2.xml file

2021-07-28 Thread Alex Bulygin
Hi, Alex. I think, first of all, check the log with prop log4j.debug=true. Does solr's log4j see your jsob layout plugin? Make shure, that you layout inter solr classpath (in web-inf/lib or solr/server/ext/lib) вторник, 27 июля 2021г., 18:27 +03:00 от Alexey Murz Korepov mur...@gmail.com : >H

Re: Quick Query Question: "body":""

2021-07-28 Thread mtn search
Thanks Walter, Alex! Yes I regularly use - Search for *:* -body:* . With the size of the Master/Slave deployment and number of shards, in this case the wildcard query timesout... I plan to add some additional fqs, to narrow the scope. I do not have an immediate option to change the indexing

Re: Quick Query Question: "body":""

2021-07-28 Thread Alexandre Rafalovitch
I wonder if by adding boolean docvalue to schema, you could use in-place updates to add that information post-indexing by basically running batch checks on documents that don't have that new flag at all and then updating it to be 0/1 to indicate body. The in-place update would avoid having to reind

Re: MultipleAdditiveTreeModel

2021-07-28 Thread Spyros Kapnissis
Hi Alessandro, Roopa, I created the ticket here: https://issues.apache.org/jira/browse/SOLR-15569 . I don't think I have permission to add people though, so please tag whomever you feel is necessary. Pls let me know if you need any more info, thanks! On Tue, Jul 27, 2021 at 1:00 PM Alessandro Bene

Re: CVE-2021-27905 Apache Solr ReplicationHandler/SSRF vulnerability

2021-07-28 Thread Rahul Goswami
Digging out this old thread since I am looking for an answer to the same question. To Matthew's response above, since the /replication is an implicit handler, even if removed from solrconfig.xml, it would still work. I looked around (aka Googled) to find a way in which someone exploited this vulner

Re: MultipleAdditiveTreeModel

2021-07-28 Thread Roopa Rao
Thank you, Spyros. Roopa On Wed, Jul 28, 2021 at 3:00 PM Spyros Kapnissis wrote: > Hi Alessandro, Roopa, I created the ticket here: > https://issues.apache.org/jira/browse/SOLR-15569 . I don't think I have > permission to add people though, so please tag whomever you feel is > necessary. > Pls

[jira] [Commented] (SOLR-15072) Support building and testing Solr on ARM64 architecture

2021-07-28 Thread Ganesh Raju (Jira)
[ https://issues.apache.org/jira/browse/SOLR-15072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17389081#comment-17389081 ] Ganesh Raju commented on SOLR-15072: Any update? > Support building and testing Solr

Re: Quick Query Question: "body":""

2021-07-28 Thread Shawn Heisey
On 7/28/2021 11:48 AM, mtn search wrote: Thanks Walter, Alex! Yes I regularly use - Search for *:* -body:* That syntax, while it works for finding docs where the body field is entirely missing, is not the best option. You'll likely find that this syntax is MUCH faster, and returns identica

Re: Quick Query Question: "body":""

2021-07-28 Thread Rahul Goswami
If ‘body’ field is indexed=true, Shawn’s query should give you results where body=“” as well as where body field doesn’t exist at all. Also, I agree that the format body:[* TO *] is much faster for high cardinality fields (which most likely “body” is). -Rahul On Wed, Jul 28, 2021 at 7:46 PM Shawn

Re: Quick Query Question: "body":""

2021-07-28 Thread Rahul Goswami
Minor edit: *if “body” field is indexed=true AND analyzed (i.e. Some text type; not of type “string”). On Wed, Jul 28, 2021 at 9:53 PM Rahul Goswami wrote: > If ‘body’ field is indexed=true, Shawn’s query should give you results > where body=“” as well as where body field doesn’t exist at all.