Search asset content not working on pdf files

Hi,

I can't seem to be able to search asset content. Perhaps my understanding of the feature is incorrect, so if someone can correct me that would be great too.

Steps to replicate:

  1. Become PRO lifetime member
  2. Login to your account
  3. Upload pdf file to a doc
  4. Go to search
  5. Switch to search asset file content
  6. Search for a distinct word in the pdf file

This results in nothing found.

I can confirm that the pdf file is in the data/asset directory.

I am using web on desktop. I self hosted SiYuan in a docker image on a server with nginx reverse proxy.

Thanks for any help.

    Welcome to here!

    Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.

    Signup About
    Please input reply content ...
    • philipsdad 3 Comment
      PRO Author

      But it seems like it can only search in regex mode and not keyword.

      Also does anyone know if there is a way to find the doc with the asset? I can't seem to click on the search result and it doesn't really tell me where it is.

      Keywords are workable. You can try switching the search mode from regex mode to keyword mode in the upper-right corner.
      ACai 1
      For point 2, double-click the block in the search results.
      ACai
      Double clicking doesn't seem to do anything for me. I am using it on the browser. I don't see any console errors either.
      philipsdad
    • MiscReply
    • philipsdad 1 Comment
      PRO Author

      Just to answer this as well. It seems like it can search some of the PDFs. It is likely some of my PDFs aren't parsable.

      For performance considerations, SiYuan seems to have imposed a limit on the size of PDFs that can be searched.
      ACai