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 Jasneet Sabharwal <ja...@ngicorporation.com> on 2011/05/16 13:59:23 UTC
Set Full-Import Clean=False
Hi
Where do I set the default value of clean = false when a full-import is
done.
I did not find any such value in solrconfig.xml. I am using Solr 3.1
--
Regards
Jasneet Sabharwal
Re: Set Full-Import Clean=False
Posted by Stefan Matheis <ma...@googlemail.com>.
On Mon, May 16, 2011 at 3:27 PM, Jasneet Sabharwal
<ja...@ngicorporation.com> wrote:
> Should it be like this ?
Never tried it myself, but what i guess from the Wiki ... Yes. doesn't
work for you, or just asked to be sure, before integrating it?
Re: Set Full-Import Clean=False
Posted by Jasneet Sabharwal <ja...@ngicorporation.com>.
Stefan
<requestHandler name="/dataimport"
class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">
<str
name="config">/home/jasneet/apache-solr-3.1.0/example/solr/conf/data-config.xml</str>
<str name="clean">false</str>
</lst>
</requestHandler>
Should it be like this ?
On 16-05-2011 18:48, Stefan Matheis wrote:
> Jasneet
>
> On Mon, May 16, 2011 at 3:10 PM, Jasneet Sabharwal
> <ja...@ngicorporation.com> wrote:
>> I have added the DIH request handler in the solrconfig.xml.
> Exactly there :)
>
> Regards
> Stefan
--
Regards
Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582
Re: Set Full-Import Clean=False
Posted by Stefan Matheis <ma...@googlemail.com>.
Jasneet
On Mon, May 16, 2011 at 3:10 PM, Jasneet Sabharwal
<ja...@ngicorporation.com> wrote:
> I have added the DIH request handler in the solrconfig.xml.
Exactly there :)
Regards
Stefan
Re: Set Full-Import Clean=False
Posted by Jasneet Sabharwal <ja...@ngicorporation.com>.
Stefan,
I have added the DIH request handler in the solrconfig.xml. Do I have to
add the clean=false in that or somewhere else ?
Regards
Jasneet
On 16-05-2011 18:03, Stefan Matheis wrote:
> Jasneet,
>
> what about defining the value as a default in the dataimport
> request-handler? like the sample at
> http://wiki.apache.org/solr/SolrRequestHandler does?
>
> Regards
> Stefan
>
> On Mon, May 16, 2011 at 2:10 PM, Jasneet Sabharwal
> <ja...@ngicorporation.com> wrote:
>> I have been doing that, but I want to set it as False by default, so that
>> even if the admin forgets to set clean=false in the URL, it doesn't do it on
>> its own.
>> On 16-05-2011 17:38, Gora Mohanty wrote:
>>> On Mon, May 16, 2011 at 5:29 PM, Jasneet Sabharwal
>>> <ja...@ngicorporation.com> wrote:
>>>> Hi
>>>>
>>>> Where do I set the default value of clean = false when a full-import is
>>>> done.
>>> Append it to the URL, e.g., dataimport?command=full-import&clean=false
>>>
>>> Regards,
>>> Gora
>>
>> --
>> Regards
>>
>> Jasneet Sabharwal
>> Software Developer
>> NextGen Invent Corporation
>> +91-9871228582
>>
>>
--
Regards
Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582
Re: Set Full-Import Clean=False
Posted by Stefan Matheis <ma...@googlemail.com>.
Jasneet,
what about defining the value as a default in the dataimport
request-handler? like the sample at
http://wiki.apache.org/solr/SolrRequestHandler does?
Regards
Stefan
On Mon, May 16, 2011 at 2:10 PM, Jasneet Sabharwal
<ja...@ngicorporation.com> wrote:
> I have been doing that, but I want to set it as False by default, so that
> even if the admin forgets to set clean=false in the URL, it doesn't do it on
> its own.
> On 16-05-2011 17:38, Gora Mohanty wrote:
>>
>> On Mon, May 16, 2011 at 5:29 PM, Jasneet Sabharwal
>> <ja...@ngicorporation.com> wrote:
>>>
>>> Hi
>>>
>>> Where do I set the default value of clean = false when a full-import is
>>> done.
>>
>> Append it to the URL, e.g., dataimport?command=full-import&clean=false
>>
>> Regards,
>> Gora
>
>
> --
> Regards
>
> Jasneet Sabharwal
> Software Developer
> NextGen Invent Corporation
> +91-9871228582
>
>
Re: Set Full-Import Clean=False
Posted by Jasneet Sabharwal <ja...@ngicorporation.com>.
I have been doing that, but I want to set it as False by default, so
that even if the admin forgets to set clean=false in the URL, it doesn't
do it on its own.
On 16-05-2011 17:38, Gora Mohanty wrote:
> On Mon, May 16, 2011 at 5:29 PM, Jasneet Sabharwal
> <ja...@ngicorporation.com> wrote:
>> Hi
>>
>> Where do I set the default value of clean = false when a full-import is
>> done.
> Append it to the URL, e.g., dataimport?command=full-import&clean=false
>
> Regards,
> Gora
--
Regards
Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582
Re: Set Full-Import Clean=False
Posted by Gora Mohanty <go...@mimirtech.com>.
On Mon, May 16, 2011 at 5:29 PM, Jasneet Sabharwal
<ja...@ngicorporation.com> wrote:
> Hi
>
> Where do I set the default value of clean = false when a full-import is
> done.
Append it to the URL, e.g., dataimport?command=full-import&clean=false
Regards,
Gora