This message was deleted.
# community-help
s
This message was deleted.
k
In the browser console's network tab, you can find the exact request being sent to Typesense. Can you post that?
👍 1
s
{"searches":[{"query_by":"title, tags, subject, creator, description","typo_tokens_threshold":10000,"filter_by":"is_active:1","highlight_full_fields":"title, tags, subject, creator, description","collection":"xqvideolab_local","q":"t","page":1}]}
k
Are you saying you are getting results which are NOT
is_active: 1
?
s
We are getting inactive status result in search.
k
Is this on Typesense Cloud or self hosting?
s
Typesense Cloud
k
Please DM me the cluster ID
And let me know if you are able to reproduce the same issue in the cloud UI?
s
YEs
k
Copy code
{
      "facet": false,
      "index": false,
      "infix": false,
      "locale": "",
      "name": "is_active",
      "optional": true,
      "sort": true,
      "type": "int32"
    },
Why is
index: false
set for this field?
That's likely the reason.
s
Let me make it true and check the result
It is works
thanks
👍 1
If the user enters the "Test" word then we want null user id record then how can we get those result?
k
Null values cannot be filtered on. You have to use some special identifier.
s
ok but how can we pass multiple special identifier?
k
Use a value like -1 to mark null values
s
How to pass in filter_by request?
k
You want to exclude a document's whose field X value is
null
. There is no way to do that. Instead if a field is
null
set it to a value like "NA" and then do normal filtering using
!= NA