search for: classxapian_1_1enquire

Displaying 8 results from an estimated 8 matches for "classxapian_1_1enquire".

2006 Jan 29
1
Prioritizing xapian search results
Hello It is possible somehow to give higher priority to recent document. For example, when adding new document to the database, I will add a term that specifies date of the document. During the search, the date of the document is taken into account in the algorithm that calculates document relevancy. In another project I am working on, I would like to limit number of pages returned from the
2006 Jul 06
1
Re: [XapianBug 84] Enquire_set_sort_by_value() and friends have no effect
...> ------- Additional Comments From olly at survex.com 2006-07-06 16:36 ------- > I've just taken a look. The example script is actually working correctly. > > You should note that the sort uses a *STRING* compare as documented here: > > http://www.xapian.org/docs/apidoc/html/classXapian_1_1Enquire.html#cc00543ba0459cc8ceca25e89fe69e19 > > So "100" < "20" < "3". > > I suspect you were expecting a numeric sort - if you want to sort numbers > you'll need to left pad them with zeros or spaces at present. > > > > ------- You are r...
2009 Jan 29
1
Xapian Ruby bindings do not implement full multi-value-sorting functionality?
...] : sorter = Xapian::MultiValueSorter.new sorter.add(0, true) sorter.add(1, true) : enquire.sort_by_key_then_relevance(sorter) : And it seems that there is no 'sort_by_key_then_relevane' method implented in Xapian::Enquire. The documentation tells me: http://www.xapian.org/docs/apidoc/html/classXapian_1_1Enquire.html#7c6c0c1f66bdeefbd09a0575584ba9b9 Is there a reason for this? How could it be implemented into the Ruby bindings? I've read the HACKING document that comes with the xapian-bindings but I've never used SWIG, I wasn't able to help myself. Any help is highly appreciated. Lukas Riede...
2007 Jan 13
1
xapian query group result by domain?
Hi I know it might not possible, but just want to try my luck. say, for a web search engine backed by xapian.... Is it possible to group the result by domain just like google's [ More results from www.abc.com ], when there are more than 1 results from the same domain? Or, anyone have some work around to do it? Cheers Andrey Kong
2011 Feb 20
0
No subject
..._collapse_count() to give the user some idea how many other results there are. And if you index the Subject: as a boolean term as well as putting it in a value, you can offer a link to a non-collapsed search restricted to that thread using a boolean filter." http://xapian.org/docs/apidoc/html/classXapian_1_1Enquire.html#117ee547f5908e952e2e72d5a986d3bb This sounds very like the case you're talking about. -- E: sym.roe at talusdesign.co.uk M: 07742079314 @symroe
2011 Feb 11
2
PHP Binding and SWIG Director for XapianMatchDecider
Hi, I try to use XapianMatchDecider to filtering results, but the code : $Decider = new MatchDecider_Search($XapianDatabase->_cPtr); $mset = $XapEnquire->get_mset(0, 3000, null, $Decider); Always return : PHP Fatal error: No matching function for overloaded 'Enquire_get_mset' in xapian.php on line 1082 I saw that SWIG was not supporting Directors for PHP, but now, it seems to
2012 Mar 20
2
Incremental indexing
Hi all, I am trying to implement an Incremental indexing scheme. The problem is that usually the modified documents are large but the modifications are limited. Ideally, I would like to reindex only the modified parts of these documents. If I am not mistaken, xapian cannot do that. Are there any other approaches? It would be nice if xapian supported something like the SQL "group by".
2011 Aug 11
3
Fwd: Re: what is the fastest way to fetch results which are sorted by timestamp ?
(Forwarded off-list message) -------- Original Message -------- Subject: Re: [Xapian-discuss] what is the fastest way to fetch results which are sorted by timestamp ? Date: Thu, 11 Aug 2011 01:06:36 +0800 From: ??? <panjunyong at gmail.com> To: Tim Brody <tdb2 at ecs.soton.ac.uk> On Wed, Aug 10, 2011 at 6:39 PM, Tim Brody <tdb2 at ecs.soton.ac.uk> wrote: > Hi, > > In