Exported Query object for Search seems to be incorrect.

Description

It seem like some extra text might be being generated in the Java SDK in a FTS (Search query).

Working on `travel-sample`._default._default with a search index "a" on reviews.content

I get my expected results but when I export the query it looks funny ...

The query that the Java SDK generates looks wrong "as in duplicative" with too much info.

 
I could pass any of the following to the OnPrem UI and get the same results always 40 hits

In all cases the UI generates just

 

We never see the *}"match":"cars"{*},"query":{"match":"cars" in the UI like we see via the export in the Java SDK is generating.  I think the "match":"cars" above is just an ignored property.

Note you can run the following curl against an index named "a" it will work

but the following will fail:

'

 

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

David Nault April 26, 2023 at 5:50 PM

This was fixed in 3.4.5, probably as a side-effect of resolving .

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created December 13, 2022 at 12:05 AM
Updated April 26, 2023 at 5:50 PM
Resolved April 26, 2023 at 5:50 PM
Instabug