cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a "like" search with search API in Alfresco?

emirozmen
Champ on-the-rise
Champ on-the-rise

Hi guys,

To make a like search, I was using the syntax below, i was trying to get the values where it starts with "bd22_declaration of e wit"

 

{
  "query": {
    "query": "project:filename:'bd22_declaration of e wit*'"
  }
}

 

But it returns the results below. In these result, I want to only grab the first result where all the sentence matches. Is there a way to achieve this? Order of the words should be same, exactly like a SQL LIKE search

 

bd22_declaration of e witho.pdf
br21_declaration of e withi.pdf
bd21_declaration of e withe.pdf
wr21_declaration of e withu.pdf

 

 

 

 

 Thanks!

0 REPLIES 0