Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.13
    • Fix Version/s: 0.19
    • Labels:
      None

      Description

      We need to transfer the mechanism of re-indexing in Poulpe.

      JCommune's search indexes work well if data has been added via Hibernate. In case we're applying a database dump or something like that we need our index to be rebuild manualy. So JC should contain a kind of external interface for the Poulpe to force reindexing. Rest web service should be fine.

        Attachments

          Issue Links

            Activity

            Hide
            ctapobep Stanislav Bashkyrtsev added a comment -

            Anuar, anything new you got from docs? Which docs you were reading? Any ideas what implementation we want to use?

            Show
            ctapobep Stanislav Bashkyrtsev added a comment - Anuar, anything new you got from docs? Which docs you were reading? Any ideas what implementation we want to use?
            Hide
            jk1 Evgeniy Naumenko added a comment -

            We will use ye olde spring mvc controller to handle REST request. It will be secured by ip to ensure it can be invoked only thru loopback.
            You may use any HTTP client to make a call. Signature is to be published here later.

            Show
            jk1 Evgeniy Naumenko added a comment - We will use ye olde spring mvc controller to handle REST request. It will be secured by ip to ensure it can be invoked only thru loopback. You may use any HTTP client to make a call. Signature is to be published here later.
            Hide
            shogun Anuar Nurmakanov added a comment -

            >>>>>>Which docs you were reading?
            Spring REST web services and Spring Security for Spring REST web services.
            >>>>>> Any ideas what implementation we want to use?
            Yes, jk1 has written about it.
            And we have implemented method in our controller for full-search, so we need to add restriction by ip address. I'll try to add restriction today.

            Show
            shogun Anuar Nurmakanov added a comment - >>>>>>Which docs you were reading? Spring REST web services and Spring Security for Spring REST web services. >>>>>> Any ideas what implementation we want to use? Yes, jk1 has written about it. And we have implemented method in our controller for full-search, so we need to add restriction by ip address. I'll try to add restriction today.
            Hide
            shogun Anuar Nurmakanov added a comment -

            The re-indexing can be called from the same host, where JCommune was installed.
            Example of the re-indexing url -http://deploy.jtalks.org/jcommune/search/index/rebuild

            Show
            shogun Anuar Nurmakanov added a comment - The re-indexing can be called from the same host, where JCommune was installed. Example of the re-indexing url - http://deploy.jtalks.org/jcommune/search/index/rebuild
            Hide
            ctapobep Stanislav Bashkyrtsev added a comment -

            Thanks, a story was created in Poulpe and linked to this issue.

            Show
            ctapobep Stanislav Bashkyrtsev added a comment - Thanks, a story was created in Poulpe and linked to this issue.
            Hide
            jk1 Evgeniy Naumenko added a comment -

            Please verify it reindex url can be invoked from localhost only

            Show
            jk1 Evgeniy Naumenko added a comment - Please verify it reindex url can be invoked from localhost only
            Hide
            julik Julia Atlygina added a comment -

            Fixed in 0.20, build#149

            Show
            julik Julia Atlygina added a comment - Fixed in 0.20, build#149

              People

              • Assignee:
                julik Julia Atlygina
                Reporter:
                shogun Anuar Nurmakanov
              • Votes:
                0 Vote for this issue
                Watchers:
                Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0h
                  0h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 55m
                  1h 55m

                    Structure Helper Panel