similar to: Can document values be used in a query?

Displaying 20 results from an estimated 40000 matches similar to: "Can document values be used in a query?"

2015 Feb 23
2
Perl bindings and MatchAll / MatchNone
I've just had a quick look at the XS, but I can't see quite how to make these (or just MatchAll, really) available through the Perl binding ... where should I start please?
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
2009 Jun 21
2
CPU high usage
Hi I am using Xapian 1.012 here, trying to optimise the search preformance. My testing suit has 10M docs of forum threads, DB only indexed the thread title, author name, category name, and 1 optional serialize value(0) which is the unix dateline DB_full indexed all the DB terms + thread contents After couple tests, I decided to remove ALL anchor terms such as SHOW_PUBLIC, MORE_IMPORTANT
2007 Jan 27
4
Xapian vs Lucene
Hello, It's probably quite troll-risky to put a title like this, but did anyone take the trouble to compare Lucene to Xapian and make a list of differences? As I told the list at the end of last year, I'm going to have to integrate an indexing/search engine in the coming weeks or months. It will be integrated to Dokeos, an open-source e-learning application in PHP, and at the moment we
2012 Mar 16
1
MSetIterator::get_percent Shows Increased Values When Using Query::OP_FILTER
I'm seeing some rather odd behavior with respect to the match percent that is returned when performing a simple query. It appears that the addition of a filter to a simple OR query will not affect the weight of the match, but will increase the percent of the resulting match. According to the documentation for MSetIterator::get_percent (
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 ??
2007 Mar 29
1
"Bad serialised query" error
Hi all, We've struck a problem when using remote queries and hoping someone can offer some guidance. I haven't managed to get a C++ reproduction in the test suite, but I have got a demo that fails using Python: import xapian db = xapian.remote_open('localhost', 8100) qp = xapian.QueryParser() qp.set_database(db) query = qp.parse_query('test') enq =
2010 Dec 11
1
Can be Xapian used to perform standard SQL statements?
Hello, I'm developing an HTTP application server dedicated to IR. The server side languaje is Javascript throught the Webkit Javascript engine exposing several C++ libraries conforming the commonjs specs. My question is, can Xapian be used to perform standard SQL statements like inserts or updates? I undestand that Xapian does it when you perform a query or save a document but I haven't
2014 May 17
2
Search for exact match on document
Hi. I'm using Xapian, and I'm having some difficulty doing the following: I have db with a field "name": 1 with name="foo" 2 with name="foo bar" 3 with name="foo bar for you u2". I index this in the database using a prefix FNAME indicating the field where the strings belong to. delve -a returns something like FNAMEfoo FNAMEbar ... My question
2010 Jun 24
1
Quickest way to retrieve data for a large match set?
We're using the Perl binding to access Xapian in a simple search of image metadata (title and keywords). Due to the specification for the search engine, by default we have to sort the results using a function of the search rank, age (well, newness) and popularity (rated by sales of the image). As a result, we have to fetch the complete result set and then calculate a new ranking based on
2005 Dec 30
1
Query Parser, filenames and compound words
When I submit a filename to the query parser it breaks it up Example: /home/user/file_name.ext becomes Xapian::Query((home:(pos=1) PHRASE 5 user:(pos=2) PHRASE 5 file:(pos=3) PHRASE 5 name:(pos=4) PHRASE 5 ext:(pos=5))) which does not find the document. If I do an single term query not using the query parser then I find the document. The Query Parser also breaks up hyphenated terms
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.
2006 Oct 16
4
booting FreeBSD DomU
Hi! May anyone assist me with booting FreeBSD DomU (under Debian Dom0). Now I''m using the kernel-current, downloaded from Kip Macy site at http://www.fsmware.com/xenofreebsd/7.0/download/ The problem is that I can''t specify _any_ root, the kernel can recognize: Mount point / had 1 dangling refs Manual root filesystem specification: <fstype>:<device> Mount
2024 Apr 29
1
GUIs [was Re: queries for a set of values]
On Mon, 29 Apr 2024 at 04:44, Olly Betts <olly at survex.com> wrote: > We actually used to have an example GUI called xapview, but it was > removed in 2008 ... > [ ... ] > So overall I'm afraid it doesn't seem the best use of our sadly finite > development resources. Yes, I understand. Totally understand. But a simple CUI (terminal) is also an irritant. A lot of
2013 Jul 10
2
Potential memory leak when assigning MSetItem values
Olly, the process size does stay constant with the results from one query set, but running other queries will cause it to grow (once). Is it possible that this is a bug with the SWIG python bindings? On Fri, Jul 5, 2013 at 6:18 AM, Olly Betts <olly at survex.com> wrote: > On Wed, Jul 03, 2013 at 03:59:21PM -0400, Jeff Rand wrote: > > Run the following code and monitor the
2013 Oct 23
2
performance on document.get_data()
I got some performance issue for document.get_data() and enquire.get_mset(). It costs 35 seconds for matches = enquire.get_mset(0,200), and 3 seconds for iterating all doc in matches to get_data. Is't normal? My index contains 30millions documents. I use python binding to operate xapian. Bellow it's my index structure # value: 0:date, 1:site # data: json message which contains: author,
2015 Mar 14
2
range query for terms
first, thank you,xapian! then I'd like to ask if it is possible to do a range query on terms(like the range query on values), or if it is just a wildcard(right truncation) match. the case is searching ip address bettween ?10.10.0.0? and ?10.10.255.255? the user want : 1. query "10.10.10.10" < ip < "10.10.10.12" gives "10.10.10.11" 2. query
2008 Sep 27
3
Query::MatchAll
Why there still been rank when using Query::MatchAll() ?
2014 Apr 13
2
Unable to install svn/clustering branch on my system
I tried the suggested changes, but still haven't been able to compile the branch. Here's the log: http://pastebin.com/HR17USXR Thanks, Satwant Rana On Sun, Mar 30, 2014 at 2:37 PM, Gaurav Arora <gauravarora.daiict at gmail.com>wrote: > Hello Satwant, > > This seems to be problem with doxygen installation in the bootstrap > script. Source seems to be broken and not
2012 Jul 17
1
Can not use custom weight scheme with python binding
Hi, I'm trying to use custom weight with python binding. My test code is like this. class TinkerWeight(xapian.Weight): def __init__(self): pass def name(self): return "Tinker" def serialize(self): return "" def get_sumpart(*args): return 1 def get_maxpart(*args): return 1 def get_sumextra(*args):