Re: Dense Vector Search fieldType default parameters result in index error

2022-12-14 Thread Alastair Porter
I opened https://issues.apache.org/jira/browse/SOLR-16588 Alastair On Wed, 14 Dec 2022 at 08:52, Alastair Porter wrote: > Hi Alessandro, > Thanks for the confirmation of the bug. > I'd be happy to create an issue for this, but I don't have a jira account, > and I see that it's closed for signup

Slow / unresponsive admin ui since solr 9.1 update

2022-12-14 Thread michael dürr
Hi, Since we have updated to Solr 9.1, the admin ui has become pretty slow. The problem is related to the fact that we run solr and the zookeeper ensemble dockerized. As we cannot bind zookeeper from docker to its host's external ip address, we have to use "0.0.0.0" as the server address which ca

Re: Dense Vector Search fieldType default parameters result in index error

2022-12-14 Thread Alessandro Benedetti
Thanks, Alastair! We'll keep you updated! -- *Alessandro Benedetti* Director @ Sease Ltd. *Apache Lucene/Solr Committer* *Apache Solr PMC Member* e-mail: a.benede...@sease.io *Sease* - Information Retrieval Applied Consulting | Training | Open Source Website: Sease.io

Re: spatial search by zipcode

2022-12-14 Thread Gus Heck
Hi Matthew, It's worth keeping in mind that if you are *starting* with user input that has a zip code ("where zipcode is provided as a parameter?"), then it's faster at query time if you index the documents with a zip code and just match zip codes. If your documents have GPS points but not zipcod

Heap Size Space and Span Queries

2022-12-14 Thread Sjoerd Smeets
Hi, I've implemented a Span Query parser and when running the below query, I'm seeing Heap Size Space messages on certain shards: o.a.s.s.HttpSolrCall null:java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space The span query that I'm running is the following: ((spanNear([unste

connecting to Solr 9.1

2022-12-14 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
I'm trying to upgrade from Solr 8.5.2 to Solr 9.1 After installing the software and starting the instance I cannot connect, receiving such messages as curl: (7) Failed connect to hostname:port; Connection refused I cannot connect through a browser either. Attempts to connect do not show up in s

RE: connecting to Solr 9.1

2022-12-14 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
Update: I find that if I specify the hostname as localhost (running on the same host as the Solr instance) than it does get in. Is there some configuration into which certain host names should be added? -Original Message- From: Oakley, Craig (NIH/NLM/NCBI) [C] Sent: Wednesday, December

Re: connecting to Solr 9.1

2022-12-14 Thread Kevin Risden
https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html#security Specifically the following section: Solr now binds to localhost network interface by default for better out of > the box security. Administrators that need Solr exposed more broadly can > change the SOLR

Re: spatial search by zipcode

2022-12-14 Thread Matthew Castrigno
Hi Gus, Thank you for your reply. I am trying to emulate an existing API that is why I am trying to work with the Zipcode directly. After looking at this it looks like I will have to do a few things. 1. When indexing I will need to index the location in a spatial field 2. Along with the

Re: spatial search by zipcode

2022-12-14 Thread dmitri maziuk
On 2022-12-14 10:45 AM, Matthew Castrigno wrote: Hi Gus, Thank you for your reply. I am trying to emulate an existing API that is why I am trying to work with the Zipcode directly. After looking at this it looks like I will have to do a few things. 1. When indexing I will need to index th

Re: spatial search by zipcode

2022-12-14 Thread Walter Underwood
Right. The best you could do is some sort of “center” of the zip code, but they aren’t evenly shaped or similar sizes. 89049 is 10,000 square miles and 11109 is two blocks in NYC. 89049 is six disconnected areas. https://www.google.com/maps/place/Tonopah,+NV+89049/@38.51715,-116.8341002,9z/data

Re: Heap Size Space and Span Queries

2022-12-14 Thread Mikhail Khludnev
Developers, Is it expected for Spans? Can IntervalsQuery help here? On Wed, Dec 14, 2022 at 5:41 PM Sjoerd Smeets wrote: > Hi, > > I've implemented a Span Query parser and when running the below query, I'm > seeing Heap Size Space messages on certain shards: > > o.a.s.s.HttpSolrCall null:java.la

Re: Slow / unresponsive admin ui since solr 9.1 update

2022-12-14 Thread Jan Høydahl
Hi, We always check how the zookeeper ensemble is configured, and this check does not depend on whether dynamic reconfiguration is possible or not, it is simply to detect the common mistake that a 3 node ensemble is addressed with only one of the hosts in the static config, or with wrong host name

Re: spatial search by zipcode

2022-12-14 Thread Matthew Castrigno
Yes Walter, zip Codes are marginal at best for determining the closeness of locations. The API is used for indexing and searching content of a Sitecore site. Some of the content is about health care providers and their locations. From: Walter Underwood Sent: Wedn

Re: spatial search by zipcode

2022-12-14 Thread dmitri maziuk
On 2022-12-14 3:47 PM, Matthew Castrigno wrote: Yes Walter, zip Codes are marginal at best for determining the closeness of locations. The API is used for indexing and searching content of a Sitecore site. Some of the content is about health care providers and their locations. If you have add

Re: spatial search by zipcode

2022-12-14 Thread Walter Underwood
If you have the locations of each provider, I would tag those with their zip codes. Also might tag with zip codes within a certain distance, maybe in a different field. That lookup could be slow, because it is at index time. At query time, search the zip code field(s). One way to do the neighbo

RE: [EXTERNAL] Re: connecting to Solr 9.1

2022-12-14 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
Indeed that fixed the problem. Thanks -Original Message- From: Kevin Risden Sent: Wednesday, December 14, 2022 10:48 AM To: craig.oak...@nih.gov.invalid Cc: users@solr.apache.org Subject: [EXTERNAL] Re: connecting to Solr 9.1 https://gcc02.safelinks.protection.outlook.com/?url=https%3A%

Re: Slow / unresponsive admin ui since solr 9.1 update

2022-12-14 Thread michael dürr
Hi Jan, Thanks for answering! I'm pretty sure the reason is related to the problem that solr tries to connect to "0.0.0.0" as it reads that IP from the /zookeeper/config znode of the zookeeper ensemble. The connection I'm talking about is when ZookeeperStatusHandler.getZkRawResponse(String zkHost