Building question based query

2021-06-04 Thread Steven White
Hi everyone, Where can I learn more on how to create and set up Solr so it can handle special queries? I need to create a solution where if a user enters a search term such as "Are we having any rain this Sunday?" or "What is the weather like for the next 5 days?" or "NFL schedule" etc. the first

Result set order when searching on "*" (asterisk character)

2021-07-21 Thread Steven White
Hi everyone, When I search on "*" (asterisk character) what's the result sort order based on? Thanks Steven

Re: Result set order when searching on "*" (asterisk character)

2021-07-22 Thread Steven White
if no sort options are configure, just try to add the score field you'll > see all the documents (are ordered by score), which usually when there are > no clause is 1. > > On Wed, Jul 21, 2021 at 4:36 PM Steven White wrote: > > > Hi everyone, > > > > When I se

Does Solr 3.6.1 support FIPS 140-2

2021-12-15 Thread Steven White
Hi everyone, Does anyone know if Solr 3.6.1 supports FIPS 140-2? Thanks Steve

Memory and thread leak using SolrJ

2022-02-04 Thread Steven White
Hi everyone, This simple code, is causing me memory and thread loak (threads remain in "sleeping" mode): for (int j = 0; j < 1; j++) { SolrClient solrClient = new HttpSolrClient.Builder("foo-bar").build(); } Any idea why? Is there an unbuild(), release() or something I h

Re: Memory and thread leak using SolrJ

2022-02-17 Thread Steven White
ted that I must when I'm done with the object. I will leave it to those who know Solr to decide if this is a defect or not. Thank you all again for your help on this topic. Steven On Fri, Feb 4, 2022 at 8:49 PM Steven White wrote: > Hi everyone, > > This simple code, is caus

Avoid the need to use OR operator

2023-04-14 Thread Steven White
Hi everyone, I have the following very long query that I need to send to Solr: > search-text some-other-limits UNIQUE_MODELS:(19 OR 20 OR 9532 OR ...) See how I'm narrowing my query to a list of values limited to the field UNIQUE_MODELS ? The number of items that can be passed to UNIQUE_MODELS

Does CVE-2020-27223 impact Solr 8.6.1

2021-03-10 Thread Steven White
Hi everyone, Does anyone know if CVE-2020-27223 [1] impacts Solr? This is a vulnerability in jetty-http-9.4.27.v20200227.jar which we ship with Solr 8.6.1. Thanks, Steven [1] https://nvd.nist.gov/vuln/detail/CVE-2020-27223

Controlling dynamic field creation on guessed field

2021-03-23 Thread Steven White
Hi Everyone, I have the following block of code in my solrconfig.xml java.lang.String text_en true This is creating a new field like so: I need it to include additional field settings, so that I would have the following: I need to have be able to s

Re: Controlling dynamic field creation on guessed field

2021-03-23 Thread Steven White
t; > Regards, > Alex > > On Tue., Mar. 23, 2021, 7:32 p.m. Steven White, > wrote: > > > Hi Everyone, > > > > I have the following block of code in my solrconfig.xml > > > >> name="add-schema-fields"> > >