search for: l475

Displaying 4 results from an estimated 4 matches for "l475".

Did you mean: 7475
2020 Sep 20
3
help improving relevance of snippets displayed by Omega
Olly, Thanks again very much for helping me improve my understanding of Xapian and Omega. Thanks especially for pointing out that my idea of trying to generate a snippet from stemmed text lacking capitalization and punctuation would probably not produce a user-friendly result. But I'm still doubtful that expanding the sample size could be the right way to obtain excerpts from the document
2020 Sep 21
0
help improving relevance of snippets displayed by Omega
...hich uses two functions to then work out the extract, position_of_first_word: https://github.com/mysociety/theyworkforyou/blob/master/www/includes/easyparliament/searchengine.php#L562 and highlight: https://github.com/mysociety/theyworkforyou/blob/master/www/includes/easyparliament/searchengine.php#L475 They stem the entered words and loop through the speeches to find the match/thing to highlight. ATB, Matthew On Sun, 20 Sep 2020 at 03:57, Michael Decerbo <michaeldecerbo at gmail.com> wrote: > In general, I'm wondering how best to use Xapian so that, at query time, my > applicat...
2020 Sep 21
1
help improving relevance of snippets displayed by Omega
...n work out the extract, > position_of_first_word: > > https://github.com/mysociety/theyworkforyou/blob/master/www/includes/easyparliament/searchengine.php#L562 > and highlight: > > https://github.com/mysociety/theyworkforyou/blob/master/www/includes/easyparliament/searchengine.php#L475 > They stem the entered words and loop through the speeches to find the > match/thing to highlight. > > ATB, > Matthew > > On Sun, 20 Sep 2020 at 03:57, Michael Decerbo <michaeldecerbo at gmail.com> > wrote: > >> In general, I'm wondering how best to use X...
2023 Feb 20
2
[PATCH 1/2] python: Avoid crash if callback parameters cannot be built
On 2/17/23 17:52, Eric Blake wrote: > On Thu, Feb 16, 2023 at 03:09:02PM +0100, Laszlo Ersek wrote: >> - Py_BuildValue with the "O" format specifier transfers the new list's >> *sole* reference (= ownership) to the just-built higher-level object "args" > > Reference transfer is done with "N", not "O". That would be an >