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

How to use xapian which returns a URL when indexing a web page

I am using Ubuntu 12.04, Python 2.7 My code for getting the contents from a given URL: def get_page(url): '''Gets the contents of a page from a given URL''' try: f = urllib.urlopen(url) page = f.read() f.close() …
VeilEclipse
  • 2,766
  • 9
  • 35
  • 53
0
votes
0 answers

Xapian - searching polish characters (enconding issues?)

I am using xapian as a search engine for my website. Recently I found out it does not search words containg polish specific characters like ś, ą, ć, ę. Anytime I am trying to search word containg one of those language-specific chars it returns no…
Somal Somalski
  • 578
  • 1
  • 7
  • 21
0
votes
2 answers

Sphinx + tokyo Tyrant + mysql

I'm looking at creating a full text search engine for one of my projects. We have a Mysql, Tokyo Tyrant and file documents that need to be indexed. I'm looking at Sphinx right now but I can't figured out if I can use it to index every document. I…
stunti
  • 855
  • 8
  • 20
0
votes
1 answer

Adding fields in xapian c++ library

Hello i am trying xapian c++ library i am basically from java and i used lucene and for now i need xapian i have no other go. so i am using it. In lucene we can use like this Document doc = new Document(); doc.add(new Field("title",…
Ramesh
  • 2,295
  • 5
  • 35
  • 64
0
votes
1 answer

How to do tag searches on Djapian composite indexes

I have a Djapian Indexer something like this.. class SomeModelIndexer(Indexer): fields = ["body"] tags = [('title', 'title', 2), ('tag', 'strtags')] space.add_index(SomeModel, SomeModelIndexer, attach_as="indexer") This allows me…
Stephen Paulger
  • 5,204
  • 3
  • 28
  • 46
0
votes
1 answer

Search by probabilistic fields in Xapian and Python

Here's what I intend to do: doc = xapian.Document() doc.set_data(somedata) .. .. doc.add_term("Ajohn doe") Assume the prefix "author" is available for document author. Now I want to be able to run this search "searchterm AND author:john doe" This…
martincho
  • 4,517
  • 7
  • 32
  • 42
0
votes
1 answer

How to use the term position parameter in Xapian query constructors

Xapian docs talk about a query constructor that takes a term position parameter, to be used in phrase searches: Quote: This constructor actually takes a couple of extra parameters, which may be used to specify positional and frequency information…
Basel Shishani
  • 7,735
  • 6
  • 50
  • 67
0
votes
1 answer

django-haystack gives error Unable to open index at search/xapian/xapian_index

I am attempting to setup a search function on my django site using django-haystack with xapian backend. I followed the directions as per: http://django-haystack.readthedocs.org/en/latest/tutorial.html When I enter a search it throws the…
Roland
  • 103
  • 1
  • 1
  • 7
0
votes
1 answer

Modern Capistrano Deprec recipes for Xapian, MongoDB, etc

I am looking for some modern Capistrano 2.x / Deprec recipes for setting up toosl ike MongoDB, Xapian and Xapian-fu, and other tools (Redis, Memcache/d, etc) Anyone know if Deprec is still active enough to have some recipes for some of these modern…
Charles
  • 495
  • 1
  • 5
  • 12
0
votes
0 answers

How To Create Search Engine with Xapian

I am trying create a search engine using Xapian on shared hosting, but I am not getting any idea where to start, I have downloaded the source file. Xapian-core-1.2.12, Xapian-bindings-1.2.12 and Xapian-omega-1.2.12. Now what to do with these…
user1411607
0
votes
2 answers

gcc error cannot compile exectables while installing xapian-core

Iam getting the error while installing the gem xapian-core . It was saying that "configure: error: C compiler cannot create executables See `config.log' for more details " Here is the log file generated. This file contains any messages produced…
Ranzit
  • 1,327
  • 2
  • 13
  • 32
0
votes
1 answer

Django-haystack (xapian) autocomplete giving incomplete results

I have a django site running django-haystack with xapian as a back end. I got my autocomplete working, but it's giving back weird results. The results coming back from the searchqueryset are incomplete. For example, I have the following…
rozap
  • 621
  • 1
  • 4
  • 13
0
votes
1 answer

djapian based search freezes

When I try to run a djapian based search it freezes the applications and I dont get any response from the server. Am deploying the site using mod_wsgi. The search runs fine when i run it in the python shell or in the django dev server. The problem…
kartikq
  • 641
  • 2
  • 11
  • 20
0
votes
1 answer

Getting Xapian running in Ruby on Rails app: Couldn't detect type of database

I am trying to get a Ruby on Rails application running on Ubuntu. It utilizes Xapian in order to search for documents. I already installed the xapian-full Gem in version 1.1.3.4 as instructed by the Gemfile and I created the directory files/default…
YMMD
  • 3,730
  • 2
  • 32
  • 43
-1
votes
1 answer

Does Xapian support query string like "x: 1..2 OR x: 8..10"? I cannot figure it out

Following is my simple code, index function establishes indexers and search function searches using querystring directly: #include #include #include #include #include using namespace std; int…
shoutrain
  • 21
  • 3
1 2 3 4 5 6
7