Re: Regarding Log4j Vulnerability in Solr-8.2.0

2022-01-12 Thread Christopher Schultz
Vincenzo, Better to use 2.17.1. No system properties or anything should be necessary. -chris > On Jan 11, 2022, at 11:06, Vincenzo D'Amore wrote: > > Hi Thomas, > > Why the 8.11.0? > I read that the latest stable version is 8.11.1 > https://solr.apache.org/docs/8_11_1/changes/Changes.html#v8

Re: Range query on TextField

2022-01-12 Thread WU, Zhiqing
Hi Andy, Loads of thanks for your reply. I am trying to figure out my problem by following your advice. I have installed Solr (8.5) on my computer and added 4 documents into a core. In the 4 documents, staffName_txt field has been set to "Lindmar Deborah", "Mr Kenyon John", " Saab Jerry" and "Gr

Re: Range query on TextField

2022-01-12 Thread Andy C
How are you changing the managed-schema? I have never used the managed schema feature myself, but according to the documentation ( https://solr.apache.org/guide/8_5/overview-of-documents-fields-and-schema-design.html#solrs-schema-file) it should never be directly edited. Not sure how it is supposed

Re: Range query on TextField

2022-01-12 Thread Andy C
Also it doesn't make sense to use the StopFilterFactory or SynonymGraphFilterFactory filters in conjunction with the KeywordTokenizerFactor, so these should be removed from the fieldType definition (personally I would never make use of the StopFilterFactory, except in specialized situations). - An

"Slow" Query performance with boosts.

2022-01-12 Thread Ashwin Ramesh
Hi everyone, I have a few questions about how we can improve our solr query performance, especially for boosts (BF, BQ, boost, etc). *System Specs:* Solr Version: 7.7.x Heap Size: 31gb Num Docs: >100M Shards: 8 Replication Factor: 6 Index is completely mapped into memory Example query: { q=hell

Solr/PHP Query multiple words

2022-01-12 Thread Michael Z.
Hello! I create Solr Query requests with the help of a PHP script. $start = 0; $url = "192.168.1.100:8983/solr/core1/select?defType=dismax&hl=on&hl.fl=conten t&fl=title%2C%20url&q= " . $query . "&qf=anchor%5E1.3%20title%5E1.3%20url%5E1.3&rows=10&start=" . $start . "&wt=json"; file = fopen($url,

RE: Solr/PHP Query multiple words

2022-01-12 Thread Michael Z.
thank you i have already found the mistake, i have to put a + sign between the words

Re: Range query on TextField

2022-01-12 Thread WU, Zhiqing
Hi Andy, Many thanks for your quick reply. Yes, you are right. According to the webpage of Solr 8.5, I should not edit "managed-schema". However, when I create the new core (bin/solr create -c newcore), I only can find managed-schema in server/solr/newcore/conf folder, and am not able to find schem

Re: Confirming location of config files in SolrCloud (7.7.x)

2022-01-12 Thread Shawn Heisey
On 1/11/2022 7:01 PM, Ashwin Ramesh wrote: 1. Does the local node/core download the config (schema etc.) & solr.xml from ZK? If so, where would the files exist? (I can't seem to locate it in my local running instance). The files are not downloaded. Solr pulls them from zookeeper and uses them

Re: Confirming location of config files in SolrCloud (7.7.x)

2022-01-12 Thread Ashwin Ramesh
Thanks a lot Shawn. This answers my question really well! On Thu, Jan 13, 2022 at 2:17 PM Shawn Heisey wrote: > On 1/11/2022 7:01 PM, Ashwin Ramesh wrote: > > 1. Does the local node/core download the config (schema etc.) & solr.xml > > from ZK? If so, where would the files exist? (I can't seem t