You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jacob Singh <ja...@gmail.com> on 2009/02/13 15:28:17 UTC

Get # of docs pending commit

Hi,

Is there a way to retrieve the # of documents which are pending commit
(when using autocommit)?

Thanks,
Jacob

-- 

+1 510 277-0891 (o)
+91 9999 33 7458 (m)

web: http://pajamadesign.com

Skype: pajamadesign
Yahoo: jacobsingh
AIM: jacobsingh
gTalk: jacobsingh@gmail.com

Re: Get # of docs pending commit

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
Jacob - note that the results from stats.jsp come back in XML format -  
which could be used programmatically from a client.  Unfortunately the  
JSP pages don't follow the wt (writer type) parameter that standard  
request handlers use, but at least it's structured data and not HTML  
to be scraped.

	Erik

On Feb 13, 2009, at 6:50 AM, Koji Sekiguchi wrote:

> Jacob,
>
> Regardless of you are using autocommit or manul commit,
> look at Admin > statistics > Update Handlers > status > docsPending.
>
> Koji
>
> Jacob Singh wrote:
>> Hi,
>>
>> Is there a way to retrieve the # of documents which are pending  
>> commit
>> (when using autocommit)?
>>
>> Thanks,
>> Jacob
>>
>>


Re: Get # of docs pending commit

Posted by Jacob Singh <ja...@gmail.com>.
*Jacob Singh feels dumb*

Thanks!

On Fri, Feb 13, 2009 at 9:14 PM, Shalin Shekhar Mangar
<sh...@gmail.com> wrote:
> Jacob, the output of stats.jsp is an XML which you can consume in your
> program. It is transformed to html using XSL.
>
> On Fri, Feb 13, 2009 at 9:09 PM, Jacob Singh <ja...@gmail.com> wrote:
>
>> Hi Koji,
>>
>> Thanks, but I'm trying to get it via a web service, not via the admin
>> interface.
>>
>> Best,
>> Jacob
>>
>> On Fri, Feb 13, 2009 at 8:20 PM, Koji Sekiguchi <ko...@r.email.ne.jp>
>> wrote:
>> > Jacob,
>> >
>> > Regardless of you are using autocommit or manul commit,
>> > look at Admin > statistics > Update Handlers > status > docsPending.
>> >
>> > Koji
>> >
>> > Jacob Singh wrote:
>> >>
>> >> Hi,
>> >>
>> >> Is there a way to retrieve the # of documents which are pending commit
>> >> (when using autocommit)?
>> >>
>> >> Thanks,
>> >> Jacob
>> >>
>> >>
>> >
>> >
>>
>>
>>
>> --
>>
>> +1 510 277-0891 (o)
>> +91 9999 33 7458 (m)
>>
>> web: http://pajamadesign.com
>>
>> Skype: pajamadesign
>> Yahoo: jacobsingh
>> AIM: jacobsingh
>> gTalk: jacobsingh@gmail.com
>>
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>



-- 

+1 510 277-0891 (o)
+91 9999 33 7458 (m)

web: http://pajamadesign.com

Skype: pajamadesign
Yahoo: jacobsingh
AIM: jacobsingh
gTalk: jacobsingh@gmail.com

Re: Get # of docs pending commit

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
Jacob, the output of stats.jsp is an XML which you can consume in your
program. It is transformed to html using XSL.

On Fri, Feb 13, 2009 at 9:09 PM, Jacob Singh <ja...@gmail.com> wrote:

> Hi Koji,
>
> Thanks, but I'm trying to get it via a web service, not via the admin
> interface.
>
> Best,
> Jacob
>
> On Fri, Feb 13, 2009 at 8:20 PM, Koji Sekiguchi <ko...@r.email.ne.jp>
> wrote:
> > Jacob,
> >
> > Regardless of you are using autocommit or manul commit,
> > look at Admin > statistics > Update Handlers > status > docsPending.
> >
> > Koji
> >
> > Jacob Singh wrote:
> >>
> >> Hi,
> >>
> >> Is there a way to retrieve the # of documents which are pending commit
> >> (when using autocommit)?
> >>
> >> Thanks,
> >> Jacob
> >>
> >>
> >
> >
>
>
>
> --
>
> +1 510 277-0891 (o)
> +91 9999 33 7458 (m)
>
> web: http://pajamadesign.com
>
> Skype: pajamadesign
> Yahoo: jacobsingh
> AIM: jacobsingh
> gTalk: jacobsingh@gmail.com
>



-- 
Regards,
Shalin Shekhar Mangar.

Re: Get # of docs pending commit

Posted by Jacob Singh <ja...@gmail.com>.
Hi Koji,

Thanks, but I'm trying to get it via a web service, not via the admin interface.

Best,
Jacob

On Fri, Feb 13, 2009 at 8:20 PM, Koji Sekiguchi <ko...@r.email.ne.jp> wrote:
> Jacob,
>
> Regardless of you are using autocommit or manul commit,
> look at Admin > statistics > Update Handlers > status > docsPending.
>
> Koji
>
> Jacob Singh wrote:
>>
>> Hi,
>>
>> Is there a way to retrieve the # of documents which are pending commit
>> (when using autocommit)?
>>
>> Thanks,
>> Jacob
>>
>>
>
>



-- 

+1 510 277-0891 (o)
+91 9999 33 7458 (m)

web: http://pajamadesign.com

Skype: pajamadesign
Yahoo: jacobsingh
AIM: jacobsingh
gTalk: jacobsingh@gmail.com

Re: Get # of docs pending commit

Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
Jacob,

Regardless of you are using autocommit or manul commit,
look at Admin > statistics > Update Handlers > status > docsPending.

Koji

Jacob Singh wrote:
> Hi,
>
> Is there a way to retrieve the # of documents which are pending commit
> (when using autocommit)?
>
> Thanks,
> Jacob
>
>