Displaying 11 results from an estimated 11 matches for "valuenos".
Did you mean:
valueno
2014 Dec 19
2
Replace atoi and atol with strtol strtoul:Need Help
On Thu, Dec 18, 2014 at 11:38:42PM +0000, James Aylett wrote:
> Collapsing is done using a valueno (you can tell because collapse_key
> is of type Xapian::valueno), which is a 32 bit unsigned integer (see
> here:
> https://getting-started-with-xapian.readthedocs.org/en/latest/concepts/indexing/values.html).
> For 32 bit unsigned you need unsigned long.
Xapian::valueno is actually a
2014 Dec 18
4
Replace atoi and atol with strtol strtoul:Need Help
Hello,
I came across the file *omega.cc* which is in directory*
xapain-application/omega/*
In this file , atoi is used in *Percentage Relevance cutoff *(293 line no)
as Percentage lies between 0-100 their is no need to modify atoi . But do
we need to check for error's ?
Second Implementation is in *collapsing* (301) in which we collapse set of
document under a key,range of this key has not
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
2006 Dec 13
1
Re: [Xapian-commits] 7575: trunk/xapian-core/ trunk/xapian-core/include/xapian/
On Wed, Dec 13, 2006 at 06:09:49PM +0000, richard wrote:
> Improve documentation comment for Document::get_value().
Further to this improvement, I wonder if the "must be >= 0" should be
dropped. Xapian::valueno is an unsigned type, so you effectively can't
pass a negative value in (if you do it'll be converted to a large
positive value and would work if used
2009 Oct 21
2
Doc Value Query in Omega
Folks,
Is it possible to query a document value (doc.set_value(i, val)) as part
of the Omega query. I know how to do it from code. Is there a query
markup to use for Omega?
...Thanks,
...Ken
2011 Feb 22
1
collapsing by a key in a compound database
Hello all.
I have a problem with collapsing by a key in a compound database. I have
2 databases (e.g. clients and client branches), both of them have the
same attribute (with the same valueno), `client_id'.
What I need is to search in both these databases and collapse results by
`client_id' to get client IDs (set_collapse_key is used with
collapse_max=1).
The problem is that I receive 2
2012 Mar 20
2
Writing a MatchDecider and exposing it to PHP
I would like to write a MatchDecider in C++ and expose it to PHP.
I'm able to compile a simple extension and use SWIG to expose a simple
function to PHP, but I can't seem to hit upon the right incantation to
expose my MatchDecider class.
I have a header file declaring my decider, MyDecider.h
#ifndef _INC_MYDECIDER_H
#define?_INC_MYDECIDER_H
#include <xapian/enquire.h>
2006 Jul 25
2
weight scheme with document values
Hi guys,
I resently used xapian to sort some documents by distance between 2
points.
I implemented a MatchDecider which work well.
I now tried to implement a Weight scheme to put my document in ascending
order depending on the distance...
My information to calcul distance is in values in the document.
How I can access document values from Weight to be able to add some
sum_extra weight ??
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
2011 Sep 21
2
Xapian-discuss Digest, Vol 88, Issue 9
Thanks that helped :).
I am still trying to cover add_value some more though since I seem to not
understand it totally.
I guess it is because I am used to Lucene and Sphinx and Solr and it appears
that Xapian seems to attach the type of value stored more on add_value. Like
for example I am still a bit confused on how slotno actually works and what
it actually is.
I think the main thing is
2019 Jul 29
5
Arguments name IR LLVM
Hi everybody,
I want to read the name of the arguments of fucntion IR LLVM, I have the following function define:
define void @vecadd(i32, float* nocapture readonly, float* nocapture readonly, float* nocapture) local_unnamed_addr #0 {
As we see, the argument has no name, if we look at call function in main function we see the arguments name (a, b and c):
call void @vecadd(i32 10, float*