Displaying 20 results from an estimated 300 matches similar to: "Compiling Xapian within a Cocoa project"
2014 Apr 13
2
Adding an external library to Xapian
We are using the --enable-maintainer-mode and will move to git soon.
The diff file is attached.
*Siddhant Mutha*
Undergraduate Student
Department of Computer Science and Engineering
IIT Madras
Chennai
http://www.siddhantmutha.com/ <http:/www.siddhantmutha.com/>
On Sun, Apr 13, 2014 at 8:26 PM, James Aylett <james-xapian at tartarus.org>wrote:
> On 13 Apr 2014, at 15:48, Pallavi
2018 Jan 22
2
How to get the serialise score returned in Xapian::KeyMaker->operator().
>A possible workaround (and perhaps a better approach) would be to
>set BoolWeight as the weighting scheme, then feed in your score as
>a weight using a PostingSource. Then it's available via get_weight()
>on the MSetIterator object:
>
>https://getting-started-with-xapian.readthedocs.io/en/latest/advanced/postingsource.html
>
>You may find that's faster because
2018 Jan 24
0
How to get the serialise score returned in Xapian::KeyMaker->operator().
On Tue, Jan 23, 2018 at 12:55:31AM +0800, 张少华 wrote:
> We realise our score function using PostingSource instead of using
> KeyMaker, we reference your python example and source code of xapian,
> the simple demo is here.
> https://github.com/xiangqianzsh/xapian_leaning/blob/master/postingsource/ExternalWeightPostingSource.h
I'd just put the get_weight() and get_maxweight()
2020 Feb 07
0
prioritizing aggregated DBs
On Fri, Feb 07, 2020 at 09:33:08PM +0000, Eric Wong wrote:
> Hey all, I've been using ->add_database for a few years
> to tie sharded DBs together and it works great.
>
> Now, I want to be able to search across several DBs
> which aren't sharded, say: linux-DB, glibc-DB, freebsd-DB.
>
> I want to search for something across all of them, but
> prioritize results
2020 Feb 08
2
prioritizing aggregated DBs
Olly Betts <olly at survex.com> wrote:
> On Fri, Feb 07, 2020 at 09:33:08PM +0000, Eric Wong wrote:
> > Hey all, I've been using ->add_database for a few years
> > to tie sharded DBs together and it works great.
> >
> > Now, I want to be able to search across several DBs
> > which aren't sharded, say: linux-DB, glibc-DB, freebsd-DB.
> >
2016 May 03
2
Weighting recent results
On 5/2/2016 9:03 PM, Olly Betts wrote:
> On Fri, Apr 22, 2016 at 12:23:15PM -0400, Alex Aminoff wrote:
>> I did some digging and found a thread from 2011 talking about how to
>> subclass Xapian::PostingSource in order to incorporate the date or
>> recency of a document in its weighting:
>>
>> http://thread.gmane.org/gmane.comp.search.xapian.general/8849/focus=8856
2012 Apr 02
0
GSoC, Xapian Project Weighting Schemes
Hello all,
I am very sorry I did not include xapian-devel mailing list in my previous mail.
Thanks for responding my mail.
Mohd Azeem
NIT UK
________________________________
From: Olly Betts <olly at survex.com>
To: Mohd Azeem <azeem201001 at yahoo.in>
Cc: Parth Gupta <parthg.88 at gmail.com>
Sent: Saturday, 31 March 2012 11:40 AM
Subject: Re: GSoC, Xapian Project Weighting
2018 Jan 15
0
How to get the serialise score returned in Xapian::KeyMaker->operator().
Thanks for you reply.
In our case, we want to get a weight using the user' properties(age, gender, price preference) and products' properties(price, comment count, purchased amount among different gender or range of age). So our weight function is complex, no matter we use KeyMaker or PostingSource, six to eight values in slot will be used.
But we find that using doc.get_value(slot)
2016 May 03
0
Weighting recent results
On Fri, Apr 22, 2016 at 12:23:15PM -0400, Alex Aminoff wrote:
> I did some digging and found a thread from 2011 talking about how to
> subclass Xapian::PostingSource in order to incorporate the date or
> recency of a document in its weighting:
>
> http://thread.gmane.org/gmane.comp.search.xapian.general/8849/focus=8856
>
> As in that thread, I want to be clear that I
2010 Aug 27
1
Using relevance when sorting by generated key
Hi all,
I am trying to implement a scheme where documents in an MSet will be
sorted based on relevance as well as geographical distance from a given
(non-fixed) point.
I understand that this can be accomplished by using PostingSource in
order to implement a custom weighting scheme that would combine BM25
weighting and distance. The problem is that I am using perl and
PostingSource is not
2014 Apr 13
2
Adding an external library to Xapian
My code is not on Github. I am using the tarball as of now. The following
it the error that occurred:
http://pastebin.com/cVJrjUZX
On Sun, Apr 13, 2014 at 8:16 PM, James Aylett <james-xapian at tartarus.org>wrote:
> On 13 Apr 2014, at 15:37, Pallavi Gudipati <pallavigudipati at gmail.com>
> wrote:
>
> > A linker error is encountered even after following the above
2017 Dec 16
0
How to get the serialise score returned in Xapian::KeyMaker->operator().
On Fri, Dec 15, 2017 at 03:10:48PM +0800, 张少华 wrote:
> After using boolean terms to get some candidates of documents (still
> too much), we want sorted them by self-defined function which is used
> in Xapian::KeyMaker->operator(). But how can I get the serialise score
> in Xapian::MSetIterator object.
>
> c++ code likes this:
>
> class SortKeyMaker : public
2016 May 16
2
Weighting recent results
I was thinking about this some more: Is there a reason I can't just
weight by some function of recency at indexing time?
$weight = get_weight_based_on_recency(...);
$tg->index_text($txt,$weight);
If I wanted to allow the user the option of searching either in
recency-weighted mode or not, I could index each document into 2
different databases, one with and one without.
This avoids
2016 Apr 22
2
Weighting recent results
I did some digging and found a thread from 2011 talking about how to
subclass Xapian::PostingSource in order to incorporate the date or
recency of a document in its weighting:
http://thread.gmane.org/gmane.comp.search.xapian.general/8849/focus=8856
As in that thread, I want to be clear that I don't want to sort by date,
but rather incorporate date information into the score by which I
2020 Mar 22
0
Unable to build RPM for Centos 7
Hi,
we are an email hosting provider and we are looking at xapian to improve
our user experience about email search.
So we staring to build xapian 1.4.15 on Centos 7 with your
xapian-core.spec and move it and the source code in /root/rpmbuild/SPECS
and SOURCE, but we have this error after run "rpmbuild -ba":
[...]
Elaborazione file: xapian-core-devel-1.4.15-1.x86_64
errore: File
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
2008 Dec 17
1
using ValueWeightPostingSource
Hi,
I'm currently using PostingSource to add some weight over the result
using a value.
I didn't find any documentation on how to use it with the query so i
link a query constructed using the posting source and a query made
using the query parser with an AND operator :
Xapian.Query queryText = parser.ParseQuery("test:" + textBox1.Text + "
DS:1 DS:2");
Xapian.Query
2010 Aug 09
2
File descriptor leak (?) in Python
Hi all,
Recently I have upgraded a Python application from Xapian 1.0.7 to
1.2.2 in order to use the PostingSource class. It is a long-running
process, and I am seeing the number of open file descriptors to the
Xapian database steadily increase. I suspect what I am seeing is some
kind of resource leak.
I have no idea if it is a problem in our code or in the Xapian Python
bindings. How do I debug
2017 Mar 15
2
xapian core missing link to math on MSYS2
Dear All,
I've tried to build xapian-core 1.4.3 on MSYS2. It fails with attached
error (undefined reference to `exp10'). I think it might be missing an
explicit link to 'm'. I'm not able to fix this myself as I do not
know autotools sufficiently well, but I hope you might be able to help.
Cheers,
Mario Emmenlauer
--
BioDataAnalysis GmbH, Mario Emmenlauer Tel.
2016 May 03
0
Weighting recent results
On Tue, May 03, 2016 at 07:56:19AM -0400, Alex Aminoff wrote:
> Perhaps I am not understanding the basic concept, but I was figuring
> we would just write a subclass of PostingSource in C++ that does
> what we want, and not bother with the perl bindings. Is that not
> possible? I realize that ideally we would develop the general
> solution and share our code out to the community,