search for: msetitem

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

2010 Feb 18
2
xapian.DocNotFoundError: regression?
....16: tack at orion:~$ rm -rf xapdb/; python xaptest.py Xapian::MSet(Xapian::MSet::Internal(firstitem=0, matches_lower_bound=10, matches_estimated=10, matches_upper_bound=10, max_possible=0.047060994820388071802, max_attained=0.023530497410194035901, Xapian::MSetItem(1, 0.023530497410194035901, ), Xapian::MSetItem(2, 0.023530497410194035901, ), Xapian::MSetItem(3, 0.023530497410194035901, ), Xapian::MSetItem(4, 0.023530497410194035901, ), Xapian::MSetItem(5, 0.023530497410194035901, ), Xapian::MSetItem(6, 0.023530...
2013 Jul 03
2
Potential memory leak when assigning MSetItem values
I've traced a memory leak to a statement which assigns the values from an MSetItem to a dictionary which is then appended to a list in python. We're running python 2.7.3, xapian-core 1.2.15 and xapian-bindings 1.2.15. I've provided an example which reproduces the behavior below. The example prints the PID and has a few statements waiting for input to make observing the be...
2013 Jul 10
2
Potential memory leak when assigning MSetItem values
Olly, the process size does stay constant with the results from one query set, but running other queries will cause it to grow (once). Is it possible that this is a bug with the SWIG python bindings? On Fri, Jul 5, 2013 at 6:18 AM, Olly Betts <olly at survex.com> wrote: > On Wed, Jul 03, 2013 at 03:59:21PM -0400, Jeff Rand wrote: > > Run the following code and monitor the
2019 Jan 22
1
About xapian serialization on float/double variables
...re Document values with serialization approach when given value types meet float/double. Such an approach is deployed on sort_key related fields as well, where the xapian requires KeyMaker::operator() must return an serialized float/dobule variable. Then heap sort comes and ranks the vector<MSetItem> items (multimatch.cc MultiMatch::get_mset()) by comparing serialized sort_keys (std::string) straightforwardly according to <IEEE-754 doubles>. Subsequently sort_keys will be unserialized when user needs to read its real float/double values during iterations of result MSet. Obviously...
2016 Jul 30
2
Letor: returning MSet after re-ranking
...for a delayed response. The way I was thinking of performing reranking with updated weights was to add a class MSetRanker (basically containing a copy of MSet to be re-ranked) to Xapian public API, which would be a friend of MSet::Internal class so that it could access/update the weights and sort MSetItems accordingly, returning an updated MSet. As you pointed out, two obvious issues with this are: 1) Unnecessary addition to Xapian public API since this class is not useful beyond letor. 2) It gives access to MSet internals to end users What would you suggest should be the way out to access MSet in...