Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-723 Add Solr to the stack
  3. BIGTOP-737

Add tests accessing Solr via SolrJ

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • tests
    • None

    Description

      While I'm thinking about testing, the code in BIGTOP-736 uses lower-level HTTP requests. Another viable way to access a Solr server is via the SolrJ Java API. This is actually fairly simple, the tricky bit will be getting the classpath correct. I'll attach a file that demonstrates a simple SolrJ test, which will fail miserably unless we resolve the classpath correctly.

      Attachments

        1. TestIndexingSolrJ.groovy
          3 kB
          Erick Erickson

        Activity

          People

            Unassigned Unassigned
            erickerickson Erick Erickson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: