Re: Sorting by float field, ignoring NaN

2021-10-05 Thread Matthew Lapointe
Hi Theo, You could try something like if(eq(div(0,0),field),-1,field), though there's probably a more elegant way to do it Matt On Mon, Oct 4, 2021 at 1:46 PM Pinkesh Sharma wrote: > you can try updating the field type to include sort missing first and last > > sortMissingLast="true" sortMiss

autoSoftCommit vs commitWithin

2022-03-01 Thread Matthew Lapointe
Hello, I have been reading the documentation on UpdateHandlers and Near Real Time Searching, and I'm wondering if there is any practical difference between these two configurations: - autoSoftCommit enabled, with maxTime=1 and commitWithin not specified - autoSoftCommit disabled, com

Re: Atomic indexing without whole document getting indexed again

2022-04-05 Thread Matthew Lapointe
Hi, I encountered a similar issue recently trying to differentiate between atomic and in-place updates. I ended up enabling debug logging for the DirectUpdateHandler2 class via Solr UI → Logging → Level options. Then the logs should print something like "DirectUpdateHandler2 updateDocValues" for a

Re: Atomic indexing without whole document getting indexed again

2022-04-05 Thread Matthew Lapointe
still not getting triggered :( > > solr_1 | 2022-04-05 19:37:22.453 DEBUG > (qtp825658265-16) [ x:answers] o.a.s.u.DirectUpdateHandler2 > updateDocument(add{_version_=1729298371656548352,id=answers:question:8029}) > > On Tue, Apr 5, 2022 at 3:10 PM Matthew Lapointe > > wrote: &

Re: Atomic indexing without whole document getting indexed again

2022-04-05 Thread Matthew Lapointe
Are there any update request processors defined that could be adding default values? On Tue, Apr 5, 2022 at 4:53 PM gnandre wrote: > It is configured as a unique field. > > id > > > > On Tue, Apr 5, 2022 at 4:10 PM Matthew Lapointe > > wrote: > > > Th

Re: How to pass a list of values for a particular attribute in SOLR query?

2022-04-21 Thread Matthew Lapointe
Hi Neha, The terms query parser might be useful for you: https://solr.apache.org/guide/8_11/other-parsers.html#terms-query-parser. It's more concise and gives different options for the underlying query implementation depending on the use case. Matthew On Thu, Apr 21, 2022 at 3:14 AM Neha Gupta