Displaying 20 results from an estimated 600 matches similar to: "Where do I stick the PARTIAL flag in xappy?"
2010 Oct 08
1
Get a list of all terms in an indexed corpus
Hello,
I have a corpus that I have indexed with xapian/xappy and I would now
like to generate a corpus-specific list of stopwords. (This is a
technical corpus, so a typical stopword list wouldn't be helpful.)
My first thought was to ask the xapian database for a list of terms
followed by their frequency. My intuition is that I could probably bring
together a list of stopwords by examining
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",
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.
2007 Oct 10
2
Something to think about
I'm planning to add multiple-database support for searches to my "Xappy"
python wrapper (more on this wrapper later, but for now, see
http://code.google.com/p/xappy for details). This is reasonably
straightforward, because Xapian supports this nicely: except that
"Xappy" generates a "fieldname->prefix" mapping automatically. The
prefix which corresponds
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
2011 Sep 23
2
understanding stemming and synonyms
I am working with version 1.2.7 and want to use stemming and synonyms.
I use the perl-bindings and get some problems.
First of all: the perl-bindings dont allow the QueryParser a third
argument when calling parse_query! So i cannot set a default prefix
(which perhaps is the solution to my problem, but later more)
i have a simple testcase:
3 documents, every document only has one word:
2009 Dec 07
1
Autocomplete for phrases
Hi all.
We are trying to use Xapian to index the titles of around ten million
documents (music catalogue) and then do auto-complete style search on
this index. After poking around we can't quite get the combination of
QueryParser flags and search query that will give back the results we
want. The closest we have can take a very long time (because it is
searching for, and building a list of,
2011 May 15
0
Fwd: FLAG_PARTIAL and subset words
Please keep replies on-list so everyone can help and benefit.
Begin forwarded message:
> From: Greg <freediving at gmail.com>
>
>>> We're using it this way:
>>> xq = qp.ParseQuery(query, (uint)Xapian.QueryParser.feature_flag.FLAG_PARTIAL);
>>> The op is AND and the get_description is fairly long (I removed some
>>> of it since there is a limit
2010 Jan 18
4
Index indexed words
Hello,
We would like to create Google or Firefox like "search hints".
If someone types "abc", the search system should name
some possible hints.
I think, Firefox does it by indexing 3-characters of the domain
name. If you enter parts, you get some hints.
Thank you very much
Marcus
2011 Jan 17
2
DatabaseCorruptError
Hi there,
My web app uses Xapian via the PHP bindings. I'm getting this error
thrown occasionally when atempting to instantiate a XapianDatabase
object for searching.
DatabaseCorruptError: Expected block 107 to be level 1, not 0
Here's the line that invokes it:
$database = new XapianDatabase(PROJROOT.'/data/xapian/posts');
And my version is xapian-core 1.2.3 with matchspy.
2018 Jul 21
1
Xapian configuration
Hello,
I want a tutorial on how to configure xapian on a moinmoin wiki.
I install my moinmoin wiki on a virtual env but I m having lots of problem to configure xapian
Thanks
2011 Mar 26
2
Building Xapian on Mac OSX 10.6.x
I have a project that requires Xapian for a 32 bit arch, but Mac
defaults to 64 bit. How can I configure Xapian core and Xapian python
bindings to build 32 bit?
2011 Mar 26
2
Building Xapian on Mac OSX 10.6.x
I have a project that requires Xapian for a 32 bit arch, but Mac
defaults to 64 bit. How can I configure Xapian core and Xapian python
bindings to build 32 bit?
2009 Nov 11
2
[python indexer] add meta informations
Hello,
I'm trying to index some blog stuff through python bindings.
I'd like to know how to add some informations (url, title, date, and so on) so that I can reach them through a xapian.Enquire object..
I believe it's something to be set in xapian.TermGenerator(), but... I can't manage to find which function. I'm waiting for something like :
xtermgen.add_meta('url',
2011 Aug 09
3
what is the fastest way to fetch results which are sorted by timestamp ?
what is the fastest way to fetch results which are sorted by timestamp ?
i want to use xapian as my search engine , use add_boolean_term(something) and add_value(0,sortable_serialise(get_timestamp())) to a doc.
search through enquire.set_weighting_scheme(xapian.BoolWeight()) and enquire.set_sort_by_value(0,True) to ensure that the results are sorted by the timestamp.
This method is ok , but
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:
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
2009 Feb 04
2
wildcard support (left truncation)
Dose Xapian support wildcards (left truncation)?
E.g. *ildcard.doc or *.doc or Wild*.doc
I read a post from Olly in 2005 that said it wasn't supported yet, I was
wonder if there had been any progress or easy work around since.
I mainly need when users want to search by the filename extension.
Thanks,
Frank
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