Displaying 20 results from an estimated 500 matches similar to: "Fwd: FLAG_PARTIAL and subset words"
2011 Jan 04
1
Excessive memory use when using FLAG_PARTIAL?
Hi everyone,
Sorry if this is an easy one, but I've Googled and can't find anyone else
who's mentioned this same problem.
I'm using Xapian (tried both versions 1.0.17 and 1.2.4) with the PHP
bindings on Ubuntu 10.04 (Lucid) and Apache 2.2.14. I'm using it for an
"auto-complete" in the search form on a web page. But whenever I use
FLAG_PARTIAL on my search, the
2010 Nov 02
1
How to make QueryParser select entire word like "H.O.T"
Hi,
I'm using xapian to build my search engine, but met with a problem.
The code snippet is like:
----------------------Code begin-------------------------------------------------------------
Xapian::QueryParser qp;
qp.add_prefix("Singer", "S");
Xapian::Query query = qp.parse_query("Singer:s.h.e",
2011 Jun 10
1
Where do I stick the PARTIAL flag in xappy?
I want to be able to do searches with FLAG_PARTIAL and some without. Most searches without but with the PARTIAL for an autocomplete widget.
I'm using xappy and I can't find where to send the flag when I build up the query. The docs talk of setting up the database with or without FLAG_PARTIAL but that's probably not what I want.
Peter
2011 Apr 27
2
Omindex: what are the default numbered indexes?
> -----Original Message-----
> Date: Tue, 26 Apr 2011 13:35:20 +0100
> From: James Aylett <james-xapian at tartarus.org>
> Subject: Re: [Xapian-discuss] Omindex: what are the default numbered
> indexes?
> To: <xapian at catcons.co.uk> <xapian at catcons.co.uk>
> Cc: 'Xapian Discussion' <xapian-discuss at lists.xapian.org>
> Message-ID:
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
2010 Aug 28
1
Partial search on prefixed data
Hello everyone,
I'm trying to do an "Auto-complete" widget for the search field on a
website, which has Xapian running behind it. (Using the PHP bindings.)
I have the name of a search result prefixed with "name", so as the user
types, it triggers a search for "name:whatever the user put in".
This seems like an ideal use for the FLAG_PARTIAL flag; in fact the
2006 Dec 06
1
Bug and patch for +terms with wildcards
In current Xapian SVN HEAD, there is a bug in the query parser concerned
with the handling of wildcard terms with a "+" prefix. Specifically,
a query such as "+foo* bar" will be parsed by the query parser into
Xapian::Query("bar") if there are no terms in the database which start
"foo". Instead, since the "+" term cannot be matched, I believe
2006 May 17
3
QueryParser lowercase / uppercase and stemming
Hello.
There are several problems I couldn't find a solution.
1. QueryParser does not perform stemming
I am working with PHP5 and use the xapian wrapper written by Daniel M?nard
I build a query using parseQuery. Output of the parsed query shows that
terms are not stemmed, although a stemmer is set ( see code snippet)
# create a XapianDatabase object to search in
$db = new
2018 Jun 21
0
Welcome to the "Xapian-discuss" mailing list
Please keep replies on the mailing list — more people can help (and benefit) that way :)
So OP_NEAR looks for its terms close to each other (hence "near"). The window is how far away they can be. Probably the easiest way to play with this is using the NEAR syntax in the query parser. So if you had a plain text document:
I am walking, always walking.
And index it in a very simple
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
2013 Sep 22
2
How to filter search result with query with has white space.
Hello,
include <iostream>#include <string>#include <xapian.h>struct document{
std::string title;
std::string content;
std::string url;};
void indexData(document d) {
try {
Xapian::WritableDatabase db("/Users/ramesh/Desktop/xapian",
Xapian::DB_CREATE_OR_OPEN);
Xapian::TermGenerator indexer;
Xapian::Stem
2013 Sep 22
2
How to filter search result with query with has white space.
Hello,
include <iostream>#include <string>#include <xapian.h>struct document{
std::string title;
std::string content;
std::string url;};
void indexData(document d) {
try {
Xapian::WritableDatabase db("/Users/ramesh/Desktop/xapian",
Xapian::DB_CREATE_OR_OPEN);
Xapian::TermGenerator indexer;
Xapian::Stem
2018 Oct 28
2
Fwd: GoXapian
This is probably more useful to the general list. Thanks for the update, Dave — was this based on the previous golang bindings?
J
> Begin forwarded message:
>
> From: Dave Courtois <dave.courtois60 at gmail.com <mailto:dave.courtois60 at gmail.com>>
> Subject: GoXapian
> Date: 27 October 2018 at 15:27:09 BST
>
> Hi there just a little word to tell you that
2012 Oct 04
1
Auto completion using xapian
Hello,
Do xapian has analyzer like EdgeNGram to use it for autocomplete.
I am trying to use the auto completion using xapian.
For example:
e
ex
exa
exam
example
etc..
so that we can get it.
I tried to use using the Partial flag but it dose not work Xapian::Query
query = parser.parse_query("m*",parser.FLAG_PARTIAL);
Do you have any example or any tutorial is appreciated.
--Naveen.
2006 May 17
1
Need a little help with the pure Ruby win32-eventlog
Hi all,
I''m working on the EventLog#read method for the pure Ruby version of
win32-eventlog, but I''m stuck on the get_description private method.
Here are the problems:
* I don''t think I''m advancing the EVENTLOGRECORD properly between
iterations. Take a look at the end of the "while dwread > 0" loop. I
get some records, but not all of them.
2013 Jun 19
2
Compact databases and removing stale records at the same time
I'm trying to compact (or at least merge) multiple databases, while stripping search records which are no longer required.
Backstory:
I've inherited the Cyrus IMAPd xapian-based search code from Greg Banks when he left Opera.
One of the unfinished parts was removing expunged emails from the search database.
We moved from having a single search database to supporting multiple
2018 Nov 30
1
Xapian Benchmark results
Hi,
I am currently trying to benchmark a multithreaded xapian implementation on
a chameleon baremetal instance written in C++. My workload is a 3 Gig
wikipedia xml dump consisting of ~286 file of different sizes. My results
are showing me that indexing on xapian is an order of magnitude faster than
my lucene and lucene plusplus implementations. This is a result that I did
not expect. Just want to
2006 Nov 30
1
PHP / XapianQueryParser
Hi everyone,
I tried sending a message as a reply a while back on my previous topic, but it didn't go through. (Tried Gmane), not even when I 'authorized' the reply. So I'll just paste it here for reference, below this message. It might help some people. But now I have one other small problem, and I'm not sure if it is actually my mistake (although I'm pretty sure it is
2019 Sep 18
0
Improving partial lookup results
On Tue, Sep 17, 2019 at 01:27:08PM +0100, Peter Bowyer wrote:
> It handles partial phrases well, so long as the first part is complete
> (e.g. "Peter Bow" expands well). If instead I type "P Bow" it fails to
> work, as the expansion is done at the end.
The QueryParser::FLAG_PARTIAL feature aims to support a "search as you
type" feature, so it only expands a
2012 Apr 09
1
a small patch
hello all,
A small patch that fixes Query get_description in testsute3.py. see the
attachment.
--
Best Regards,
Xiaona Han
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20120409/18a07efb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: