search for: gettermbyposit

Displaying 2 results from an estimated 2 matches for "gettermbyposit".

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 to display a piece of the document that is related to the...
2015 Jul 26
1
Get term from document by position
...ippets). I think that if one had a way to get a term by position fast, than the snippet generation would be much more faster. > > > 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) ? > > Not that I?m aware of. Snippet highlighting is something that was worked on for a GSoC project a few years ago, and is mentioned in our FAQ: <http://trac.xapian.org/wiki/FAQ/Snippets>. It?s not available in the 1.2 series, but as I understand it should work out o...