Invalid PHPS response for Luke request

2023-12-03 Thread Thomas Corthals
Hi all, The output of a Luke request for a specific document with wt=phps can't be unserialized in PHP because it contains an error. > curl 'http://localhost:8983/solr/techproducts/admin/luke?id=apple&wt=phps' The output is structured like this, I'm omitting some details for brevity. a:4:{s

Re: Conditional query re-ranking

2023-12-03 Thread rajani m
Hi Joel, Right. 1. To check if the number of documents matched are too low as 5 or high as many total numbers of docs, let's say. 2. To allow checking process time and skip going into the block if the time has elapsed. 3. If reranking failed, return empty docs/500, then option to return results fr

Re: IllegalArgumentException: Comparison method violates its general contract! - LTR query exception

2023-12-03 Thread rajani m
Hi Hoss, I don't have a query that reproduces it yet. The error is seen in production logs only, and I cannot apply patches on those nodes. I will keep looking for the query and will keep you updated. Another bit of extended exception trace is as follows - Caused by: java.lang.IllegalArgumentEx

Sortable Text Field use case

2023-12-03 Thread rajani m
Hi Solr Users, Would query performance improve if a text field such as "description" or "summary" are Sortable Text Field type instead of TextField type? The fields are queried with edismax syntax in which caret (^) boost is applied. For example, q=cats&description^10 title^50 Thanks, Rajani

Re: Sortable Text Field use case

2023-12-03 Thread Mikhail Khludnev
Hello, I don't think so. Sortable Text Field creates additional field copy (as docValues) that allows it to sort on it. On Sun, Dec 3, 2023 at 8:21 PM rajani m wrote: > Hi Solr Users, > >Would query performance improve if a text field such as "description" > or "summary" are Sortable Text