Displaying 20 results from an estimated 200 matches similar to: "Search result hits and locations"
2007 Sep 30
1
Perl example of using termitrator?
I'm having trouble translating from C++ to perl objects.
The TermIterator class looks like to get a set of terms in a document
you might have C++ code like:
Enquire::TermIterator termIt =enquire->get_matching_terms_begin(id);
for(;termIt != enquire->get_matching_terms_end(id);termIt++) {
string term = *termIt;
}
Or something similar. However when I attempt to translate that
2013 Aug 26
2
Perl interface isn't working in 1.2.x
On 08/25/2013 05:02 PM, Olly Betts wrote:
> So the simple fix is
> probably just to install the perl-Search-Xapian RPM instead.
Thanks, the Centos 6 repos don't have that rpm and the
http://xapian.org/download page seems to only cover the XS bindings, if
I am reading this correctly:
But I was able to remove the rpm packages and compile and install the
core and swig from source.
2009 Jan 27
1
Segmentation fault in MSetIterator get_weight
Hi,
I'm using xapian with c# and mono and i'm having a segfault in get_weight.
When i print the index variable, the value is clearly too high.
I think something write over it. Do you have any idea on how i could
trace the beginning of the segmentation fault ?
Thanks,
--
Yann
2007 Nov 08
1
Perl make test fails on threads in rhel5
Hi all,
I've tried building RPMs for RHEL5 and hit this problem in Search::Xapian:
make test fails on test 37:
ok 34 - check PositionIterator
ok 35 - create TermIterator
ok 36 - check TermIterator
dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 37-65
Failed 29/65 tests, 55.38% okay
$ xapian-config --version
xapian-config - xapian-core 1.0.4
$ cat
2002 Sep 23
4
Blocking port scanning
Hi,
Is it possible to block the port scanning through shorewall, if yes then
how?
Thanks and Best Regards,
Arif
2007 Apr 03
3
More weirdness with PHP bindings
Hi all,
There's been a odd bug reported to us by Daniel Menard while working on
the PHP bindings:
"I then tried to run the dotest target...All tests passed, except the
one about get_matching_terms (smoketest.php line 94).
I added this line before the exit:
for ($i=0; $i<strlen($terms); $i++) echo $c=ord($terms[$i]), ' ',
($c>31?$terms[$i]:''), "\n";
2012 Sep 19
1
java-swig TermIterator
Hello,
Been using Xapian and the Java bindings for years, all was working
great, and I all of a sudden decided to upgrade to the latest 1.2.12 and
use the new java-swig bindings instead of the old hand-crafted JNI which
I think have been deprecated now.
I'm struggling with the new design of the TermIterator. More
specifically, I can't tell when I've reached the end of the list of
2012 Jul 09
1
Question about Document and TermIterator.get_termfreq()
Hi,
While porting the unit tests from perl for the node binding I noticed a
test failed.
I basically create a document, add a few terms, add the document to a
database and then call doc->termlist_begin().get_termfreq(). This throws
"Can't get term frequency from a document termlist which is not associated
with a database."
What I think this means is that I can not call
2005 Feb 25
2
Bug in TermIterator::skip_to() ?
Hi all,
I've been toying with xapian (mostly using the Python bindings) and I
think I've hit a bug in the TermIterator::skip_to() method (or maybe
in QuartzAllTermsList::skip_to()).
I've attached a c++ source file that demonstrates the issue. In short,
if you have a WritableDatabase, ask for the all-terms TermIterator
with db.allterms_begin(), and then skip_to() a word that is itself
2023 Aug 27
1
DatabaseModifiedError while iterating on mset
On Wed, Aug 23, 2023 at 01:53:27PM +0000, Eric Wong wrote:
> I'm already retrying the ->get_mset operations; but now I'm
> wondering where I'd hit DatabaseModifiedErrors while inside a
> Xapian::MSetIterator loop.
>
> I assume ->get_document is a place where it gets thrown;
> but once a document is retrieved, can iterating through
> terms in one document
2023 Aug 23
1
DatabaseModifiedError while iterating on mset
I'm already retrying the ->get_mset operations; but now I'm
wondering where I'd hit DatabaseModifiedErrors while inside a
Xapian::MSetIterator loop.
I assume ->get_document is a place where it gets thrown;
but once a document is retrieved, can iterating through
terms in one document (using TermIterator) also throw DB modified?
I'm dumping multiple terms per-document to a
2006 Jan 30
1
More than one Index?
Morning All,
I use scriptindex to build my database and the PHP bindings to pull it
all out.
Is it possible to have more than one index but select what the bindings
search on?
So at the moment I index property addresses, I would also like to index
property descriptions for more advanced searching but only as an
optional extra...probably in an extra search box.
Also I would like to analyse the
2010 Oct 21
2
In-memory databases vs PHP Bindings
I can't quite connect the dots on this, perhaps someone can help. I'm
simply trying to create an in-memory database comprising a single document,
so that I can run a load of queries against it and see if any of them match
the new document (this is to enable users to have 'subscriptions' to saved
searches and be alerted every time a new item is published that matches
their
2003 Jul 30
5
chan_sip.c problems problems from cvs 1.134
All,
I've found problems in my setup with the latest couple of revisions (1.135/1.136) of asterisk/channels/chan_sip.c In my setup I have a RH9 asterisk server, AS5300 (single E1 to PSTN) and a dozen 7940's, everything is in the same VLAN and only running SIP.
Outbound calls work fine: 7940 -SIP-> Asterisk -SIP-> AS5300
But inbound calls fail, I see the initial INVITE from the
2023 Aug 28
1
DatabaseModifiedError while iterating on mset
Olly Betts <olly at survex.com> wrote:
> On Wed, Aug 23, 2023 at 01:53:27PM +0000, Eric Wong wrote:
> > I'm already retrying the ->get_mset operations; but now I'm
> > wondering where I'd hit DatabaseModifiedErrors while inside a
> > Xapian::MSetIterator loop.
> >
> > I assume ->get_document is a place where it gets thrown;
> > but
2011 Mar 07
1
Set Term Frequency for a Query
Hello,
I have a problem when trying to define a query and setting for each term its
"term frequency" with the classical constructor
Xapian::Query<http://xapian.org/docs/apidoc/html/classXapian_1_1Query.html#f396e213df0d8bcffa473a75ebf228d6>(const
std::string &tname_,
2003 Aug 12
6
OT: Grandstream power supplies..
Hi,
Quick question to all the electronics gurus out there..
I unpacked my second GS phone yesterday (had it for about a month!) and set it up.. This morning the power supply is dead..
I have looked for a new one online (In the UK using Maplin let me know if you know a better place.) becasue it would probbaly take too long to get one sent from China or the US and I need to get that station
2001 Dec 16
1
smbmount and ownership of dir for mounting
Why can a user only mount on a directory which he owns with smbmount?
Surely write permission should be enough worst case and likely this too
should not be required. Other mount code allow mounts to occur without
ownership (for example the CD-ROM mounting to /mnt/cdrom when ANY user types
mount /mnt/cdrom without either ownership or write permission). It seems
inconsistent. If the problem is in
2006 Mar 02
2
Different Collation (utf8_slovak_ci, utf8_danish_ci, latin1_german1_ci) etc.
One issue left for me to figure out is that in different languages there are
different characters and Xapian takes only english characters.
Thefore many word entered by users that contains their own language special
characters will not return any result. MySQL offers different collations ...
Now when I see how much data Xapian can search perhaps I could expand my
index spider different European
2006 Oct 09
0
Re: Error in puppet
(I''m emailing the list, rather than direct.)
Adnet Ghislain wrote:
> Hello,
>
> More on my deployment, i have an issue where the fact sometime does
> not load and it seems that they do not work and as i rely on facts in it
> ll fails:
>
> Oct 6 02:54:18 oiseadmin puppetd[42243]: Could not call
> fileserver.list: #<Errno::ECONNRESET: Connection reset