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 Jay Hill <ja...@gmail.com> on 2009/07/15 21:07:10 UTC

DIH: On import (full or delta) commit=false seems to not take effect

I am trying to run full and delta imports with the commit=false option, but
it doesn't seem to take effect - after the import a commit always happens no
matter what params I send. I've looked at the source and unless I'm missing
something it doesn't seem to process the commit param.

Here's the url I'm using:
curl '
http://localhost:8080/solr/indexer/books?command=full-import&commit=false'

But as soon as the import finishes a commit occurs. I want to set things up
to let autoCommit control all commits as I have a series of DIH-configs
importing data at different times.

I will file an issue in JIRA, but I wanted to check the list first to see if
this has come up for others.

-Jay

Re: DIH: On import (full or delta) commit=false seems to not take effect

Posted by Jay Hill <ja...@gmail.com>.
Actually, "my good" after all. The parameter does not take effect. If
commit=false is passed in a commit still happens.

Will open and JIRA and supply a patch shortly.

-Jay


On Wed, Jul 15, 2009 at 5:50 PM, Jay Hill <ja...@gmail.com> wrote:

> My bad, I had a configuration setting overriding this value. Sorry for the
> mistake.
>
> -Jay
>
>
> On Wed, Jul 15, 2009 at 12:07 PM, Jay Hill <ja...@gmail.com> wrote:
>
>> I am trying to run full and delta imports with the commit=false option,
>> but it doesn't seem to take effect - after the import a commit always
>> happens no matter what params I send. I've looked at the source and unless
>> I'm missing something it doesn't seem to process the commit param.
>>
>> Here's the url I'm using:
>> curl '
>> http://localhost:8080/solr/indexer/books?command=full-import&commit=false
>> '
>>
>> But as soon as the import finishes a commit occurs. I want to set things
>> up to let autoCommit control all commits as I have a series of DIH-configs
>> importing data at different times.
>>
>> I will file an issue in JIRA, but I wanted to check the list first to see
>> if this has come up for others.
>>
>> -Jay
>>
>
>

Re: DIH: On import (full or delta) commit=false seems to not take effect

Posted by Jay Hill <ja...@gmail.com>.
My bad, I had a configuration setting overriding this value. Sorry for the
mistake.

-Jay

On Wed, Jul 15, 2009 at 12:07 PM, Jay Hill <ja...@gmail.com> wrote:

> I am trying to run full and delta imports with the commit=false option, but
> it doesn't seem to take effect - after the import a commit always happens no
> matter what params I send. I've looked at the source and unless I'm missing
> something it doesn't seem to process the commit param.
>
> Here's the url I'm using:
> curl '
> http://localhost:8080/solr/indexer/books?command=full-import&commit=false'
>
> But as soon as the import finishes a commit occurs. I want to set things up
> to let autoCommit control all commits as I have a series of DIH-configs
> importing data at different times.
>
> I will file an issue in JIRA, but I wanted to check the list first to see
> if this has come up for others.
>
> -Jay
>