2008/6/3 Ryan McKinley <[EMAIL PROTECTED]>:

>
>>
>> This way I don't connect:
>> new CommonsHttpSolrServer("http://localhost:8983/solr/idxItem";)
>>
>>
> this is how you need to connect... otherwise nothing will work.
>

When I try this way, I get the following exception, when trying to make an
update to my index:

org.apache.solr.common.SolrException: Not Found

Not Found

request: http://localhost:8983/solr/idxItem/update?wt=xml&version=2.2
    at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:308)
    at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:152)
    at
org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:220)
    at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:51)
    at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:55)
   ...



>
> Perhaps we should throw an exception if you initialize a URL that contains
> "?"
>
> ryan
>
>


-- 
Alexander Ramos Jardim

Reply via email to