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

Django Haystack migrate from xapian to whoosh

I has issues setting up haystack with xapian after upgrading Django and haystack so I've switched to whoosh. I created a blank folder /home/kbuzz/whoosh_index but when I try to do a search it returns nothing. Settings. HAYSTACK_CONNECTIONS = { …
user4910881
0
votes
0 answers

How to use Whoosh or Flask-WhooshAlchemy as an autocompleting engine?

I'm using Flask building a site, and am using Whoosh as the search engine. Now I need an easy autocompleting engine to tag autocomplete, which I have tag Python with description python programming language stored. The description is used for…
Kane Blueriver
  • 4,170
  • 4
  • 29
  • 48
0
votes
1 answer

Sort django haystack results by datetime (whoosh backend)

I have a SearchIndex whose results I want to be sorted based on a DatetimeField. However when I try to manage.py rebuild_index, I get a ValueError complaining about the datetime being a... datetime. In case it matters, I use timezones and pytz, but…
alekosot
  • 661
  • 9
  • 19
0
votes
1 answer

Haystack + Whoosh throwing root:Error updating using default

Just started on Whoosh + Haystack. I tested a test model which indexed fine and gave results. But indexing fails for some unknown reason on the second model (the important one) Here is the model class Sale(models.Model): brand =…
0
votes
1 answer

Url - issues when rendering search results with Haystack / Whoosh jquery

I've followed a tutorial to a create search query with Haystack and Whoosh in Django 1.6. The search template works but when filling in and submitting a query the automatic detection of url renders a 404 that generated url; myapp.entry, can't be…
user1749431
  • 559
  • 6
  • 21
0
votes
1 answer

How to configure Whoosh in Python2.7

I have two Python settings in my machine. One is Python 2.7.6 coming with Enthought Canopy, and is the 2.7.9 file I have downloaded from Python website. I tried to install Whoosh in both of them. It went fine. In Enthought I have installed it as…
0
votes
0 answers

Whoosh + django-haystack missing search results

I'm playing around with a relatively straightforward implementation of Whoosh 2.6 and django-haystack 2.3.1 for a search of "contact" objects. However, an example search for "mary" only returns a small subset of my many "Mary" contacts. Here are…
Cloud Artisans
  • 4,016
  • 3
  • 30
  • 37
0
votes
1 answer

Python whoosh to run add_document

I have created an index and created documents as per documentation. But when I am running the script do I always have to go through the process of adding the document and then search for the string. Is it possible to store it once and then I can…
blackmamba
  • 1,952
  • 11
  • 34
  • 59
0
votes
1 answer

NEAR type query in whoosh

In the slides from the PyCon 2013 there is a mention to NEAR type queries. I've looked through the documentation and there is no mention to the NEAR keyword in the queries. I could only find something similar, this: "whoosh library"~5 which matches…
David Batista
  • 3,029
  • 2
  • 23
  • 42
0
votes
1 answer

why use django haystack slice queryset too slow?

I use whoosh as the search backend. when I get just 3 search result, code: #!/usr/bin/python # -*- coding: utf-8 -*- import sys sys.path.append('/home/guomeng/projects/tapplex_ringtones') import os os.environ['DJANGO_SETTINGS_MODULE'] =…
gnemoug
  • 467
  • 1
  • 5
  • 21
0
votes
1 answer

Whoosh fuzzy matching of the queried word list

By the fuzzy match here , I mean to find the documents which have like 60-70% of word matches from the word list in query. Eg : >> #(Query string as passed by user) >> query = i am searching for a document that is matched fuzzily with what i am…
Deepali Semwal
  • 139
  • 1
  • 2
  • 9
0
votes
1 answer

Django haystack. How to alter names of check boxes?

I installed django haystack using whoosh. Everything works great, but I want to alter the names displayed next to the check boxes. I know they are generated using the verbose name set up on the models but I still have an issue with the 's' being…
0
votes
1 answer

Python Whoosh AttributeError when updating index

I'm trying to update my whoosh search index when I make changes to my database, but keep getting an error that I haven't been able to figure out. One of my views: from search import update_index @view_config(route_name='update_effect_brief',…
bard
  • 2,762
  • 9
  • 35
  • 49
0
votes
0 answers

Haystack and Whoosh No Search Results

I've been following the documentation on Haystack's website on how to add search functionality and I can't get any results to display. I've run this in the shell and everything checks out (count is 433, text isn't just u''). sqs =…
0
votes
1 answer

Storing elasticsearch query result in Django session

I am currently in a development team that has implemented a search app using Flask-WhooshAlchemy. Admittedly, we did not think this completely through. The greatest problem we face is being unable to store query results into a Flask session without…
Palisand
  • 1,302
  • 1
  • 14
  • 34