You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Will Johnson (JIRA)" <ji...@apache.org> on 2007/05/01 18:19:16 UTC

[jira] Commented: (SOLR-20) A simple Java client for updating and searching

    [ https://issues.apache.org/jira/browse/SOLR-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492902 ] 

Will Johnson commented on SOLR-20:
----------------------------------

the new api's work great, thanks!  what's the plan for this going forward?  id' like to start doing some work on this as it's rather critical to my current project and an are i've dealt with a lot in the past.  assuming it's not getting dumped into org.apache.* land any time soon are you accepting patches to this code?  if so i have some modifications to the api's that i think will make them easier to use (such as a method to set FacetParams on SolrQuery) and i'll even flush out the SolrServerTest for fun.  

also, i noticed that all the methods on SolrServer throw undeclared SolrExceptions which extends RuntimeException when things so south.  should those throw some other sort of non-ignorable exception like a new SolrServerException?  while it made coding/compiling easier to leave out all the usually required try's and catches it made running/debugging much less enjoyable.

- will

> A simple Java client for updating and searching
> -----------------------------------------------
>
>                 Key: SOLR-20
>                 URL: https://issues.apache.org/jira/browse/SOLR-20
>             Project: Solr
>          Issue Type: New Feature
>          Components: clients - java
>         Environment: all
>            Reporter: Darren Erik Vengroff
>            Priority: Minor
>         Attachments: DocumentManagerClient.java, DocumentManagerClient.java, solr-client-java-2.zip.zip, solr-client-java.zip, solr-client-sources.jar, solr-client.zip, solr-client.zip, solr-client.zip, solrclient_addqueryfacet.zip, SolrClientException.java, SolrServerException.java
>
>
> I wrote a simple little client class that can connect to a Solr server and issue add, delete, commit and optimize commands using Java methods.  I'm posting here for review and comments as suggested by Yonik.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.