Search API - problem with dash
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 09:20 AM
Hi,
I use search API (alfresco/api/-default-/public/search/versions/1/search)
I want to search *MF-42/2020/70-2* in the field MF-AISGokumentCisloJednaciEvidencni. If I use the query below, I get nodes with MF-42/2020/70-1, MF-42/2020/70-2, MF-42/2020/70-3.
Why? How to search only MF-42/2020/70-2?
Thank you.
Martin
QUERY:
{
"query": {
"query": "(MF\\-AISGokumentCisloJednaciEvidencni:\"*MF-42/2020/70-2*\")"
},
"include": [
"properties"
],
"scope": {
"locations": [
"nodes"
]
}
}
Labels:
- Labels:
-
Alfresco Content Services
0 REPLIES 0
