Page 1 of 1

Cannot search by file's content in a specific path

PostPosted:Tue Oct 10, 2023 7:31 am
by ikun1289
Im using openkm ver 6.3.12, and i want to find files in a specific folder by its content using api /search/find.
But when i pass folder path to api call the result is always empty, i tried in 6.3.11 and it works fine but 6.3.11 dont have dashboard api so i have to use 6.3.12

Re: Cannot search by file's content in a specific path

PostPosted:Tue Oct 17, 2023 3:15 pm
by jllort
I do not suggest using this kind of query when you have a lot of paths into the base you are using for searching. I think you are missing a parameter, are you sure that you have set the parameter named path in the request?

I suggest checking your query in the UI and if it works should work in the API.

Re: Cannot search by file's content in a specific path

PostPosted:Tue Oct 24, 2023 3:44 am
by ikun1289
Im sure that i have set the parameter named 'path' in the request, i call api /search/find from swagger and tried passing folder's path and folder's uuid to the paramter named path in request but the result is always empty in version 6.3.12.
version 6.3.11 work fine tho

Re: Cannot search by file's content in a specific path

PostPosted:Wed Nov 01, 2023 4:55 am
by ikun1289
Ill close this thread, after check again i realize the problem is not because i cant search content in a specific folderPath
It's because a lot of file i uploaded i cannot search content of those file even after a long time after uploaded, while some i can, ill open another thread for this question