Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2552

Implement a search function for the domain manager home page

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Java-SCA-1.x
    • SCA Java Runtime
    • 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.

      Attachments

        1. tuscany_2552_phillipe_ramalho_06_04_2009.patch
          77 kB
          Phillipe Ramalho
        2. tuscany_2552_phillipe_ramalho_07_04_2009.patch.txt
          118 kB
          Phillipe Ramalho
        3. tuscany_2552_domain_manager_phillipe_ramalho_08_08_2009.patch
          65 kB
          Phillipe Ramalho
        4. component.png
          0.2 kB
          Phillipe Ramalho
        5. artifact.png
          0.2 kB
          Phillipe Ramalho
        6. composite.png
          0.2 kB
          Phillipe Ramalho
        7. tuscany_2552_domain_search_phillipe_ramalho_08_08_2009.patch
          95 kB
          Phillipe Ramalho
        8. tuscany_2552_phillipe_ramalho_08_16_2009.patch
          217 kB
          Phillipe Ramalho
        9. tuscany_2552_phillipe_ramalho_09_30_2009.patch
          58 kB
          Phillipe Ramalho

        Activity

          People

            adriano_crestani Adriano Crestani
            jsdelfino Jean-Sebastien Delfino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: