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
4
votes
1 answer

Install Xapian for Python 2.6 on CentOS 5.5

I'm using Django 1.2 for Python 2.6 on CentOS 5.5 and I'm trying to install Django Haystack with Xapian as the search backend. I've followed the installation instructions on http://docs.haystacksearch.org/dev/installing_search_engines.html#xapian…
hellsgate
  • 5,905
  • 5
  • 32
  • 47
4
votes
1 answer

Xapian search terms which exceed the 245 character length: InvalidArgumentError: Term too long (> 245)

I'm using Xapian and Haystack in my django app. I have a model which contains a text field that I want to index for searching. This field is used to store all sorts of characters: words, urls, html, etc. I'm using the default document-based index…
wes
  • 889
  • 9
  • 12
4
votes
2 answers

haystack's RealTimeSearchIndex causes django to hang on data entry

I'm using django-haystack and a xapian backend with real time indexing (haystack.indexes.RealTimeSearchIndexing) of model data and it works fine on my Ubuntu server. However, it causes django to hang upon data entry when I deployed the app on a…
Shawn Chin
  • 84,080
  • 19
  • 162
  • 191
4
votes
2 answers

Django Haystack-Xapian search fails with special characters and spaces

I'm working on an existing Django project which uses haystack with xapian backend for a global search feature. However the search seems to fail while I search with some special characters like & and spaces etc. I tried but could not find out a way…
Ankit Jaiswal
  • 22,859
  • 5
  • 41
  • 64
4
votes
3 answers

xapian and django-haystack

I have a problem with django-haystack. According to this tutorial I got this apps: django-haystack xapian-haystack I set everything but i have this error: django.core.exceptions.ImproperlyConfigured: 'xapian' isn't an available search backend.…
pmoniq
  • 1,883
  • 2
  • 19
  • 22
3
votes
1 answer

what is Haystack for Django?

I have been reading about Haystack,Whoosh,Xapian,etc. however I didn't really get what they are exactly used for and what is the relationship between them. For example, it is said that Enable searching on third-party apps without touching that…
Hossein
  • 40,161
  • 57
  • 141
  • 175
3
votes
1 answer

Qt + xapian library

I'm trying to use Xapian library in my Qt-project. I've just added header: #include #include using namespace std; int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); return…
sobr_vamp
  • 45
  • 4
3
votes
1 answer

What is the difference between searchlogic and other fulltext search plugins?

I am looking for an alternative to acts_as_solr or thinkingsphinx for fulltext search in my Rails app. Came across searchlogic. Does it support indexing? I am planning to host my app on heroku and I want an alternative because heroku charges for…
Shripad Krishna
  • 10,463
  • 4
  • 52
  • 65
3
votes
4 answers

xapian-full installed on mac os x snow leopard but failed with dlopen LoadError

Since I have tried to install xapian but failed, I try another alternative with xapian-full. Installation seems goes well, but when I try to write code with that I got toasted with error message again: irb(main):001:0> require 'xapian' LoadError:…
William Yeung
  • 10,368
  • 9
  • 36
  • 42
3
votes
0 answers

How to enable partial matching in Django Haystack with Xapian

I have downloaded xapian-core and xapian-bindings and installed them via the following commands ./configure --prefix=/path/to/virtualenv ./configure --prefix=/path/to/virtualenv --with-python pip install django-haystack xapian-haystack So far I…
James Lin
  • 25,028
  • 36
  • 133
  • 233
2
votes
0 answers

Does xapian supports fuzzy search?

So lucene supports fuzzy search based on edit distance algorithms, but i am wondering does xapian also support this feature? So a documents which includes term 'apple' will also be returned with the query='applo' which is a TYPO. From what i known…
WeitaoLi
  • 39
  • 2
2
votes
1 answer

Py_InitModule4 with Djapian/Xapian

I am trying to install Djapian on RedHat5 / Python2.6. I have already installed it successfully on my OSX 10.6 machine. I have built and compiled Xapian and Djapian without issue for Py2.6. I then install the Python Bindings for Xapian and it works…
picus
  • 1,507
  • 2
  • 13
  • 23
2
votes
1 answer

How to use different ids in Xapian?

I'm trying to implement a search with Xapian. My documents have its own ids, that are strings. I already do as the tutorail says: db.replace_document(doc.docno, doc_x) where doc.docno is the string that identifies the document. But when I…
CAB
  • 125
  • 4
  • 12
2
votes
2 answers

Crawler/parser for Xapian

I would like to implement a search engine which should crawl a set of web sites, extract specific information from the pages and create full-text index of that specific information. It seems to me that Xapian could be a good choice for the search…
Enrico Detoma
  • 3,159
  • 3
  • 37
  • 53
2
votes
6 answers

I really want to use Xapian on a project, but for the life of me I can't figure out how to install it on Windows!

If this was on a linux box I'd be set, but there's a distinct lack of documentation! I want to use this with c# and the omega indexing app. There doesn't seem to be any documentation on how to actually BUILD xapian & omega on windows (or,…
Sean
  • 788
  • 3
  • 10