Closed AnonymousNoob closed 6 years ago
No, you'll have to do this logic in your own Python code by looking at the text in the SearchEntry model, and finding the appropriate snippet.
Postgres has a native function to do just this, but because django-watson aims to be database-agnostic, it doesn't provide any wrapper for using this.
On 23 January 2018 at 07:30, Praveen notifications@github.com wrote:
Is there a way to return the matched phrases in a model field, example , qurey="hot dog" , search result includes queryset and "I had a hot dog yesterday" along with the query set ??
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/etianen/django-watson/issues/233, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJFCH4RZZqIgSdv9Y3FtZDCDK_x9nNDks5tNYp9gaJpZM4RpM_p .
Is there a way to return the matched phrases in a model field, example , qurey="hot dog" , search result includes queryset and "I had a hot dog yesterday" along with the query set ??