Tuscany
  1. Tuscany
  2. TUSCANY-2552

Implement a search function for the domain manager home page

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Java-SCA-1.x
    • Component/s: SCA Java Runtime
    • Labels:
      None

      Description

      I'd like to have the ability to search artifacts in an SCA domain. The current domain manager app home page shows a search field + button but that's currently not implemented yet.

      I suggest the following, which should be easy to implement:

      • use Apache Solr to index all text artifacts in contributions
      • implement the search function in a new optional module (to not overload the domain manager, which should remain easily embeddable)
      • start with a simple text indexing scheme (don't need to develop a structured Solr schema in a first stage, until we better understand the actual usage patterns)
      • when a contribution (JAR or folder) is added to a domain, index the artifacts in it
      • when a contribution is requested from the domain manager and we get the opportunity to detect that it contribution has changed (that happens when a node starts and requests artifacts from the domain manager for example), add the new content to the index
      • every 5/10 mns, list the contributions in the domain, check if they have changed, and add the new content to the index
      • initially no need to handle deletes, as it may actually be a good thing to keep all the history indexed, just keep a copy of the indexed content in the index itself or some form or archive.
      1. tuscany_2552_phillipe_ramalho_09_30_2009.patch
        58 kB
        Phillipe Ramalho
      2. tuscany_2552_phillipe_ramalho_08_16_2009.patch
        217 kB
        Phillipe Ramalho
      3. tuscany_2552_phillipe_ramalho_07_04_2009.patch.txt
        118 kB
        Phillipe Ramalho
      4. tuscany_2552_phillipe_ramalho_06_04_2009.patch
        77 kB
        Phillipe Ramalho
      5. tuscany_2552_domain_search_phillipe_ramalho_08_08_2009.patch
        95 kB
        Phillipe Ramalho
      6. tuscany_2552_domain_manager_phillipe_ramalho_08_08_2009.patch
        65 kB
        Phillipe Ramalho
      7. composite.png
        0.2 kB
        Phillipe Ramalho
      8. component.png
        0.2 kB
        Phillipe Ramalho
      9. artifact.png
        0.2 kB
        Phillipe Ramalho

        Activity

        Hide
        Phillipe Ramalho added a comment -

        first patch containing the new domain search component which will be used by the domain manager

        Show
        Phillipe Ramalho added a comment - first patch containing the new domain search component which will be used by the domain manager
        Hide
        Adriano Crestani added a comment -

        Hi Phillipe,

        Thanks for the patch, I will work on it right now.

        Regards,
        Adriano Crestani Campos

        Show
        Adriano Crestani added a comment - Hi Phillipe, Thanks for the patch, I will work on it right now. Regards, Adriano Crestani Campos
        Hide
        Adriano Crestani added a comment -

        patch tuscany_2552_phillipe_ramalho_06_04_2009.patch applied on r782215
        I also added the new domain-search module to pom.xml modules, you probably forgot to add this file to the patch ; )

        Good work, keep like this ; )

        Show
        Adriano Crestani added a comment - patch tuscany_2552_phillipe_ramalho_06_04_2009.patch applied on r782215 I also added the new domain-search module to pom.xml modules, you probably forgot to add this file to the patch ; ) Good work, keep like this ; )
        Hide
        Phillipe Ramalho added a comment -

        Second patch, search functionality implemented. How the results are displayed on the domain manager webpage is still a working in progress.

        Show
        Phillipe Ramalho added a comment - Second patch, search functionality implemented. How the results are displayed on the domain manager webpage is still a working in progress.
        Hide
        Adriano Crestani added a comment -

        Patch applied on revision 791203, thanks ; )

        Show
        Adriano Crestani added a comment - Patch applied on revision 791203, thanks ; )
        Hide
        Phillipe Ramalho added a comment -

        patch containing last month's progress

        the patch applies again domain-manager and domain-search modules

        the .png files should be place at domain-manager/src/main/resources/icons

        Show
        Phillipe Ramalho added a comment - patch containing last month's progress the patch applies again domain-manager and domain-search modules the .png files should be place at domain-manager/src/main/resources/icons
        Hide
        Phillipe Ramalho added a comment -

        I forgot to submit the patch for domain search, so here it is

        Show
        Phillipe Ramalho added a comment - I forgot to submit the patch for domain search, so here it is
        Hide
        Phillipe Ramalho added a comment -

        -added search to toolbar, now there is no search specific page, the user can search from anywhere and he is redirected to the search results page

        • the option to load the entire highlighted file is now working, but I'm still having problem with passing large data over the data binding, the data is broken, still need more investigation on that
        • now it's index any changes on the domain that is performed through the domain-manager web app
        Show
        Phillipe Ramalho added a comment - -added search to toolbar, now there is no search specific page, the user can search from anywhere and he is redirected to the search results page the option to load the entire highlighted file is now working, but I'm still having problem with passing large data over the data binding, the data is broken, still need more investigation on that now it's index any changes on the domain that is performed through the domain-manager web app
        Hide
        Phillipe Ramalho added a comment -

        -fixed a bug on document processing
        -improved documentation
        -removing unused classes
        -refactoring exceptions being thrown

        Show
        Phillipe Ramalho added a comment - -fixed a bug on document processing -improved documentation -removing unused classes -refactoring exceptions being thrown

          People

          • Assignee:
            Adriano Crestani
            Reporter:
            Jean-Sebastien Delfino
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development