Re: exclude some fields from copying dynamic fields | schema.xml

2009-11-16 Thread Lance Norskog
Oh well. There is no direct feature for controlling what is copied.

If you use the DataImportHandler, you can include Java plugins or
Javascript/JRuby/Groovy code to do the copying.

On Sun, Nov 15, 2009 at 9:37 PM, Vicky_Dev
 wrote:
>
> Thanks for response
>
> Defining field is not working :(
>
> Is there any way to stop copy task for particular set of values
>
> Thanks
> ~Vikrant
>
>
>
> Lance Norskog-2 wrote:
>>
>> There is no direct way.
>>
>> Let's say you have a "nocopy_s" and you do not want a copy
>> "nocopy_str_s". This might work: declare "nocopy_str_s" as a field and
>> make it not indexed and not stored. I don't know if this will work.
>>
>> It requires two overrides to work: 1) that declaring a field name that
>> matches a wildcard will override the default wildcard rule, and 2)
>> that "stored=false indexed=false" works.
>>
>> On Fri, Nov 13, 2009 at 3:23 AM, Vicky_Dev
>>  wrote:
>>>
>>> Hi,
>>> we are using the following entry in schema.xml to make a copy of one type
>>> of
>>> dynamic field to another :
>>> 
>>>
>>> Is it possible to exclude some fields from copying.
>>>
>>> We are using Solr1.3
>>>
>>> ~Vikrant
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/exclude-some-fields-from-copying-dynamic-fields-%7C-schema.xml-tp26335109p26335109.html
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> Lance Norskog
>> goks...@gmail.com
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/exclude-some-fields-from-copying-dynamic-fields-%7C-schema.xml-tp26335109p26367099.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
Lance Norskog
goks...@gmail.com


Re: exclude some fields from copying dynamic fields | schema.xml

2009-11-15 Thread Vicky_Dev

Thanks for response

Defining field is not working :( 

Is there any way to stop copy task for particular set of values

Thanks
~Vikrant



Lance Norskog-2 wrote:
> 
> There is no direct way.
> 
> Let's say you have a "nocopy_s" and you do not want a copy
> "nocopy_str_s". This might work: declare "nocopy_str_s" as a field and
> make it not indexed and not stored. I don't know if this will work.
> 
> It requires two overrides to work: 1) that declaring a field name that
> matches a wildcard will override the default wildcard rule, and 2)
> that "stored=false indexed=false" works.
> 
> On Fri, Nov 13, 2009 at 3:23 AM, Vicky_Dev
>  wrote:
>>
>> Hi,
>> we are using the following entry in schema.xml to make a copy of one type
>> of
>> dynamic field to another :
>> 
>>
>> Is it possible to exclude some fields from copying.
>>
>> We are using Solr1.3
>>
>> ~Vikrant
>>
>> --
>> View this message in context:
>> http://old.nabble.com/exclude-some-fields-from-copying-dynamic-fields-%7C-schema.xml-tp26335109p26335109.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Lance Norskog
> goks...@gmail.com
> 
> 

-- 
View this message in context: 
http://old.nabble.com/exclude-some-fields-from-copying-dynamic-fields-%7C-schema.xml-tp26335109p26367099.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: exclude some fields from copying dynamic fields | schema.xml

2009-11-13 Thread Lance Norskog
There is no direct way.

Let's say you have a "nocopy_s" and you do not want a copy
"nocopy_str_s". This might work: declare "nocopy_str_s" as a field and
make it not indexed and not stored. I don't know if this will work.

It requires two overrides to work: 1) that declaring a field name that
matches a wildcard will override the default wildcard rule, and 2)
that "stored=false indexed=false" works.

On Fri, Nov 13, 2009 at 3:23 AM, Vicky_Dev
 wrote:
>
> Hi,
> we are using the following entry in schema.xml to make a copy of one type of
> dynamic field to another :
> 
>
> Is it possible to exclude some fields from copying.
>
> We are using Solr1.3
>
> ~Vikrant
>
> --
> View this message in context: 
> http://old.nabble.com/exclude-some-fields-from-copying-dynamic-fields-%7C-schema.xml-tp26335109p26335109.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
Lance Norskog
goks...@gmail.com


exclude some fields from copying dynamic fields | schema.xml

2009-11-13 Thread Vicky_Dev

Hi, 
we are using the following entry in schema.xml to make a copy of one type of
dynamic field to another : 
 

Is it possible to exclude some fields from copying.

We are using Solr1.3

~Vikrant

-- 
View this message in context: 
http://old.nabble.com/exclude-some-fields-from-copying-dynamic-fields-%7C-schema.xml-tp26335109p26335109.html
Sent from the Solr - User mailing list archive at Nabble.com.