Displaying 2 results from an estimated 2 matches for "untermed".
Did you mean:
entered
2015 Jul 23
1
Get term from document by position
Hello. Is there any FAST way to get a term from the xapian document by it's position, something like
std::string term = Xapian::Document::GetTermByPosition(int position) ?
Below i have described a task that i am trying to solve, in case if somebody is interested.
============================================================================
When displaying search results, i would like to
2015 Jul 26
1
Get term from document by position
...it should work out of the box in 1.3.3.
>
> Note that your suggested approach of going from terms to snippet doesn?t work in the general case, because of issues like stemming. Instead, Mihai?s approach was to use the matcher information to generate a snippet from the original, unstemmed and untermed, text.