[
https://issues.apache.org/jira/browse/SOLR-9245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daiki Ikawa updated SOLR-9245:
------------------------------
Description:
in some cases, the issue [SOLR-3981] is still unresolved.
schema.xml
{noformat}
<dynamicField name="*_text" type="my_text" indexed="true" stored="false"
multiValued="true" />
<copyField dest="hoge_text" source="source_text"/>
{noformat}
and MyLocalApplicationSampleWrong.java
{noformat}
doc.addfield("source_text","foo");
doc.addfield("hoge_text", "bar");
doc.setDocumentBoost(100000);
{noformat}
then I got fieldNorm value which greater than 1E9 (docboot is still
compounded),
because the "compoundBoost" is applied twice when copyFileds generated
faster than destinationField generated.
was:
in some cases, the issue [SOLR-3981] is still unresolved.
schema.xml
{noformat}
<dynamicField name="*_text" type="my_text" indexed="true" stored="false"
multiValued="true" />
<copyField dest="hoge_text" source="source_text"/>
{noformat}
and MyLocalApplicationSampleWrong.java
{noformat}
doc.addfield("source_text","foo");
doc.addfield("hoge_text", "bar");
doc.setDocumentBoost(100000);
{noformat}
then I got fieldNorm value which greater than 1E9 (docboot is still
compounded),
because the "compoundBoost" is applied twice when copyFileds generated
faster than destinationField generated.
MyLocalApplicationSampleOK.java
{noformat}
doc.addfield("hoge_text", "bar");
doc.addfield("source_text","foo");
doc.setDocumentBoost(100000);
{noformat}
then I got fieldNorm value which less than 1E5.
> docBoost is still compounded on copyField
> -----------------------------------------
>
> Key: SOLR-9245
> URL: https://issues.apache.org/jira/browse/SOLR-9245
> Project: Solr
> Issue Type: Bug
> Reporter: Daiki Ikawa
>
> in some cases, the issue [SOLR-3981] is still unresolved.
> schema.xml
> {noformat}
> <dynamicField name="*_text" type="my_text" indexed="true"
> stored="false" multiValued="true" />
> <copyField dest="hoge_text" source="source_text"/>
> {noformat}
> and MyLocalApplicationSampleWrong.java
> {noformat}
> doc.addfield("source_text","foo");
> doc.addfield("hoge_text", "bar");
> doc.setDocumentBoost(100000);
> {noformat}
> then I got fieldNorm value which greater than 1E9 (docboot is still
> compounded),
> because the "compoundBoost" is applied twice when copyFileds generated
> faster than destinationField generated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]