Re: Set Full-Import Clean=False

2011-05-16 Thread Gora Mohanty
On Mon, May 16, 2011 at 5:29 PM, Jasneet Sabharwal
jasneet.sabhar...@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-importclean=false

Regards,
Gora


Re: Set Full-Import Clean=False

2011-05-16 Thread Jasneet Sabharwal
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
jasneet.sabhar...@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-importclean=false

Regards,
Gora



--
Regards

Jasneet Sabharwal
Software Developer
NextGen Invent Corporation
+91-9871228582



Re: Set Full-Import Clean=False

2011-05-16 Thread Stefan Matheis
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
jasneet.sabhar...@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
 jasneet.sabhar...@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-importclean=false

 Regards,
 Gora


 --
 Regards

 Jasneet Sabharwal
 Software Developer
 NextGen Invent Corporation
 +91-9871228582




Re: Set Full-Import Clean=False

2011-05-16 Thread Jasneet Sabharwal

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
jasneet.sabhar...@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
jasneet.sabhar...@ngicorporation.comwrote:

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-importclean=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

2011-05-16 Thread Stefan Matheis
Jasneet

On Mon, May 16, 2011 at 3:10 PM, Jasneet Sabharwal
jasneet.sabhar...@ngicorporation.com wrote:
 I have added the DIH request handler in the solrconfig.xml.

Exactly there :)

Regards
Stefan


Re: Set Full-Import Clean=False

2011-05-16 Thread Jasneet Sabharwal

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=cleanfalse/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
jasneet.sabhar...@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

2011-05-16 Thread Stefan Matheis
On Mon, May 16, 2011 at 3:27 PM, Jasneet Sabharwal
jasneet.sabhar...@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?