Re: getting direct link to solr result.

2014-05-16 Thread blach
Yes Thank you, I got to solve by adding literal when indexing. now I'm trying to implement it into my android application, I used Solrj, but I found out that Solrj is just for java application and it's not working with Android. can you suggest me a way how to index a folder from my android

Re: Solrj problem

2014-05-15 Thread blach
Hello Shawn, according to this : https://issues.apache.org/jira/browse/SOLR-5590 I understand that solrj is still depends on the old httpclient shipped with android tools, and this is my problem too. KARL has made an patch, could you please explain what that patch for, how can I use it in to

Re: Solrj problem

2014-05-15 Thread blach
I have added the dependency dependency groupIdorg.apache.httpcomponents/groupId artifactIdhttpclient/artifactId version[4.3.1]/version /dependency dependency but still giving me the same error. -- View this message in context:

getting direct link to solr result.

2014-05-13 Thread blach
Hello all! I have been using solr for a few days, but I still don't understand, how can I get direct link to open the document i'm looking for. I tried to do that, but the only information I can retrieve from the Json result from Solr is ID, Name, Modified date ... well, I'm working on android

Re: Solrj problem

2014-05-12 Thread blach
any solution please :) -- View this message in context: http://lucene.472066.n3.nabble.com/Solrj-problem-tp4135030p4135046.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solrj problem

2014-05-10 Thread blach
SOLVED, I didn't use SOLRJ, just normal Httpclient methodes + asynktask HttpClient client = new DefaultHttpClient(); URI uri = new URI(params[0]); HttpGet Gett = new HttpGet(uri);

Solrj problem

2014-05-06 Thread blach
Hello, I'm struggling to retreive some data from my localhost Solr from an Android Application. but i'm still having the same error. /05-06 18:22:09.036: E/AndroidRuntime(1628): java.lang.NoSuchMethodError: org.apache.http.conn.scheme.Scheme.init 05-06 18:22:09.036: E/AndroidRuntime(1628): at

Re: Solrj problem

2014-05-06 Thread blach
Hello and thank shawn, How can I make sure that my jar is in the classpath at runtime? -- View this message in context: http://lucene.472066.n3.nabble.com/Solrj-problem-tp4135030p4135038.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: can't make GET request to solr in android app

2014-05-05 Thread blach
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:

Re: can't make GET request to solr in android app

2014-05-05 Thread blach
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

Re: can't make GET request to solr in android app

2014-05-05 Thread blach
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);

Re: can't make GET request to solr in android app

2014-05-05 Thread blach
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

Re: can't make GET request to solr in android app

2014-05-05 Thread blach
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

can't make GET request to solr in android app

2014-05-04 Thread blach
Hello all. 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=jsonindent=true;; (loginValue is the keywork im looking for) Its always giving me a fail message this is the code: try{

organize folder inside Solr

2014-03-08 Thread blach
Hello, I'm beginner in Apache Solr, My task is to organize folders inside the Solr I've read a bit about collections, cores, and all that, what I don't understand is why every document inside the collection is in XML or Json? how can I put my folder inside Solr, should I create another

Re: organize folder inside Solr

2014-03-08 Thread blach
Well, for now, I just want to put some data (binary, PDF, JPEG, ... any) inside solr, should I put them by hand (copy/past) inside \solr-4.7.0\example\solr\collection1, or there another way to do it. thanks. Med. -- View this message in context:

Re: organize folder inside Solr

2014-03-08 Thread blach
Thanks, I followed it carefully, the example in the tutorial is indexing only Xml files, and that is my problem, I want my search engine to look for other formats like pictures, music, PDF, and so on. and I'm working just on Collection1 , Med. -- View this message in context: