-
Bug
-
Resolution: Done
-
Minor
-
RHDG 8.2 CR1
-
None
-
False
-
False
-
-
-
-
-
-
CR1
-
Undefined
-
After creating the schema, cache config and putting some data,
Execute the query: from Book where title like "Book%"
It will return "query: (unable to decode value)"
It is working with curl: curl -v -G --data-urlencode "action=search" --data-urlencode "query=from Book where title like \"Book%\"" "http://127.0.0.1:11222/rest/v2/caches/bookCache" --digest -u admin:admin
/**
* @Indexed
*/
message Book {
/**
* @Field(index=Index.YES, analyze=Analyze.YES, store=Store.NO)
*/
optional int32 id = 1;
optional string title = 2;
optional string description = 3;
optional int32 publicationYear = 4;
}
{
"replicated-cache": {
"mode": "SYNC",
"encoding": {
"key": {
"media-type": "application/x-protostream"
},
"value": {
"media-type": "application/x-protostream"
}
},
"transaction": {
"mode": "NONE"
},
"indexing": {
"indexed-entities": [
"Book"
],
"enabled": true
}
}
}
{
"_type": "Book",
"id": 1,
"title": "Book 1",
"description": "Learn Book 1",
"publicationYear": 1
}
{
"_type": "Book",
"id": 2,
"title": "Book 2",
"description": "Learn Book 2",
"publicationYear": 2
}
{
"_type": "Book",
"id": 3,
"title": "Book 3",
"description": "Learn Book 3",
"publicationYear": 3
}
- is blocked by
-
ISPN-13346 Encode query parameter
-
- Closed
-