Displaying 3 results from an estimated 3 matches for "multivaluesort".
Did you mean:
multivaluesorter
2009 Jan 29
1
Xapian Ruby bindings do not implement full multi-value-sorting functionality?
Hello,
this is a question that could be answered by collaborators of the Ruby
bindings.
Today I've played around with the Xapian::MultiValueSorter class. I've set
everything up and then I tried following on an instance of Xapian::Enquire:
:
enquire = Xapian::Enquire.new(database)
enquire.query = options[:query]
:
sorter = Xapian::MultiValueSorter.new
sorter.add(0, true)
sorter.add(1, true)
:
enquire.sort_by_key_then_relevance(sorter)
:...
2010 Aug 23
1
Sort ordering
Using MultiValueSorter, I can sort by key1, key2, relevance; or relevance, key1, key2.
But AFAIK, I can't sort by key1, relevance, key2. Unless I spool out the entire result set or write some C++.
I wonder if we need a new 'sort by' function that accepts any combination of keys and relevance in any order?...
2011 Apr 21
1
Installing Search::xapian
...nifying blib/man3/Search::Xapian::DocNotFoundError.3pm
Manifying blib/man3/Search::Xapian::LogicError.3pm
Manifying blib/man3/Search::Xapian::Stem.3pm
Manifying blib/man3/Search::Xapian::PostingIterator.3pm
Manifying blib/man3/Search::Xapian::PositionIterator.3pm
Manifying blib/man3/Search::Xapian::MultiValueSorter.3pm
Manifying blib/man3/Search::Xapian::FeatureUnavailableError.3pm
Manifying blib/man3/Search::Xapian::DatabaseVersionError.3pm
Manifying blib/man3/Search::Xapian::DatabaseOpeningError.3pm
Manifying blib/man3/Search::Xapian::DatabaseError.3pm
Manifying blib/man3/Search::Xapian::InvalidOperationE...