Git Product home page Git Product logo

Comments (3)

ktyz1992 avatar ktyz1992 commented on July 17, 2024

According to this (#134) issue, you need to set WATSON_BACKEND = "watson.backends.PostgresLegacySearchBackend". However, the interpreter tells me django.core.exceptions.ImproperlyConfigured: Could not find a class named 'watson.backends' in 'PostgresLegacySearchBackend' and indeed I don't see it in the file.
Is such an elementary option as switching between enabling and disabling search using postfix not implemented in the app?

from django-watson.

ktyz1992 avatar ktyz1992 commented on July 17, 2024

I had to create a CustomPostgresSearchBackend class in my application by removing just one asterisk. Not a beautiful implementation and a lot of redundancy. Please describe this problem in the documentation to reduce the headache of users in the future.

from django-watson.

etianen avatar etianen commented on July 17, 2024

You had to subclass a 147 LOC class and override a 7 LOC method to change from a prefix-matching behaviour to a word-stemming behavior, creating a working solution within a day. I'm sorry this isn't beautiful to you, and resulted in a headache.

This is totally on me. I wrote the code 11 years ago when I was considerably less experienced, and have been maintaining it in my limited free time ever since. Be assured that when I charge for my work, I hold myself to considerably higher standards.

from django-watson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.