Displaying 20 results from an estimated 100 matches similar to: "docid type redifine"
2009 Jun 23
1
Indexing more than 15 billion documents
Hi,
Sorry to follow up on an old thread, but I am wondering if there has
been any work done on, or interest in, increasing the maximum document
id beyond a 32bit limit?
Daniel
On Mon, Jun 18, 2007 at 04:11:54AM +0100, Olly Betts wrote:
> > In particular, there is currently a limit of 4 billion documents in a
> > database, due to using a 32 bit type for document IDs, but I don't
2008 Sep 16
1
Some Questions From the beginner of Xapian
Dear, guys:
I am a beginner of Xapian, when reading the documents, I encountered follow questions.
(1) I see the Xapian::Document has a method
void add_value (Xapian::valueno valueno, const std::string &value)
What's the purpose of this method? Document will related to the terms, but what's the purpose of this?
(2) add_posting method will add term to a documents.
void
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
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
2009 Jan 27
1
Segmentation fault in MSetIterator get_weight
Hi,
I'm using xapian with c# and mono and i'm having a segfault in get_weight.
When i print the index variable, the value is clearly too high.
I think something write over it. Do you have any idea on how i could
trace the beginning of the segmentation fault ?
Thanks,
--
Yann
2014 Aug 07
2
Global number of matches
Hi,
is there a way to get the number of all possible matches for a specific
query?
Some api call like
Xapian::doccount Xapian::Enquire::get_number_of_matches();
Best wishes
Wilm
2007 Jul 24
1
Xapian::DocNotFoundError on replace_document? (Called from Search::Xapian)
Hello,
I'm using Xapian 1.0.2 (flint) and matching Search::Xapian.
I'm getting:
terminate called after throwing an instance of
'Xapian::DocNotFoundError', which dumps core.
at first it was after adding my 2nd document (to an empty db, although
I don't know if that has any bearing) to the database with a
replace_document() call.
I shifted the first document off the
2015 Mar 11
2
stub-file and get_doccount
Hello,
i switched from one big index to a stub file with many indexes and running
into a problem.
i have a tool to fetch a random document via:
get_doccount
random id up to get_doccount
get_document with that id
after changing to stub file this failes. Is there a nice way to get a
random document from a stub file?
?MfG?
Felix Ostmann
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()
2005 Feb 24
2
mutable Query objects
There's a bit of an API glitch with Query objects at present. This code
shows it off:
Xapian::Database("/path/to/db");
Xapian::Enquire enquire(db);
// make a simple query
Xapian::Query myquery(Xapian::Query::OP_NEAR, phrase, phrase + 2);
enquire.set_query(myquery);
// Now change the query - this shouldn't affect the query enquire
// will run, but it does.
2013 Aug 27
2
What does collection_freq means?
Hi, all:
I am confused with the concept of colletion_freq
There's no informations about it on http://xapian.org/docs/glossary.html
What does it means?
Thanks
Regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20130827/370cc6a3/attachment.html>
2023 Aug 18
1
does Xapian::Enquire hold an MVCC revision?
On Thu, Aug 17, 2023 at 09:28:26PM +0000, Eric Wong wrote:
> In other words, is it possible to avoid duplicates if new
> documents are inserted into the DB by another process in-between
> ->get_mset calls when reusing Xapian::Enquire objects?
The Database object itself effectively does (it works in a snapshot of
the state of the database when you open it, or last called reopen()
which
2010 Dec 16
1
Enquire::get_mset() "first" and MatchDecider
Hello,
This is a somewhat idle question about Enquire::get_mset(), possibly based
on wrong assumptions on how Xapian works, but I would be grateful if
someone satisfied my curiosity.
Xapian::MSet Xapian::Enquire::get_mset(Xapian::doccount first,
Xapian::doccount maxitems,
const Xapian::RSet * omrset = 0,
const
2016 Jul 30
2
Letor: returning MSet after re-ranking
>
>
> I'd prefer to avoid adding things to the public API that don't get
> used by end users. However because LTR is outside the Xapian build
> tree, we can't easily give it privileged access to Xapian internals.
>
Sorry for a delayed response.
The way I was thinking of performing reranking with updated weights was to
add a class MSetRanker (basically containing a
2020 Nov 16
4
set_max_expansion in perl-bindings?
Hi,
I've just noticed that set_max_wildcard_expansion() has been removed in
favour of set_max_expansion() in Xapian.
Has the new method been added to the Perl-bindings?
We have some old Perl code that uses set_max_wildcard_expansion(), and I
have a test of too large expansion that now returns "something terrible
happened" instead of"Exception: Wildcard ... expands too much
2011 Mar 07
1
Set Term Frequency for a Query
Hello,
I have a problem when trying to define a query and setting for each term its
"term frequency" with the classical constructor
Xapian::Query<http://xapian.org/docs/apidoc/html/classXapian_1_1Query.html#f396e213df0d8bcffa473a75ebf228d6>(const
std::string &tname_,
2011 Apr 19
0
Merge databases
Dear all,
I try to use the xapian-compact tool to merge several databases. I need to
keep the document ID.
The problem is that xapian-compact is not able to merge databases because of
overlapping "doc ID range". Nevertheless, in my case, a doc ID is always
used for one and only one database.
Is there a (other) clever way to simply and quickly merge databases ?
Regards
2011/3/7
2014 Mar 06
2
Regarding GSOC 2014
Sir,
I am a 4th yr undergraduate student pursuing my BTech in CSE at IIIT
Hyderbad, India.
I am interested in applying for Xapian in Gsoc 2014. I had gone through
this year's idea page and interested in applying for 'posting list encoding
improvements' project.
I am good at C/C++,python; which is one of the requirement. I had done gone
through the information Retrieval and
2014 Mar 10
2
A few more question about LETOR
1.Could you explain why are these libraries included in all the
xapian-letor headers?
#include<xapian/intrusive_ptr.h>
#include<xapian/types.h>
#include<xapian/visibility.h>
Or just provide me with the documentation of these header. I looked into
these header files but couldn't anything substantial.
2.