Displaying 20 results from an estimated 110 matches similar to: "PHP Binding and SWIG Director for XapianMatchDecider"
2010 Jan 16
1
PHP XapianTermIterator/XapianPositionIterator usage
Hello again,
/thanks to Peter for previous response.
I've been digging around trying to find sample usage of
XapianTermIterator/XapianPositionIterator in PHP.  The idea is to code up a
test case in PHP to perform snippet extraction (with a possible view to
coding a pecl extension in C).   I found a C++ sample, but that wasn't much
help.
I must be dense this morning though, since I
2006 Feb 08
1
xapian-tcpsrv very slow
Hi,
I have been looking at xapian for a project and have so far been very 
impressed.  I have hit one major problem the final architecture requires 
that the web server be a deferent machine from the server that xapian is 
installed on.  With my test code using local database ($db_path = 
"/var/xapain_db/default";    $db = new_database($db_path);) a query takes 
around 0.012 seconds on
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. 
2006 Mar 29
1
Using boolean terms in PHP bindings
OK, I'm indexing my data with the scriptindex.  I want to be able to 
restrict the search by the category field.  Do I need to do anything to 
the data itself?  Like, literally prefix it with the characters "XC"?  
Below is my indexor for scriptindex and the my php code...
document_id : field=ref unique=Q boolean=Q
search_id : field=document_id index=S
document_title : field=title
2007 May 23
1
Debian etch packages of php5-xapians have old style flat function interface
I'm running Debian stable (etch) on a server, and have the following Xapian
packages installed.
root@seagrass:/etc/php5/apache# dpkg -l | grep xap
ii  libxapian-dev                    0.9.9-1                         Development files for Xapian search engine l
ii  libxapian13                      0.9.9-1                         Search engine library
ii  php4-xapian                     
2009 Apr 23
1
PHP Total document
I was also wondering if someone could tell me how to extract the total 
number of documents contained in a database via PHP.
Thanks,
Frank
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
2010 Dec 01
2
Using a subclass of MatchSpy in Python bindings
Hi everyone,
I've searched the mail archives and I haven't been able to find a
solution to this. I want to subclass a MatchSpy in the Python bindings
and have Enquire use it. However, when I try to do so, I get a
TypeError raised. The following example illustrates this:
>>> import xapian
>>> database = xapian.Database(dbpath)
>>> class
2010 Jul 26
2
related documents
Hi All,
I would like to take a doc in the xapian DB and find all related
documents by relevance e.g. so when you view one document it says
"Related entries X Y Z".
I'm aware of the "Morelikethis" Lucene plugin that is supposed to do
something like this, by generating a query from a document based on term
frequency.
Has anyone developed a tool to generate a query from a
2018 Jun 18
3
Giving a hand to Nouveau
Hello everybody out there!
	Well, I just subscribed to this mailing list, so I guess I should
introduce myself, at least giving relevant information about me
concerning the development of Nouveau.
	You can call me a scientist, and I am doing simulation code. Therefore,
my experience in coding is about high performance computing and
scientific visualisation–and also about teaching. I have some
2009 Aug 10
2
testing exception notification plugin with rspec
Hi,
I''m trying to install exception notification plugin and test it with
rspec.
The problem that I have is that when running the server in production
mode : at the end of the log i get this when I have a critical error
rendering section "request"
rendering section "session"
rendering section "environment"
rendering section "backtrace"
Sent mail to
2015 Mar 09
10
[Bug 2363] New: With multiplexing, a forwarding is kept in the list of active forwardings even when it fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2363
            Bug ID: 2363
           Summary: With multiplexing, a forwarding is kept in the list of
                    active forwardings even when it fails
           Product: Portable OpenSSH
           Version: 6.7p1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
    
2005 Apr 08
1
Multicast routing between two subnets
Hello.
I''m new to this list.
 
I''m trying to set up multicast routing between two networks:
 
 
  Internet
                              ^
                              |
                         Windows box
                              |
                              |
UserModeLinux A <-----> Colinux Router    <-----> UserModeLinux B
                   
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
2006 May 15
1
term / posting question
Hi guys
Sorry to take up your time with this, I have just been stuck on a little
problem with xapian for a few days here and I can't seem to figure it
out for myself.
I have created an xapian index (using the php bindings). I have added
documents to it, with values, terms and postings. I can successfully
search in this index on anything that is in a posting, but if I search
on a word that
2005 Sep 20
1
MOH failures (bad quality with interruptions)
Hi ! :)
Does someone have an idea of the reason why my MusicOnHold (with clean
mp3 downloaded from http://aussievoip.com.au/wiki-MOH) is always
having interruptions and micro-cuts ?
No high load of the system, no swap, no hard disk r/w, mpg123 seems
running well... nothing !
Except a little message at startup :
"Warning, flexibel rate not heavily tested!"
I'm getting
2009 Aug 17
1
Xapian DatabaseError
Hi, I've a problem to integrate xapian in my web application. I've developed the code for index e for search the documents published through my application. 
The app is developed in PHP. I've created a file that contain some function for search (called simpleSearch and advSearch). 
The problem is that if i run the code through the IDE (Zend for Eclipse) as PHP script it work correctly,
2009 Mar 02
0
Xapian, PHP bindings and
Hello, 
With PHP, I try to get spelling corrections but after 2 days of trying I can
make it work !!!
Here is my < simple > code :
 
<?php
require_once( '../global.info.php' );
require_once( 'xapian.class.php' );
require_once( 'xapianencode.func.php' );
 
// Open the database for searching.
try {
                $database = new XapianDatabase(
2017 Jan 20
1
koji in extras older than epel
Now that EPEL 7 has koji-1.11, should the one in CentOS 7 extras be updated
or removed?
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>