Displaying 20 results from an estimated 100 matches similar to: "questions about xapian"
2010 May 22
1
How to search documents with certain values
Hi all,
I am creating Xapian documents and adding a unix timestamp to each document
as a value using the doc.add_value method.
When I search my Xapian database, I want the option to only search documents
with a timestamp within the last year.
Is there a way to search across documents with a value greater than a
specified value string? Or is there a better way of doing something like
this?
Any
2009 Nov 15
1
setting ValueRangeProcessor at runtime
I want to set a variable number and type of ValueRangeProcessors at run time
based on a configuration file. But I seem to be running into (what I think is) a
C++ scope issue.
I tried just a simple test to see if I could add 5 VPs in a loop.
Xapian::QueryParser qparser;
Xapian::Query query;
int vp = 0;
while(vp < 5) {
Xapian::StringValueRangeProcessor sproc(vp++);
2015 Sep 09
2
custom ValueRangeProcessor in Perl?
Hello, I'm using the XS Perl bindings packaged with Debian stable
and am interested in implementing my a custom ValueRangeProcessor
(using DateTimeX::Easy for human-friendly date parsing)
Unfortunately, I'm not sure if it's possible with the
add_valuerangeprocessor API via Perl.
Reading the XS/*ValueRangeProcessor.xs source files, I'm seeing
"process_value_range"
2017 Sep 12
2
perl bindings to Xapian::Query
QueryParser is great, but I would like to make a query myself, so I can
filter results by a specified value (in this case restricting by epoch
time after a certain value)
My code looks like this, and compiles, and appears like it should work
according to the perl source:
my $query = $qp->parse_query($querystr);
if ($datefilter) {
my $filterepoch = time() - ($datefilter
2016 Feb 15
3
Issues in Example code
Hi
My name is Shiv and I am student at IIIT-D ( http://www.iiitd.edu.in/ )
pursuing my undergrad education in Computer Science. I am currently in my
final year.
I am following the Xapian Gsoc guide (
https://trac.xapian.org/wiki/GSoC%20Guide#Mentoring). I have successfully
checked out and built the code. I am trying out the python codes given at (
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
2006 Jun 03
2
Initial patch for ExternalPostList
Hi Everybody,
Here is the first version of my match for an ExternalPostList, it
should apply cleanly to 0.9.5 and 0.9.6.
You can use it by first implementing an ExternalPostingSource, then
creating a new Query object passing a reference an instance of your
implementation to the constructor, see query.h. The
ExternalPostingSource implementation is reference counted, so when
its no
2009 Apr 15
2
does xapian have these disadvantages?
hi! alls
i have read an article about comments on Lucene.
http://www.jroller.com/melix/entry/why_lucene_isn_t_that
i have more understanding about Lucene through this article,especially its disadvantage or limitation.
then i would like to question that are there similar disadvantages to xapian?
any advice would be appreciated.
baijl
2009 Apr 15
2
does xapian have these disadvantages?
hi! alls
i have read an article about comments on Lucene.
http://www.jroller.com/melix/entry/why_lucene_isn_t_that
i have more understanding about Lucene through this article,especially its disadvantage or limitation.
then i would like to question that are there similar disadvantages to xapian?
any advice would be appreciated.
baijl
2007 Oct 16
1
Matches estimate varies with sorting method
Hi all,
I found that the figure returned by MSet::get_matches_estimated() varies
depending on how results are to be sorted.
For instance, in my index, value 4 contains date and time in the format
"yyyymmddhhmmss". For the same query, the number of results will be
estimated to 20000+ when results are first sorted by date and time
with set_sort_by_value_then_relevance(4) and to only 100
2008 Sep 16
0
[PATCH] Add set_max_wildcard_expansion method to the queryparser.
---
search-xapian/XS/QueryParser.xs | 6 ++++++
search-xapian/Xapian/QueryParser.pm | 7 +++++++
xapian-core/include/xapian/queryparser.h | 3 +++
xapian-core/queryparser/queryparser.cc | 6 ++++++
xapian-core/queryparser/queryparser.lemony | 9 +++++++++
xapian-core/queryparser/queryparser_internal.h | 4 +++-
6 files changed, 34
2018 Jul 19
1
choosing between probabilistic and boolean prefixes for terms
Hi all,
public-inbox allows searching for git blob names (e.g. "badc0ffee")
in patches. Initially, I chose to use add_prefix for probabilistic
terms, since I assumed it could be a superset of what boolean
searching offered. Unfortunately, it doesn't seem to be the case
because stemming is interfering.
So switching to boolean filtering seems to work; and it is
fine for mechanical
2015 Jun 10
1
make check xapian-bindings-1.2.21 & Search-Xapian-1.2.21.0
Eric Lindblad
http://www.ericlindblad.blogspot.com
- - -
Slackware-14.0
bash-4.2# make check
Making check in perl
make[1]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl'
make check-am
make[2]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl'
make check-TESTS
make[3]: Entering directory `/home/eric/xapian-bindings-1.2.21/perl'
./t/01use.t .. ok
All tests
2017 Sep 12
0
perl bindings to Xapian::Query
On Tue, Sep 12, 2017 at 04:47:52PM -0400, Alex Aminoff wrote:
> my $filterepoch = time() - ($datefilter * 60 * 60 * 24);
> my $filterquery =
> Xapian::Query->new(OP_VALUE_GE,I_DATE,$filterepoch);
I think your issue here is that $filterepoch is a number rather than
a string (a Perl scalar can have different representations internally).
In t/valuerange.t this testcase
2007 Jul 09
1
[LLVMdev] Integer Range
Dear All,
Is there an LLVM analysis pass that can, given an LLVM integer value,
tell me the minimum and maximum values that the value will be at
run-time? Conservative answers are fine, and execution time isn't too
important, so the more accurate it is, the better.
Thanks in advance.
-- John T.
2012 Jun 29
0
Adding Bi-gram in the QueryParser and Object.
Hi all,
I have jotted down a plan for how to handle or add Bi-gram in Query Object
though QueryParser.
PFA as a sequence diagram which depicts what i got to know about how parser
works and query is build from tokens provided by the lexer.I
have highlighted some area in blue where i think there is possibility of
having bi-grams.While Integrating bi-gram in the Parser ,Query our aim is
to generate
2007 Jul 27
2
[LLVMdev] Couple of changes (2005 and other toolchain related)
Hi,
I upgraded the Visual Studio SLN file to work with 2005 and had to make some
changes.
The first two have to do with the fact that the debug implementation of 2005's
STL does all sort of validation, that's why they didnt show up on 2003.
I'm not set up for patch submission yet, but if somebody has time to review
these changes that'd be greatly appreciated.
Meanwhile
2013 Oct 13
27
GTX 670 Tips?
Gordan & David,
Read about your latest work, and was thrilled to learn that both soft and
hard mods are working.
I bought the GTX 670 model in David''s article, I will be giving this a shot
in a week.
I was hoping to ask a few questions.
1. Is there a specific qemu version required (traditional or the new
default)?
2. What (if anything) should be done after removing the resistors
2007 Jul 27
0
[LLVMdev] Couple of changes (2005 and other toolchain related)
Hola Jaap,
I'm curious which version of the source are you working with? It sounds
like you and I were working on the same problem yesterday, but I didn't
see those particular compiler errors. (I saw a couple of other ones for
which I submitted a patch).
I did see errors like the ones you saw with the CVS LLVM 2.0 sources a
while back, namely the missing < operator and the debug STL
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