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
1
vote
1 answer

Whoosh ImportError: cannot import name SpellChecker

In order to solve no "FileStorage" attribute problem, I just update the whoosh. However, it comes with this new problem. from whoosh.spelling import SpellChecker ImportError: cannot import name SpellChecker
1
vote
1 answer

how can i use spellchecking in django (haystack with whoosh)?

I am working on a django website. I want to search from a lots of texts from django.models(texts is something like stackoverflow questions). I am doing search with Haystack+whoosh. It is very nice using it. Much better than…
suhailvs
  • 20,182
  • 14
  • 100
  • 98
1
vote
1 answer

Django Haystack Whoosh Multilanguage site

I am using haystack with whoosh backend in my django project. And my models are multilingual with the modeltranslation module, it creates automatic fields like title_tr, title_en for a field named title... I am trying to make searches aware of…
ratata
  • 1,129
  • 14
  • 42
1
vote
2 answers

Django-haystack with whoosh - can't filter by boolean field

Well, I've been pulling my hair out over this one for many hours now and figured it's time to seek assistance as I'm not able to find out why this is happening via google searches... Essentially I'm making a classifieds type application and I need a…
1
vote
1 answer

whoosh doesn't search for short words like "C#"

i am using whoosh to index over 200,000 books. but i have encountered some problems with it. the whoosh query parser returns NullQuery for words like "C#", "C++" with meta-characters in them and also for some other short words. this words are used…
1
vote
1 answer

haystack whoosh no results - rebuild_index shows Indexing [number]

when I run ./manage.py rebuild_index I get the readout for example: Indexing 4574 . Having seen other users' readouts, this should show the name of the search index/model instead and I am…
1
vote
2 answers

Search backend for Django App on Heroku

On my development app I'm using a combo of Haystack for search with Whoosh as the backend. However, when I deploy to Heroku my search is no longer working, even after running python manage.py update_index. Upon some research, I discovered that it's…
user1328021
  • 9,110
  • 14
  • 47
  • 78
1
vote
1 answer

python whoosh IndexingError when interrupted

This strange error appears after i had interrupted whoosh commit process. When i am trying to commit now i'm getting File "/usr/local/lib/python2.7/dist-packages/whoosh/filedb/filewriting.py", line 179, in _check_state raise…
mirt
  • 1,453
  • 1
  • 17
  • 35
1
vote
1 answer

django haystack module search with whoosh

I'm trying to add a module wide search for my App and found haystack-search. I took whoosh to store the search information. I've configured my search as told in the docs and already can find results. The problem I have is a field which stores and…
Martin
  • 123
  • 2
  • 8
1
vote
1 answer

Haystack's SearchQuerySet().filter not doing anything (Whoosh 2.4.1, Django-haystack 1.2.7)

views.py (relevant part) srch = request.GET.get('search', "") sqs = SearchQuerySet().filter(has_title=True) clean_query = sqs.query.clean(srch) results = sqs.raw_search(clean_query) search_indexes.py from haystack.indexes import * from haystack…
Bentley4
  • 10,678
  • 25
  • 83
  • 134
1
vote
1 answer

Using Whoosh I am not able to search for documents with multiword queries.

Using Whoosh I am not able to search for documents with multiword queries. I used the And operator as depicted in http://packages.python.org/Whoosh/quickstart.html#the-searcher-object but it shows error. The single word search works. from…
VeilEclipse
  • 2,766
  • 9
  • 35
  • 53
1
vote
1 answer

How do we update a indexed document using the whoosh module when we have some fields that are not stored?

Schema(title=TEXT(analyzer=stem_ana, stored=True), content=TEXT(analyzer=stem_ana, vector=True), link=ID(stored=True), meta=TEXT(analyzer=stem_ana), path=ID(stored=True), scores=ID(stored=True), …
b1tchacked
  • 468
  • 4
  • 12
1
vote
1 answer

How can I iterate over two or more template indexes with Haystack, Whoosh and Django

I was reading the docs and some questions around here and couldn't understand how can I return a query that has fields indexed in two different classes. Let me put the code below: Here I have the classes: class…
user1106551
1
vote
1 answer

Haystack and whoosh index size

I'm using django haystack + whoosh as search backend. When i run index update it simple creating new index file with same size and index grow very fast (let's say my content changing fast and i want to keep index fresh and updating it every 5-10…
Novarg
  • 253
  • 2
  • 17
1
vote
1 answer

Haystack with Whoosh- Search Results Not Redirecting

I successfully installed whoosh and made it work with Haystack. Things are working fine but I'm facing one problem which is; after searching for a keyword and it print out the results, when I click on the result(title), It won't redirect me to the…
picomon
  • 1,479
  • 4
  • 21
  • 38