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 raulgrande83 <ra...@hotmail.com> on 2013/04/26 12:24:38 UTC

Atomic Update and stored copy-fields

Hello everybody,

We are using last version of Solr (4.2.1) and making some tests on Atomic
Updates. 
The Solr wiki says that: /(...) requires that all fields in your SchemaXml
must be configured as stored="true" except for fields which are <copyField/>
destinations -- which must be configured as stored="false" (...)/

We have all of our fields defined as stored, also those which are
<copyField/> destinations. During our tests we didn't notice anything
extrange in that fields, Atomic Updates are working fine. 
Why <copyField/> destinations must be configured as stored=false since they
are going to be overwritten by their sources?

Thank you!



--
View this message in context: http://lucene.472066.n3.nabble.com/Atomic-Update-and-stored-copy-fields-tp4059129.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Atomic Update and stored copy-fields

Posted by raulgrande83 <ra...@hotmail.com>.
We have defined those copyfield destinations as stored because we have
experienced some problems when highlighting in them. These fields have
different Tokenizers and Analyzers. We have found that if we search in one
of them but highlight in a different one some words that doesn't match the
first query appeared highlighted in the results.



--
View this message in context: http://lucene.472066.n3.nabble.com/Atomic-Update-and-stored-copy-fields-tp4059129p4061095.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Atomic Update and stored copy-fields

Posted by Erick Erickson <er...@gmail.com>.
I'd ask it a different way, why in the world would you store the
destinations of copyFields? It just bloats your index to no good
purpose since all the sources are stored.

As you can tell, I don;t have a good answer for your question, but for
an explicit warning like that, I'd heed it and/or examine the code....

Best
Erick

On Fri, Apr 26, 2013 at 3:24 AM, raulgrande83 <ra...@hotmail.com> wrote:
> Hello everybody,
>
> We are using last version of Solr (4.2.1) and making some tests on Atomic
> Updates.
> The Solr wiki says that: /(...) requires that all fields in your SchemaXml
> must be configured as stored="true" except for fields which are <copyField/>
> destinations -- which must be configured as stored="false" (...)/
>
> We have all of our fields defined as stored, also those which are
> <copyField/> destinations. During our tests we didn't notice anything
> extrange in that fields, Atomic Updates are working fine.
> Why <copyField/> destinations must be configured as stored=false since they
> are going to be overwritten by their sources?
>
> Thank you!
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Atomic-Update-and-stored-copy-fields-tp4059129.html
> Sent from the Solr - User mailing list archive at Nabble.com.