django-haystack / django-haystack/django-haystack
Haystack SearchQuerySet won't filter on a CharField with one character (Whoosh / django-haystack)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 1.3k
- Avg merge
- 3h 18m
- Merged PRs (30d)
- 3
Description
I meet this problem just like Marcel Zanoni posted on http://stackoverflow.com/questions/18718061/haystack-searchqueryset-wont-filter-on-a-charfield-with-one-character-whoosh
The accepted answer is a little ugly....So I look for answer here. Is it a bug or design to be ? How can I solve it elegantly?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file or test is named in the issue. Start by reproducing the one-character CharField filter described in the issue and compare the behavior with the linked Stack Overflow report; done means determining whether the behavior is a bug or intended design and documenting an accepted resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100