Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-30

Java client code for performing searches against a Solr instance

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: clients - java
    • Labels:
      None

      Description

      Here are a few classes that connect to a Solr instance to perform searches. Results are returned in a Response object. The Response encapsulates a List<Map<String,Field>> that gives you access to the key data in the results. This is the main part that I'm looking for comments on.

      There are 2 dependencies for this code: JDOM and Commons HttpClient. I'll remove the JDOM dependency in favor of regular DOM at some point, but I think that the HttpClient dependency is worthwhile here. There's a lot that can be exploited with HttpClient that isn't demonstrated in this class. The purpose here is mainly to get feedback on the API of SolrSearcher before I start optimizing anything.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              whirlycott Philip Jacob

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment