I have included the reference for this library in good way but still giving
me the same error.
feeling
--
View this message in context:
http://lucene.472066.n3.nabble.com/can-t-make-GET-request-to-solr-in-android-app-tp4134584p4134785.html
Sent from the Solr - User mailing list archive at Nab
On 5/5/2014 12:17 PM, blach wrote:
> Thank you Shawn
>
> I did what you told me. now this is my code:
> it gives me error that org.apache.solr.client.solrj is not found
I don't know how to do classpath management in the Android enviroment.
You'll need to add the solrj jar to your applica
Thank you Shawn
I did what you told me. now this is my code:
import org.apache.solr.client.solrj.SolrQuery;
import org.apache.solr.client.solrj.SolrServer;
//import org.apache.solr.client.solrj.SolrServer;
import org.apache.solr.client.solrj.SolrServerException;
import org.apache.solr.client.s
On 5/5/2014 11:05 AM, blach wrote:
> I wrote this code for it, but its the same problem, in this case all
> the app is stopping, this is the code String urlString =
> "http://localhost:8983/solr";; SolrServer solr = new
> HttpSolrServer(urlString);
>
> SolrQuery query = new SolrQuery(); query.set("
Yes Im reading about SOLRJ now
I wrote this code for it, but its the same problem, in this case all the app
is stopping, this is the code
String urlString =
"http://localhost:8983/solr";;
SolrServer solr = new HttpSolrServer(urlString);
On 5/5/2014 9:02 AM, blach wrote:
> It's not an error if you see my code, there is a catch statement, which
> contains the "FAIL" message, it does always show it.
In your code, you are not printing the stack trace or throwing the
exception. If you want to see it in your own code, you'll need to
i
Hi,
It's not an error if you see my code, there is a catch statement, which
contains the "FAIL" message, it does always show it.
--
View this message in context:
http://lucene.472066.n3.nabble.com/can-t-make-GET-request-to-solr-in-android-app-tp4134584p4134709.html
Sent from the Solr - User
thanks,
basically I'm running solr on my localhost(computer) and trying to access it
through the emulator in eclipse, NOT in the physical phone.
Can it be done?
--
View this message in context:
http://lucene.472066.n3.nabble.com/can-t-make-GET-request-to-solr-in-android-app-tp4134584p4134706.
On 5/4/2014 6:22 PM, blach wrote:
> I'm trying to make a small search engine based on android. when I'm calling
> solr by this
> "http://localhost:8983/solr/collection1/select?q="+loginValue+"&wt=json&indent=true";;
> (loginValue is the keywork im looking for)
Without seeing the error you're gett
Step back a bit here.
Did you manage to get Solr itself running on Android? I thought that
supposed to be not feasible!
You code seems to imply that you have, because you are connecting to localhost.
Alternatively - and more reasonably - if you have Solr running on the
server in the cloud, you n
10 matches
Mail list logo