Re: Remove duplicates in destination of copy field

2023-10-24 Thread Mónica Marrero
Thank you, Hoss. It works well. Best, Mónica On Fri, 20 Oct 2023 at 20:55, Chris Hostetter wrote: > > copyField -- at a schema level -- is a very low level operation that > happens at the moment the documents are being added to the index (long > after he update processor chains are run) > > Mo

issue with f..qf in solr 9.4

2023-10-24 Thread Noah Torp-Smith
Hello, When I spin up the techproducts example in solr 9.1.1, I am able to send this to the /query endpoint and get a reasonable response: { "query": "+all:belkin", "fields": "id compName_s", "offset": 0, "limit": 10, "params": { "defType": "edismax", "f.all.q

Solr 9.2.1 custom plugin read values in solrconfig.xml

2023-10-24 Thread elisabeth benoit
Hello, We have a solr custom plugin that we are actually migrating from solr 7.3.1 to solr 9.2.1. In our solrconfig.xml we have the following line: The values stopwords and startswith are defined in solrconfig and we read those values in the newSearcher function of a class implementing SolrEv

Re: Solr 9.2.1 custom plugin read values in solrconfig.xml

2023-10-24 Thread elisabeth benoit
I forgot to add we have this line in solrconfig Le mar. 24 oct. 2023 à 14:04, elisabeth benoit a écrit : > > Hello, > > We have a solr custom plugin that we are actually migrating from solr > 7.3.1 to solr 9.2.1. > > In our solrconfig.xml we have the following line: > > > class="com.cie.lbs

Re: TruncateFieldUpdateProcessorFactor isn't being applied

2023-10-24 Thread Walter Underwood
Thanks for confirming. Yes, we’ll use the CloneFieldUpdateProcessor Factory. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Oct 23, 2023, at 11:36 PM, Mikhail Khludnev wrote: > > Hello Walter. > I'm afraid the copyField directive is handled quite a

Re: Num Found of docs containing vector fields

2023-10-24 Thread rajani m
Hi Alessandro, The range query type does not work, it returns 400 with the response as "Range Queries are not supported for Dense Vector fields. Please use the {!knn} query parser to run K nearest neighbors search queries." On Mon, Oct 23, 2023 at 2:36 AM Alessandro Benedetti wrote: > Hi, > U

Re: Solr 9.2.1 custom plugin read values in solrconfig.xml

2023-10-24 Thread Mikhail Khludnev
I suppose a test may bypass some configs or stages. I think the default config shipped with distro has a listener configured and we can see that it works in bootstrap logs. On Tue, Oct 24, 2023 at 3:03 PM elisabeth benoit wrote: > Hello, > > We have a solr custom plugin that we are actually migr

Re: issue with f..qf in solr 9.4

2023-10-24 Thread Chris Hostetter
(thank you for using an example query that works against the techproducts example! .. makes it very easy to reproduce) At the *qparser* level, what you are doing is still working in 9.4.. hossman@slate:~/lucene/solr [j11] [tags/releases/solr/9.4.0] $ curl -sS 'http://localhost:8983/solr/techp

Re: Performance issue in Wildcard Query in Solr 8.9.0

2023-10-24 Thread Mikhail Khludnev
Hello Vishal, I've done some research earlier https://www.youtube.com/watch?v=FQPKAmh0s_I but haven't got an elegant solution for this problem. ReverseWildcard hardly helps here, but just blows up an index size, so drop it first. NGram Tokenizer blows ups indexes much more. Then, make an experime

Re: Performance issue in Wildcard Query in Solr 8.9.0

2023-10-24 Thread Shawn Heisey
On 10/23/23 05:00, Vishal Patel wrote: We want to search data which contains test. So, we are making our query doc_ref:*test*. I think wildcard query is taking high memory and CPU. Sometimes we faced issue that collection goes into recovery mode due to usage of wildcard query. Fo better perfor

How many replicas are queried per shard in one SolrCloud request?

2023-10-24 Thread Doug Turnbull
This may be a silly question, but I can't seem to find an answer. Perhaps just my google-fu is weak. If I query a SolrCloud cluster, with debug=true, In the tracking output, I will see during GET_TOP_IDS a list of N replicas per shard. shards.url= http://solr-node-1:8983/solr/my_collectiion_shard

Re: How many replicas are queried per shard in one SolrCloud request?

2023-10-24 Thread Doug Turnbull
Maybe this verbiage implies exactly one replica? Though the debug output seems to imply otherwise? > When a Solr node receives a search request, the request is routed behind the scenes to a replica of a shard that is part of the collection being searched. https://solr.apache.org/guide/8_4/distrib

Re: How many replicas are queried per shard in one SolrCloud request?

2023-10-24 Thread Chris Hostetter
: Maybe this verbiage implies exactly one replica? Though the debug output : seems to imply otherwise? : : > When a Solr node receives a search request, the request is routed behind : the scenes to a replica of a shard that is part of the collection being : searched. : : https://solr.apache.org/

Re: Solr Heap usage

2023-10-24 Thread rajani m
When you see memory filling up on the visualvm gui, request a heap dump. The heap dump file gets stored on the node's /tmp location. Use the eclipse memory analyzer tool (MAT) to load the downloaded ".dmp" file, the MAT analyzes the heap and generates a report of objects on the heap. On Mon, Oct 2

Re: Solr Heap usage

2023-10-24 Thread Arrieta, Alejandro
Hello, this link may help you, it has examples: https://risdenk.github.io/2017/12/18/ambari-infra-solr-ranger.html Kind Regards, Alejandro Arrieta On Tue, Oct 24, 2023 at 9:18 PM rajani m wrote: > When you see memory filling up on the visualvm gui, request a heap dump. > The heap dump file get

Re: SOLR 8.11.2 Cloud issue

2023-10-24 Thread Ishan Chattopadhyaya
I tried to reproduce this issue on 8.11.3 (unreleased) and it seems to work well: https://imgur.com/a/lTO4sim On Mon, 23 Oct 2023 at 12:51, Scott Q. wrote: > Oops, here we go: > > https://imgur.com/a/jSVKgkZ > > On Monday, 23/10/2023 at 02:24 Ishan Chattopadhyaya wrote: > > > > Unfortunately, th