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

Search with django Haystack

I have followed multiple different examples multiple different times, but it seems that I am missing something along the line. --> point short, with both whoosh, or elasticsearch along with haystack, search results to nothing. model class…
J D
  • 1
  • 4
0
votes
1 answer

Ignore hyphen when searching with django-haystack

I'm trying to do some searching with haystack with the whoosh backend. In my document i have string 1234-567 and my search could look like this SearchQuerySet().filter(content="1234567) Haystack does not find the object because of the hyphen between…
nikora
  • 817
  • 1
  • 14
  • 29
0
votes
0 answers

Django haystack issue with small search terms

I have an object with a notes field that says "WV Test Two" I would like to have that come up when I search "WV," "Test", "Two", or a combination of any of those. I am using Haystack with the Whoosh backend. It seems whenever "WV" is included in…
jongusmoe
  • 676
  • 4
  • 16
0
votes
1 answer

Whoosh non-relational data

I have django e-commerse site and I have simple EAV for product values. Elasticsearch can index json data. How to indexing with whoosh producs with different number of keys ? And how about facet search?
Singularity
  • 95
  • 1
  • 6
0
votes
1 answer

Haystack/Whoosh search returns zero results with partial numeric search

My SearchIndex looks like this: class AccountIndex(indexes.SearchIndex) account=indexes.CharField(model_attr='account_number') name=indexes.CharField(model_attr='business_name') An account number has 7 numeric characters. I can seem to do a…
Ben Davis
  • 13,112
  • 10
  • 50
  • 65
0
votes
1 answer

Is whooshalchemy indexing changing back reference?

I am using flask and whooshalchemy to implement full text search in a simple web application. The Post and User models are defined like this: class Post(db.Model): __searchable__ = ['body'] id = db.Column(db.Integer, primary_key=True) body…
John Newman
  • 213
  • 2
  • 9
0
votes
1 answer

haystack take long time for every search request

I have a problem for haystack area, hope that some of you could give me some advice In my application, each time the search request take long time, and haystack have a high CPU cost. here is some logs: Building Trie..., from…
yonzhang
  • 65
  • 5
0
votes
1 answer

How to show haystack(whoosh) results into a separate page?

I have a index.html where my form is implemented: ... {% block searchform%} {% endblock %} ... In my search/ folder I have two files. search.html, which is the actual form for the index.html {% extends 'index.html' %} {% block searchform %} …
Alessandro
  • 643
  • 1
  • 7
  • 20
0
votes
1 answer

Haystack-Whoosh not indexing any documents

I followed the Haystack tutorial to set up for Whoosh >>> pip install whoosh settings.py import os HAYSTACK_CONNECTIONS = { 'default': { 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH':…
Ent
  • 11
  • 1
  • 4
0
votes
1 answer

Using a method as a __searchable__ in flask-whooshalchemy

I have a sqlalchemy model that I am searching with flask-whooshalchemy. I was looking to include the output of a method in the search fields but can't figure out how it's done or if it's even possible. The flask-whooshalchemy documentation is a…
sharktamer
  • 126
  • 9
0
votes
1 answer

Whoosh usage/error with django-haystack

I have a django app in which i am trying to use django-haystack, so followed like below Installed django-haystack pip install django-haystack Installed Whoosh pip install Whoosh(https://bitbucket.org/mchaput/whoosh/wiki/Home) also…
Shiva Krishna Bavandla
  • 25,548
  • 75
  • 193
  • 313
0
votes
1 answer

Making a GUi for search engine

I am attempting to make a search engine application which can be hosted on the web. Currently I have a python code for a search engine (using "whoosh" if anyone if familiar with it). FOr this we can type in query and it gives some results. But now…
ayush singhal
  • 1,879
  • 2
  • 18
  • 33
0
votes
1 answer

Numbers and special characters in search strings in Haystack+Whoosh

I'm tring to understand how haystack search works. I hava a model Order with field Order.no where the order number is stored in a form 'ABC/2013/11/1', 'ABC/2013/11/2' ... I want to implement autocomplete on this field using Haystack with Whoosh…
no1
  • 925
  • 2
  • 9
  • 9
0
votes
1 answer

Custom input field and custom searchqueryset

I followed the get started doc and everyting work well! :) But i would like to replace the form in the /search/search.html by a custom form without selectable model checkbox. In the form i would like to add a button which on click, order search…
0
votes
1 answer

How to group Haystack search results in Django

I'm trying to group search results from Haystack. I want them to be grouped by model (Artist or Painting), then by a date field (created), then ideally by a boolean field (sold). I.e. something like the following but it's not working. I think I need…
eggbert
  • 3,105
  • 5
  • 30
  • 39