ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Full text search plugin not working in Nextcloud

    IT Discussion
    nextcloud nextcloud 17 full text search elasticsearch apps
    2
    5
    716
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by JaredBusch

      I posted over on the Nextcloud community also, but here is the problem.

      I have these apps added to the instance.
      9a6d73aa-87fc-4539-8386-aa87c7cb91fa-image.png

      I have these settings set.
      18a50eb8-1e05-4368-96a2-4c622d8a15d5-image.png
      8ee36fad-a57e-4952-8838-2ab7a1d1d6c5-image.png
      I can access the elasticsearch instance from another computer in a browser
      644ec8f7-e007-4ed0-8b93-49594e33ceab-image.png
      or with curl on the localhost.
      1abbf443-3758-43b5-8b5a-e47a6a9f2f00-image.png

      A search for something that is in an XML file is not found. but the XML file itself is found.
      9f95203c-92ab-4994-8f0e-7d18bcad7a91-image.png

      8a5b5431-5af0-4100-8166-361b7fe2f5b1-image.png

      1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch
        last edited by

        81e06c9d-47da-45cc-b9f6-4866e9df0969-image.png

        7dd44aa9-b541-41ce-abcd-86a190f262a0-image.png

        1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch
          last edited by

          the test works.
          ed017c0b-2ca6-47ec-ad20-b0d5cefa562a-image.png

          1 Reply Last reply Reply Quote 0
          • stacksofplatesS
            stacksofplates
            last edited by stacksofplates

            Not sure how NextCloud implements the search. You can test elastic search with cURL like this:

            curl 192.168.1.100:9200/_search?pretty -H "Content-Type: application/json" -d '{"query":{"query_string":{"query":"Serial number"}}}'

            That should return any hits that contain that text

            1 Reply Last reply Reply Quote 0
            • stacksofplatesS
              stacksofplates
              last edited by

              That will return from the default index. To specify an index add it in the URL:

              curl 192.168.1.100:9200/index/_search?pretty'

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post