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

Smart string search python (maybe) using whoosh

I need to make a search method that is a little smarter than the find() in python. Something that could find similar words more like a search engine. I heard of Whoosh, installed it, but I couldn't even understand where to start from. Could someone…
Lucas C. Feijo
  • 1,002
  • 3
  • 13
  • 29
1
vote
1 answer

Whoosh groupping by time interval

I have the following structure and is indexed using Whoosh. timestamp name count(b.name) ------------------- ---- ------------- 2010-11-16 10:32:22 John 2 2010-11-16 10:35:12 John 7 2010-11-16 10:36:34 John 1 2010-11-16 10:37:45 …
1
vote
2 answers

Django Haystack Errors on certain keywords

I use haystack and whoosh in my platform and it runs on an hourly basis indexing my content. I have found that with certain strings it raises a VariableDoesNotExist: Failed lookup for key [object] in u'None' error. Some of these strings include…
ApPeL
  • 4,801
  • 9
  • 47
  • 84
0
votes
1 answer

Customize view with Whoosh

I'm using Haystack and Whoosh to build the search engine part of a site. Whoosh works very well in my case but i need to show an extra information from my view depends on what the search found. In my Django view i use something like this, where…
Gabriel Muñumel
  • 1,876
  • 6
  • 34
  • 57
0
votes
1 answer

Import Python [Whoosh python -- don't understand import error]

I am new to lots of things. I try to have Whoosh installed to look into the source code and play with it. I add the path to folder containing setup.py and README.txt in sys.path, then import setup and error is displayed: Traceback (most recent…
kiriloff
  • 25,609
  • 37
  • 148
  • 229
0
votes
1 answer

whoosh issues with django forum apps

Trying to get some forum apps up and running. Cant get anything to work. With djangobb forums, and the pybb-demo im getting The 'whoosh' backend requires the installation of 'Whoosh'. Please refer to the documentation. Have downloaded haystack as…
JT.
  • 351
  • 1
  • 5
  • 13
0
votes
2 answers

Where am I missing an argument?

I'm about to go blind starring at this problem, so I have to ask: I have 1 clue: rearranging the code, makes the error message different: I get the error: min_analyzer = SpaceSeparatedTokenizer() | LowercaseFilter() | mitt_filter() TypeError:…
Rookie
  • 1,590
  • 5
  • 20
  • 34
0
votes
1 answer

Whoosh with Dynamic Page Creation in Google App Engine

If you aren't as familiar as you need to be with the technologies listed and would like to try to answer the question anyway, here are some useful…
CODe
  • 2,253
  • 6
  • 36
  • 65
0
votes
0 answers

Whoosh seems not take into account the maximum difference in position between each word

I am working with the library WHOOSH in order to make query on my documents but my understanding is limited. As the documentation expose I have the folowing dodument "whoosh is a very beautiful library" and my query is 'whoosh library'~2. I…
YaOo
  • 1
  • 1
0
votes
0 answers

Reading an Updated File on Dash Enterprise

I am using Dash to create a search engine tool for company reports. I am using Whoosh for indexing and searching - I am very confident Whoosh is not the issue, but I am not 100% sure. Either way, up to now, each morning I run a batch script that…
Sam Dean
  • 379
  • 9
  • 19
0
votes
0 answers

Whoosh library Percentage of matching searcher.search

Im trying to check how much does the query matches the search Here is the full code: import tempfile from whoosh import index from whoosh.fields import Schema, TEXT, ID from whoosh.qparser import QueryParser def most_similar_key(string,…
Ahmed
  • 1
  • 1
0
votes
0 answers

Whoosh deletes existing fields when I run writer.update_document

I am adding a functionality to update a few fields in a document but everytime I update a field , whoosh deletes all the other fields in the document and only keeps the updates field. Here is my code snippet for reference var =…
yashna
  • 1
  • 1
0
votes
0 answers

whoosh python search engine. is there a way to add custom variations?

Is there a way to define a custom variation list in Whoosh? For example, 'cat'->'caterpillar' In the Whoosh python package, I am trying to add a custom variation equivalence. I can see that the variations are defined with a set of rules in…
Courvoisier
  • 904
  • 12
  • 26
0
votes
1 answer

Mailman 3 Hyperkitty indexes not being built

My config looks like this: HAYSTACK_CONNECTIONS = { 'default': { 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': os.path.join(BASE_DIR, "fulltext_index"), ... I have whoosh 2.7.4 installed. But my…
smoyth
  • 649
  • 6
  • 13
0
votes
1 answer

Add multiple filter to search in Whoosh

Faced with an issue. I need to create multiple filters to search in Whoosh. I tried to add filter in search like that qp = qparser.QueryParser("content", myindex.schema) user_q = qp.parse(query_string) filter = And(list of Term) results =…