Re: Fewer results when duplicating phrase in a query with OR

2021-07-01 Thread Erik Hatcher
Mónica - that is a surprising difference. Could you add &debug=true and share the parsed queries you're getting in both cases? What is the layout of your collection? multi-sharded? how many shards? Is the index in flux (things being added or deleted) between those queries? Any other ar

Re: qf with multiple fields in _query_ with edismax

2021-09-10 Thread Erik Hatcher
Andy, Use single quotes around the inner parameters, such as {!edismax qf='object_name thing_name'}. Going even further, use the `v` parameter to encapsulate the query string inside as well, as the parser eats everything after the closing curly bracket otherwise. {!edismax qf='object_name t

Re: qf with multiple fields in _query_ with edismax

2021-09-11 Thread Erik Hatcher
real use case will have additional predicates - > >> I merely trimmed it down to reproduce and illustrate the problem. I > >> real query will probably be something like (without encoding): > >> > >> q= locale:en AND thingType:part AND _query_:"{!edismax qf=&#

Re: "Negative Boost" removed from Solr 8.4

2021-10-01 Thread Erik Hatcher
The take away is that greater than zero and less than 1 values, such as 0.1, will down boost a document. Erik On Fri, Oct 1, 2021, 06:13 Amrit Sarkar wrote: > Thank you Jan, Sayanti, Govind. > > Amrit Sarkar > Engineer | Search and Kubernetes > https://seamadic.com/ > Twitter https://twitte

Re: Solrj for addField for indexing document

2021-10-11 Thread Erik Hatcher
It appears you should use "type" instead "field type" in your Java code. (**'type' is a required field** says the error message) Erik > On Oct 11, 2021, at 12:14 PM, nskarthik wrote: > > Hi > > Spec : using java 15 with SolrJ 8.10.0 / Solr > > Process : I already tryed this peice o

Re: Tie Breaker and Boost query

2021-10-18 Thread Erik Hatcher
Try using a dismax or edismax query for that bq. On Mon, Oct 18, 2021, 06:22 Manish Bafna wrote: > Hi Solr experts, > I am looking for a solution for this. We are using edismax query parser. > We have query like this: > q: (query1 OR query2 OR query3) > &bq:(bq1^2 bq2^3) > &bq:(bq3 bq4) > > We w

Re: Tie Breaker and Boost query

2021-10-18 Thread Erik Hatcher
What query did you try exactly? > On Oct 18, 2021, at 6:54 AM, Manish Bafna wrote: > > I tried that and it is throwing error as: "Infinite Recursion detected > parsing query" > > On Mon, Oct 18, 2021 at 4:09 PM Erik Hatcher wrote: > >> Try using

Re: [EXTERNAL] Re: Having issues searching literal parentheses

2021-10-19 Thread Erik Hatcher
Your field type eats/removes parentheses - so there's no way to search for them. Adjustments will need to be made one way or another to get parentheses indexed and queried. Erik On Tue, Oct 19, 2021, 11:27 Casteel, Kayla Lynne wrote: > Unfortunately I can't change the type of the allText f

Re: Production readiness of Solr JWT

2022-01-23 Thread Erik Hatcher
SG - How would you imagine Sole tackling this situation differently/better than the ways you described? I haven't looked at the code recently but I suspect the best practice is as you detailed or simply make requests until they get denied and then instantiate a new client with a valid token and c

Re: browse UI for Solr 9x version

2023-04-17 Thread Erik Hatcher
This feature is no longer maintained nor supported but the last working version of it lives here: https://github.com/erikhatcher/solr-velocity You're on your own with it from there, alas. Best, Erik On Mon, Apr 17, 2023, 18:54 Shamik Bandopadhyay wrote: > Hi, > > As per Solr 9 relea

Re: browse UI for Solr 9x version

2023-04-17 Thread Erik Hatcher
wrote: > Thanks Erik. I'm surprised that the community decided to remove this, but > it has been a valuable UI tool for developers, QA, and analysts to browse > data. Just curious, are there any other UI tools that folks are using as > replacements? > > On Mon, Apr 17, 2023 at 4