Comments (1)
The implementation of the search depends on the database. I'm gonna assume you're using Postgres here, since that has the most powerful but also the most suprising behaviours.
Basically, your search query is changed / stemmed / pruned based on the search configuration:
https://www.postgresql.org/docs/current/textsearch-dictionaries.html
The WATSON_POSTGRES_SEARCH_CONFIG
setting allows you to choose the search config to use. The default for django-watson
is pg_catalog.english
. You could try using pg_catalog.simple
and seeing if that affects the results.
After changing this setting, you will need to run:
./manage.py uninstallwatson
./manage.py installwatson
./manage.py buildwatson
from django-watson.
Related Issues (20)
- Installation conflict with other watsons HOT 4
- AttributeError: module 'blog.admin' has no attribute 'site' HOT 2
- rebuilding index doesn't remove entries for deleted objects HOT 3
- No results for partial keywords HOT 1
- support extra fields to be indexed HOT 1
- expose metadata also in .filter() results HOT 3
- Registering Django FlatPage in apps.py or __init__.py Throws "Apps aren't loaded yet" Exception HOT 6
- Error after updating django to latest version HOT 2
- Possible to search with partial match? HOT 4
- Django 3.2 Warning in migration HOT 1
- psycopg2.errors.UndefinedTable: relation "watson_searchentry" does not exist HOT 3
- Search for a subset by filtering on related model fields HOT 2
- I ran python manage.py buildwatson and an error was returned... HOT 1
- 'QuerySet' object has no attribute 'strip' HOT 1
- Using non numeric primary keys HOT 1
- Issues with indexing with taggit HOT 2
- The search returns not only variants of the same word, but also words starting with the requested word HOT 3
- Searching for non-model related items (like views) HOT 1
- Support Multi-Database configuration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-watson.