search for: michaeldecerbo

Displaying 5 results from an estimated 5 matches for "michaeldecerbo".

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
...chengine.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 > application can display an excerpt that is relevant to the query, not a > sample chosen at indexing time without regard to the query that may or may > not contain the query term(...
2020 Sep 21
1
help improving relevance of snippets displayed by Omega
...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 >> application can display an excerpt that is relevant to the query, not a >> sample chosen at indexing time without regard to the query that may or may &g...
2020 Sep 18
2
help improving relevance of snippets displayed by Omega
Hi, Thanks for creating Xapian and Omega. I have been amazed by how easy they make it to get a basic full-text search engine up and running. I'm wondering if you can help me better understand one aspect of the results I am getting from the default query template. Usually the snippet that's displayed in response to a query doesn't contain the word that the user searched for, even
2020 Sep 19
2
help improving relevance of snippets displayed by Omega
Thanks Olly! But expanding the sample seems like the wrong solution. Is there a way to instead pass a hit or hits from the document to snippet generation? Michael