Questions tagged [whoosh]

Whoosh is a fast, featureful, full-text indexing and searching library implemented in pure Python.

Fast, pure-Python, full text indexing, search and spell checking library. Whoosh on the Python Package Index

Whoosh Documentation

373 questions
16
votes
1 answer

Document search on partial words

I am looking for a document search engine (like Xapian, Whoosh, Lucene, Solr, Sphinx or others) which is capable of searching partial terms. For example when searching for the term "brit" the search engine should return documents containing either…
GeneralBecos
  • 2,476
  • 2
  • 22
  • 32
14
votes
2 answers

Whoosh index viewer

I'm using haystack with whoosh as backend for a Django app. Is there any way to view the content (in a easy to read format) of the indexes generated by whoosh? I'd like to see what data was indexed and how so I can better understand how it works.
daniels
  • 18,416
  • 31
  • 103
  • 173
13
votes
2 answers

Django haystack whoosh super slow

I have a simple setup with django-haystack and whoosh engine. A search yielding 19 objects took me 8 seconds. I used the django-debug-toolbar to determine that i had a bunch of repeated queries. I then updated my search view to prefetch relations,…
Eldamir
  • 9,888
  • 6
  • 52
  • 73
13
votes
1 answer

Spelling correction for person names (Python)

I have a large collection of person names (e.g. "john smith"). I want to look up people by name in it. However, some of the queries will be misspelled (e.g. "jon smth", "johnsm ith"). Are there any spelling correction libraries with Python bindings…
Jeff
  • 1,232
  • 1
  • 13
  • 22
12
votes
4 answers

Django haystack and whoosh

Does anyone have any experience using django-haystack with the whoosh backend? I'm looking to use it for a categorized live-search type tool. Is it gonna be fast/efficient enough in a production environment to avoid setting up either solr or xapian?
sleepyjames
  • 779
  • 5
  • 16
12
votes
5 answers

Fuzzy String Searching with Whoosh in Python

I've built up a large database of banks in MongoDB. I can easily take this information and create indexes with it in whoosh. For example I'd like to be able to match the bank names 'Eagle Bank & Trust Co of Missouri' and 'Eagle Bank and Trust…
ciferkey
  • 2,064
  • 3
  • 20
  • 28
11
votes
4 answers

Full-text search on App Engine with Whoosh

I need to do full text searching with Google App Engine. I found the project Whoosh and it works really well, as long as I use the App Engine Development Environement... When I upload my application to App Engine, I am getting the following…
Martin
  • 39,309
  • 62
  • 192
  • 278
9
votes
1 answer

Indexing and searching related objects with haystack

I'm pretty new to search implementation, bear with me while I'm learning! So my pet project is a recipe site and each recipe can have n steps. the model looks something like: class Recipe(models.Model): title = models.CharField(max_length=255) …
dengar81
  • 2,485
  • 3
  • 18
  • 23
8
votes
3 answers

Among Lucene/Solr, Whoosh, Sphinx, Xapian which integrates best with python?

I am a newb coder in a startup and I am implementing search of documents in a directory in a web host. I am comparing Lucene/Solr, Whoosh, Sphinx and Xapian. Whoosh is natively python. But I want your opinions on it too. Which of these have mature…
Jesvin Jose
  • 22,498
  • 32
  • 109
  • 202
8
votes
1 answer

No results in Django Haystack search

I've read the getting started documentation and several other examples on the web. And this is what my search_indexes.py looks like: from haystack.indexes import * from haystack import site from models import Entry class EntryIndex(SearchIndex): …
demux
  • 4,544
  • 2
  • 32
  • 56
8
votes
1 answer

How fast is Whoosh?

Whoosh is a fast, featureful full-text indexing and searching library implemented in pure Python (official website). But I cannot find any speed / performance comparison to other search engine, especially Lucene based (pyLucene, Lupyne...) ? I'm…
dtrckd
  • 657
  • 7
  • 17
7
votes
1 answer

whoosh MultifieldParser field search or query parser concatenation

I'm trying to use whoosh to add search functionality to my blogapp on appengine but I don't understand some stuff. The blogentries are indexed with title, content and status fields. I would like to have different type of results on the public page…
aschmid00
  • 7,038
  • 2
  • 47
  • 66
7
votes
1 answer

using BufferedWriter in flask whooshalchemy

Hi I am running a flask app with a postgreSQL database. I get LockErrors when using multiple workers. I learned that this is because the whoosh search locks the database…
carl
  • 4,216
  • 9
  • 55
  • 103
7
votes
3 answers

Django-Haystack giving attribute error?

I am trying to use Haystack and Whoosh with my Django app. I followed the steps on Haystack docs, but i am getting this error when i do a search AttributeError at /search/ 'module' object has no attribute 'get_model' search_indexes.py - import…
doctorsherlock
  • 1,334
  • 4
  • 19
  • 41
7
votes
1 answer

Why is whoosh commit so slow

I wonder why whoosh is kinda slow with the following code. Especially the commit takes quite a long time. I tried to use limitmb=2048 with the writer instead of the default 128, but it makes almost no difference. As per suggestions I tried procs=3…
fschulze
  • 81
  • 6
1
2 3
24 25