Re: Is it possible to retrieve partial search results and highlight snippets fro

2024-11-16 Thread Mingchun Zhao
Hi Mikhail, > Presumably, if an app got just partial results without highlightings, it can make the second request searching by IDs of found results, but specify initial query for highlighting via hl.q. Thank you for the great idea! I'll consider this approach as well. Regards, Mingchun 2024年1

Re: Is it possible to retrieve partial search results and highlight snippets fro

2024-11-16 Thread Mikhail Khludnev
Presumably, if an app got just partial results without highlightings, it can make the second request searching by IDs of found results, but specify initial query for highlighting via hl.q. On Sat, Nov 16, 2024 at 11:13 AM Mingchun Zhao wrote: > Hi Luke, > > Thank you for analyzing the code and k

Re: Is it possible to retrieve partial search results and highlight snippets fro

2024-11-16 Thread Mingchun Zhao
Hi Luke, Thank you for analyzing the code and kindly providing a detailed explanation. I now understand that it is not possible to retrieve the partial result set or its highlighted snippets for a query interrupted due to exceeding the "timeAllowed" setting value. I truly appreciate your help on

Re: Is it possible to retrieve partial search results and highlight snippets fro

2024-11-15 Thread Luke Kot-Zaniewski (BLOOMBERG/ 919 3RD A)
From reading the code I don't think it is possible. If your timeout is occurring in the core search the SolrIndexSearcher will throw a certain type of ExitingReaderException that is caught very high up (in the SearchHandler). This happens as the SearchHandler is looping through "SearchComponents