Re: program termination in solrj

2013-12-21 Thread sweety
okay, i did a mistake, i did not refresh the stats,so the stats after running java program: commits:1 autocommits:0 soft autocommits:0 optimizes:0 rollbacks:0 expungeDeletes:0 docsPending:0 adds:0 deletesById:0 deletesByQuery:0 errors:0 cumulative_adds:1 cumulative_deletesById:0 cumulative_deletes

Re: program termination in solrj

2013-12-21 Thread sweety
also my default search handler has no dismax. explicit 20 * contents 2.1 -- View this message in context: http://lucene.472066.n3.nabble.com/program-termination-in-solrj-tp4107706p4107753.html Sent from the Solr - User mailing li

Re: program termination in solrj

2013-12-21 Thread sweety
Before and after running client,stats remain same only, class:org.apache.solr.update.DirectUpdateHandler2 version:1.0 description:Update handler that efficiently directly updates the on-disk main lucene index src:$URL: https:/​/​svn.apache.org/​repos/​asf/​lucene/​dev/​branches/​branch_4x/​solr/​c

Re: program termination in solrj

2013-12-21 Thread Andrea Gazzarini
No you don't need to do that. Nutan, Andrea told me that is going to raise the white flag :D Another question: Is possible that your default search handler uses dismax / edismax and therefore the query id:23 is not "valid" and returns 0 docs? Another question: could you try to - get and post th

Re: program termination in solrj

2013-12-21 Thread Nutan
do i need to create a new schema.xml ? -- View this message in context: http://lucene.472066.n3.nabble.com/program-termination-in-solrj-tp4107706p4107734.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: program termination in solrj

2013-12-21 Thread Nutan
thru curl, pdf indexing, curl "http://localhost:8080/solr/document/update/extract?literal.id=12&commit=true"; -F"myfile=@C:\solr\document\src\test1\Coding.pdf" -- View this message in context: http://lucene.472066.n3.nabble.com/program-termination-in-solrj-tp4107706p4107730.html Sent from the

Re: program termination in solrj

2013-12-21 Thread Andrea Gazzarini
How did you get those 14 docs indexed? Could you please post the default search handler config? On 21 Dec 2013 15:53, "Nutan" wrote: > i check as with query: q=id:23, > response is : numfound=0, > > Statictics is: > > Last Modified:16 minutes ago > Num Docs:14 > Max Doc:16 > Deleted Docs:2 > Ver

Re: program termination in solrj

2013-12-21 Thread Nutan
i check as with query: q=id:23, response is : numfound=0, Statictics is: Last Modified:16 minutes ago Num Docs:14 Max Doc:16 Deleted Docs:2 Version:495 Segment Count:5 Also for q=*:* , numfound=14 -- View this message in context: http://lucene.472066.n3.nabble.com/program-termination-in-sol

Re: program termination in solrj

2013-12-21 Thread Andrea Gazzarini
Source not found is not a problem and most important thing has nothing to do with solr Where did you see there are no doc in solr? Did you run a query? If so, - what query? - What was the response? - What is the config of the corresponding search handler? - Could you please verify that info in th

Re: program termination in solrj

2013-12-21 Thread Nutan
So is it only because of the sources not found, that the docs dont get indexed??? -- View this message in context: http://lucene.472066.n3.nabble.com/program-termination-in-solrj-tp4107706p4107719.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: program termination in solrj

2013-12-21 Thread Andrea Gazzarini
But those are not errors...the first is red because is write on eclipse stderr...but you can see the INFO level The second is Eclipse debugger that tells you about sources not found...but is not an error...just click on the button, locate sources (if you have) and you will able to debug tjose clas

Re: program termination in solrj

2013-12-21 Thread Nutan
I dont see docs in the solr. -- View this message in context: http://lucene.472066.n3.nabble.com/program-termination-in-solrj-tp4107706p4107717.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: program termination in solrj

2013-12-21 Thread Nutan
When i run the console output is this : Which shows that program got terminated. And from logs i am not able to find the solution. When debugged, at many places it shows that:

Re: program termination in solrj

2013-12-21 Thread Andrea Gazzarini
Hi Nutan, Is not really clear (at least to me) what your problem is. After you client program ends, are you seeing the doc in SOLR? because the piece of code you pasted I assume is (directly or indirectly) called from a main method...and therefore that program *normally* terminates once did its wor

Re: program termination in solrj

2013-12-21 Thread Nutan
I put the breakpoint at line : SolrInputDocument doc1 = new SolrInputDocument(); It initially showed source not found for Launcher.class,HTTPSolrServer.class. But now even for URLClassPath.class ,the path to this class is the src.jar in the jdk directory. -- View this message in context: http:

Re: program termination in solrj

2013-12-21 Thread Furkan KAMACI
Hi; What do you mean with: abnormal termination? Could you explain your situation a bit more? On the other hand do not look at the end of your log file, check the previous lines or open the Solr admin panel and look whether a warning or error exists. Thanks; Furkan KAMACI 21 Aralık 2013 Cumartes

Re: program termination in solrj

2013-12-21 Thread Andrea Gazzarini
Where's the error? On 21 Dec 2013 14:31, "Nutan" wrote: > @Manish: i did add() but still the same error. > > *Logs* shows this: > > INFO: [document] webapp=/solr path=/update params={wt=javabin&version=2} > {add=[23 (1455037990928646144)]} 0 5 > Dec 21, 2013 6:56:01 PM org.apache.solr.update.Dire

Re: program termination in solrj

2013-12-21 Thread Nutan
@Manish: i did add() but still the same error. *Logs* shows this: INFO: [document] webapp=/solr path=/update params={wt=javabin&version=2} {add=[23 (1455037990928646144)]} 0 5 Dec 21, 2013 6:56:01 PM org.apache.solr.update.DirectUpdateHandler2 commit INFO: start commit{,optimize=false,openSearche

Re: program termination in solrj

2013-12-21 Thread Manish Kumar
I think you are missing a call to *add * (Collection http://lucene.apache.org/solr/4_1_0/so