search for: simpleindex

Displaying 20 results from an estimated 26 matches for "simpleindex".

2016 Feb 24
4
Database left unlocked by Tcl bindings
...#39;t drop the lock. It would > be good to get to the bottom of this, as unreliable locking is a bad > thing to have. > > What FS are you running this on? ext4 > Is use of Tcl actually a factor here, or can you reproduce it with > just C++ code? > > E.g. using the "simpleindex" example from the xapian-core sources: > > examples/simpleindex tmp.db & > examples/simpleindex tmp.db lfs at bruno [ /usr/src/sources-deptj/xapian-core-1.2.18 ]$ examples/simpleindex tmp.db & [1] 26157 lfs at bruno [ /usr/src/sources-deptj/xapian-core-1.2.18 ]$ exampl...
2016 Feb 25
0
Database left unlocked by Tcl bindings
...ersion I think). You didn't answer this... > > What FS are you running this on? > > ext4 Pretty standard then, and what I tested with. > > Is use of Tcl actually a factor here, or can you reproduce it with > > just C++ code? > > > > E.g. using the "simpleindex" example from the xapian-core sources: > > > > examples/simpleindex tmp.db & > > examples/simpleindex tmp.db > > lfs at bruno [ /usr/src/sources-deptj/xapian-core-1.2.18 ]$ examples/simpleindex tmp.db & > [1] 26157 > lfs at bruno [ /usr/src/sources...
2016 Feb 25
2
Database left unlocked by Tcl bindings
...as well. >>> What FS are you running this on? >> >> ext4 > > Pretty standard then, and what I tested with. > >>> Is use of Tcl actually a factor here, or can you reproduce it with >>> just C++ code? >>> >>> E.g. using the "simpleindex" example from the xapian-core sources: >>> >>> examples/simpleindex tmp.db & >>> examples/simpleindex tmp.db >> >> lfs at bruno [ /usr/src/sources-deptj/xapian-core-1.2.18 ]$ examples/simpleindex tmp.db & >> [1] 26157 >> lfs at...
2007 Feb 04
1
Java Bindings on a Mac
...libxapian_jni.so and xapian_jni.jar in the "built" subdirectory when I ran "make install". When I ran the example code (from the "java" directory) I got the following: $ java -Djava.library.path=built -classpath built/xapian_jni.jar:. \ > org.xapian.examples.SimpleIndex ./test.db index words like java Exception in thread "main" java.lang.UnsatisfiedLinkError: no xapian_jni in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLib...
2016 Feb 22
3
Database left unlocked by Tcl bindings
On Sun, 21 Feb 2016 22:33:22 +0000, Olly Betts <olly at survex.com> wrote: > On Sun, Feb 21, 2016 at 02:15:25PM +0100, Eric J wrote: > > I discovered, while trying to set up Tcl bindings for Notmuch > > (https://notmuchmail.org/), which uses Xapian, that flintlock was not > > being locked (I had lost updates). > > It seems to work for me, testing with this: >
2005 Nov 08
2
crash in PHP4 examples
Hi, I have been experimenting with simpleindex.php in the php4 examples. However, the command seems to crash on exit: $ php simpleindex.php h < simpleindex.php Segmentation fault I ran it through gdb to get a stack trace (see below). It looks to me as if the WritableDatabase may be getting deleted twice. Can this be fixed, or alternativ...
2012 Oct 02
1
Exception in thread "main" java.lang.UnsatisfiedLinkError: no xapian_jni in java.library.path
...y.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at org.xapian.XapianJNI.<clinit>(XapianJNI.java:44) at org.xapian.WritableDatabase.<init>(WritableDatabase.java:42) at SimpleIndex.main(SimpleIndex.java:41) Where do i need to copy the .so file and i am using openjdk. regards, Naveen.A.N -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20121002/d8b44e75/attachment-0001.html>
2012 Apr 14
1
[xapian] a bug fixed in brass_database.cc
Hi all, I fixed a bug in brass_database.cc. The bug is: *FIXME: this should be done by checking memory usage, not the number of* *changes. We could also look at the amount of data the inverter object* *currently holds.* I also modified the simpleindex.cc so that it now supports batch files indexing. -- Weixian Zhou Department of Computer Science and Engineering University at Buffalo, SUNY -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20120414/689f53...
2016 Feb 24
0
Database left unlocked by Tcl bindings
...Odd, as you said elsewhere, execl() shouldn't drop the lock. It would be good to get to the bottom of this, as unreliable locking is a bad thing to have. What FS are you running this on? Is use of Tcl actually a factor here, or can you reproduce it with just C++ code? E.g. using the "simpleindex" example from the xapian-core sources: examples/simpleindex tmp.db & examples/simpleindex tmp.db More recent Xapian versions will try to use the new OFD locks and avoid the need to fork() and execl(), so will presumably avoid whatever is going on here. But the OFD locks were added in Li...
2014 Feb 27
2
Summer of Code help
...obtained is: Exception in thread "main" java.lang.IllegalArgumentException: No enum class org.xapian.TermGenerator$flags with value 0 at org.xapian.TermGenerator$flags.swigToEnum(TermGenerator.java:143) at org.xapian.TermGenerator.setFlags(TermGenerator.java:71) at org.xapian.examples.SimpleIndex.main(SimpleIndex.java:54) Error seems to occur in the swigToEnum method. So I checked http://www.swig.org/Doc2.0/SWIGDocumentation.html#Java_enum_classes We could expect a similar class to get built in our case except that 'flags' would have only one type in it ie.'FLAG_SPELLING'....
2012 Oct 04
0
Xapian-devel Digest, Vol 90, Issue 1
...Loader.loadLibrary(ClassLoader.java:1681) > at java.lang.Runtime.loadLibrary0(Runtime.java:840) > at java.lang.System.loadLibrary(System.java:1047) > at org.xapian.XapianJNI.<clinit>(XapianJNI.java:44) > at org.xapian.WritableDatabase.<init>(WritableDatabase.java:42) > at SimpleIndex.main(SimpleIndex.java:41) > > Where do i need to copy the .so file and i am using openjdk. > > regards, > Naveen.A.N > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.xapian.org/pipermail/xapian-devel/attachments/201...
2011 Sep 19
2
New scws patch for xapian-core based on svn trunk
Hi, I have already re-make the patch file, based on the trunk codes in SVN respo. But I can not build the xapian, because there are many errors when building 'languages/' for stemmer. Therefore, I could not test the new patching code. Patching code can be accessed from: http://www.xunsearch.com/download/xapian-scws-1.3.x-trunk.patch Need to install SCWS first as below steps: 1.
2020 Mar 22
0
Unable to build RPM for Centos 7
...e-1.4.15-1.x86_64/usr/bin' ? /bin/sh ./libtool?? --mode=install /usr/bin/install -c bin/xapian-delve bin/xapian-check bin/xapian-compact bin/xapian-progsrv bin/xapian-replicate bin/xapian-replicate-server bin/xapian-tcpsrv examples/copydatabase examples/quest examples/simpleexpand examples/simpleindex examples/simplesearch examples/xapian-metadata examples/xapian-pos '/root/rpmbuild/BUILDROOT/xapian-core-1.4.15-1.x86_64/usr/bin' libtool: warning: 'libxapian.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c bin/.libs/xapian-delve /root/rpm...
2014 Feb 24
2
Summer of Code help
Hello Olly, I read about Xapian and SWIG and the bindings that Xapian has with other languages. According to what I've read, I understand that Xapian is a search engine library written in C/C++. It can be integrated with web applications which handle large amount of data. But since the web applications may be written in a variety of languages a binding is required for the web app to be able
2014 Jan 27
4
Perl Search::Xapian
Hi, Trying to learn Search::Xapian and be better at perl at the same time, I'm stuck, at the DB_CREATE_OR_OPEN error. Perl says this: ~/dev/sandbox/Xapian-perl$ ./Index1-Xap.pl 100-objects-v1.csv db "db" is not exported by the Search::Xapian module Can't continue after import errors at ./Index1-Xap.pl line 7. BEGIN failed--compilation aborted at ./Index1-Xap.pl line 7. What I
2009 Apr 20
1
New bindings for Xapian
...nd included into the default package). The sources are available here: http://www.radgs.com/downloads/standard.search.xapian-1.0.tar.gz And the Concept Include files here: http://www.radgs.com/downloads/xapian-include-1.0.tgz Also, i've rewritten 2 examples in Concept: http://venus.radgs.com/simpleindex.con.txt and http://venus.radgs.com/simplesearch.con.txt Great library ! Best regards, Eduard Eduard Suica RadGs Software srl Phone +4 0 722 542 969 +4 0 788 999 226 Fax +4 0 341 815 580 e-mail eduard at radgs.com -------------- next part ------------...
2006 Aug 03
1
An error while testing Python 2.5 and xapian in Win32
Hi: After a succesful installation of .dll xapian using VS2005 and swigwin-1.3.29, I attempted to do my first tests, however, I had the next problem: .python Python 2.5b2 (r25b2:50512, Jul 11 2006, 10:16:14) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> >>>import sys
2008 Aug 16
1
python how do i stem words in python?
hi, i am newbie to xapian and am trying to get started with it in python. there is no stemmer.stem_word method in the latest python library. how do i stem words before doing doc.add_posting? is there any sample hello world code in python that i can use? thanks a lot! >>> stemmer = xapian.Stem('english') >>> stemmer. stemmer.__call__
2013 May 22
0
add some class to wrap all operation of file
...uot;File System" such as his own distributed file system. I just change the chert backend in xapian-core-1.2.15, add two file into the project: include/xapian/filesystem.h and common/filesystem.cc, and changed the other code in chert/common/net/api. I only run the simple test in example path( simpleindex and simplesearch ) after patched. That seems like work fine. Is it useful for the xapian? I've add the patch files here: https://github.com/cytal/Xapian-patched/compare/master...FileSystem -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapia...
2016 Feb 25
0
Database left unlocked by Tcl bindings
...clearly not as simple as execl() always releasing the lock, but I > > don't think we've ruled out the OS entirely yet - the above isn't > > exactly equivalent to the Tcl code, as the two databases are created by > > the same process in Tcl but different processes with simpleindex. > > but the same problem happens from two different Tcl processes - both > succeed because there is no lock. Ah, OK - I missed that detail. > Finally, it appears that it does work with Tcl 8.5 (actually a tclkit, > but does not work with an 8.6 tclkit). I'm testing with Tcl...