You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: As mentioned in the document, you can define derived fields directly in a search request and query them along with regular indexed fields.
However when I query derived fields without defining them in my index mappings , I won't retrieve any fields.
The text was updated successfully, but these errors were encountered:
Minhal-111
changed the title
Searching derived fields in a search request does not give expected output as mentioned in the document
Searching derived fields in a search request does not give expected output as mentioned in the document on OS-2.15
Oct 26, 2024
Minhal-111
changed the title
Searching derived fields in a search request does not give expected output as mentioned in the document on OS-2.15
Cannot query derived fields directlly by defining them on search request on OS-2.15
Oct 26, 2024
Description: As mentioned in the document, you can define derived fields directly in a search request and query them along with regular indexed fields.
However when I query derived fields without defining them in my index mappings , I won't retrieve any fields.
To Reproduce
Create an index "logs"
POST sample data:
Search derived fields in a search request:
Output:
Now defining derived fields in index mappings:
we get expected output as mentioned in doc:
The text was updated successfully, but these errors were encountered: