I've been using a distance filter using regular django query filters within an OR-clause: I want to do a similar filtering as part of a haystack qu ...
I've been using a distance filter using regular django query filters within an OR-clause: I want to do a similar filtering as part of a haystack qu ...
does anyone know anything about q objects and searching many to many fields? I am using django-filters to create a filter / search area, below if f ...
I am reposting this question as I fixed it now to make it easier to understand exactly what I need to do. I have a function declared: The map is a ...
I have profiles in a collection called Profiles. I am making the query to search profiles based on user provided fields. Searching Form(UI Form), User ...
Actually i have a working code but the issue that i am facing is how to sort the result of the queryset based on multiple rule. This is my models.py : ...
What would be the best way to insert a variable into a field in django, similar to insert element into a list in python. I am not trying to update a ...
I am building an app that look for each phone number in the database. If there is any duplicate, I want to grab the first phone number found as the ma ...
I have a Sample model that is searched via a web interface and a QuerySet of criteria-matching Sample objects are returned as expected. model htm ...
I'm wondering if it is somehow possible to use "the inverse" of the __contains fields lookup. https://docs.djangoproject.com/en/1.11/ref/models/query ...
I'm currently using Django 1.10.3, django-haystack search engine with elasticsearch backend, and drf-haystack to prove the views. The searches in gen ...
I want to search in a multi table in yii2. How to do this action? i want search in multi table. that table have not any relation with Together i w ...
I am trying to use __exact in my Haystack and SOLR4 backend app, but it does not work for SQ() as expected. I am wondering whether __exact just works ...
I am building the indexes like : I even tried using Ngram but partial search is not working. I am querying it like SearchQuerySet().all().filter( ...
I'm having difficulty returning the results for an 'or' query in a SearchQuerySet() (django-haystack). In some cases it works but in others it doesn' ...
If I enter the query "apple" i wish to get the results like "xyzapplexyz","apple","applexyz" and NOT like "app" or "appl" . But what I am getting is " ...
I use Haystack and solr for a global search with multiple models , i try to use different filter on models, but at the end i have to return 1 queryset ...
I am trying to get the to 10 objects like : The output I want is: <class 'haystack.query.SearchQuerySet'> but I am getting is <type 'list' ...
Is there any way to get an union of two or more searchqueryset ? For example :- How do I combine both the queries together so that i get a union of ...
How to write the following code using searchqueryset? Is there an equivalent of the prefetch_related in the searchqueryset that can be used in this ...
Im building an advanced search form. Im doing it with filter querysets, but I need to pass it two or more models to the form. How can I achieve it? Un ...