Questions tagged [xapian]

Open Source Search Engine Library with bindings to allow use from Perl, Python, PHP, Java, Tcl, C#, Ruby and Lua

Xapian is a toolkit which allows developers to add advanced indexing and search facilities to their applications. It supports the Probabilistic Information Retrieval model and supports a rich set of boolean query operators.

105 questions
0
votes
1 answer

Django-haystack using rebuild_index command gives error:

I get this error: xapian.WritableDatabase_swiginit(self,_xapian.new_WritableDatabase(*args)) xapian.DatabaseOpeningError: /home/xapian/mysite_index: No databases listed when running the "./manage.py rebuild_index" so that I can populate my index for…
django-d
  • 2,210
  • 3
  • 23
  • 41
0
votes
1 answer

How change feature flags in Xapian

I'm using Xapian in my Python code, and when I use: queryparser = xapian.QueryParser() the object is inicialized with many flags: FLAG_BOOLEAN, FLAG_SPEALLING_CORRECTION. I want to know how can I change this flag. I found in documentation what each…
CAB
  • 125
  • 4
  • 12
0
votes
1 answer

xapian-bindings python compatibility

i am able to get xapian working as expected with python on my development server but i am having issues with my web server. i keep running into this error: import xapian Traceback (most recent call last): File "", line 1, in …
dave
  • 897
  • 1
  • 7
  • 20
0
votes
1 answer

Get specific data form Xapian database with Perl

I'm writing a perl script to retrieve search results from a Xapian database. I uses the Search::Xapian module and tried the basic Xapian Query Example. This basic program allow to make a query and get a array of results sorted by relevancy. My…
JeanJouX
  • 2,555
  • 1
  • 25
  • 37
0
votes
2 answers

Search using Xapian Omega - with Wild Cards or Regular Expressions

We are confronting different search engines for our research archives and having browsed the Xapian-Omega documentation, we decided to try it out since the Omega option appears to be an appropriate solution with several interesting search…
Nos Nix
  • 1
  • 1
0
votes
1 answer

Search Short Fields Using Solr, Etc. or Use Straight-Forward DB Index

My website stores several million entities. Visitors search for entities by typing words contained only in the titles. The titles are at most 100 characters long. This is not a case of classic document search, where users search inside large…
Shmulik
  • 3
  • 1
0
votes
1 answer

recollindex won't recurse into symlinked directories, even with "followLinks=1" and -r

If I set "followLinks=1" in recoll.conf, "recollindex" will follow symlinked files and index their contents. However, if it finds a symlink that's a directory, it will create a single document for the directory, but not recurse into that directory,…
user354134
0
votes
1 answer

How to build PHP bindings for Xapian on Raspbian

Am trying to build PHP bindings for Xapian on Raspbian on my Raspberry Pi Following instructions here http://trac.xapian.org/wiki/FAQ/PHP%20Bindings%20Package I am falling at the second hurdle! sudo apt-get build-dep xapian-bindings gives me the…
toptenweb
  • 35
  • 1
  • 6
0
votes
1 answer

Xapian gem failed to install on Mac OS X Snow Leopard + macports

I have installed xapian-core + xapian-bindings with macports on snow leopard, then trying to install xapian gem fails: Building native extensions. This could take a while... ERROR: Error installing xapian: ERROR: Failed to build gem native…
William Yeung
  • 10,368
  • 9
  • 36
  • 42
0
votes
1 answer

Haystack + Xapian: Can't get autocomplete functionality working

I'm trying to get autocomplete working on my server for search. Here is an example of one of my indexer classes: class ArtistIndex(indexes.SearchIndex, indexes.Indexable): text = indexes.CharField(document=True, use_template=True) …
benwad
  • 6,414
  • 10
  • 59
  • 93
0
votes
1 answer

How can I edit the data section of an Omindex produced database document by editing the omegaScript?

I have been able to set up and search through some documents from a database using this tutorial: a) http://www.ibm.com/developerworks/opensource/library/os-xapianomega/index.html?cmp=dw&cpb=dwope&ct=dwnew&cr=dwnen&ccy=zz&csr=110410 The data field…
velasco622
  • 85
  • 6
0
votes
1 answer

Nvim - Trouble with install of xapian on macintosh

System : Mac OSX Latest I installed xapian-core using ports - > Aarons-MacBook-Air:plugin aaron$ sudo port install xapian-core > ---> Computing dependencies for xapian-core > ---> Fetching archive for xapian-core > ---> Attempting to fetch…
ILikeTurtles
  • 1,012
  • 4
  • 16
  • 47
0
votes
1 answer

Defining an index combining two tables with Djapian

I've got the following Restaurant and Comment models. I'm doing full text search on some fields of the Restaurant model, as shown below in the RestaurantIndexer class. How can I do a full text search including the comments (i.e. a search returning…
jul
  • 721
  • 1
  • 9
  • 18
0
votes
1 answer

"Permission Denied" in Django template using Djapian

I've followed the Djapian tutorial and setup everything "by the book" so that the indexshell commandline supplied by Djapian shows successful queries. However, when integrating the sample search from the Djapian tutorial I get this nonsense…
nikola
  • 2,241
  • 4
  • 30
  • 42
0
votes
2 answers

No indexers created by Djapian for Django

I am working through the tutorial for setting up Djapian and am trying to use the indexshell (as demonstrated in this step). When I run the command 'list' I get the following output: Installed spaces/models/indexers: - 0: 'global' I therefore…
Peter Horne
  • 6,472
  • 7
  • 39
  • 50