I'm sorry.As everyone pointed out,the filed named "content" is a type
defined mulitvalued.

I solved this problem.

Thanks

2016-12-24 2:19 GMT+09:00 Erick Erickson [via Lucene] <
ml-node+s472066n4311074...@n3.nabble.com>:

> The problem is exactly as stated, sending multiple fields to the
> _same_ destination in copyField directives requires that the
> destination field be multiValued, so you can't do what you're
> describing unless the destination field is multiValued.
>
> There is no requirement that faceting be performed on single-valued
> fields.
>
> But this seems like an XY problem. From the naming of your fields
> (suggest_facet) I'm not sure you want to deal with faceting at all.
> Are you trying to implement autosuggest perhaps? It would be useful if
> you stated the user problem you're trying to solve, because on the
> surface it looks like you're not going down the best path.
>
> That may just mean I don't understand the problem at all. And I'm
> quite ignorant of what special handling is necessary for autosuggest
> in Japanese so may be way off base here.
>
> Best,
> Erick
>
> On Fri, Dec 23, 2016 at 7:14 AM, KRIS MUSSHORN <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4311074&i=0>> wrote:
>
> > work backwards and look at the type definition for fields named content,
> title, author, and body. one of them has a type defined as multivalued
> >
> > ----- Original Message -----
> >
> > From: "武井宜行" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4311074&i=1>>
> > To: [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4311074&i=2>
> > Sent: Friday, December 23, 2016 10:05:01 AM
> > Subject: copying all fields to one specific single value field
> >
> > Hi,all
> >
> > I would like to copy all fields to one specific single value field.
> > The reason is that I must use facet query.I think that
> > the fileld to use facet query needs not multi value but single value.
> >
> > In order to achive this,I've tried to use CopyFiled in schema.xml,but
> > Error occured.
> >
> > The Schema is as bellow.
> > ※I'd like use facet query to "suggest_facet" field.
> >
> > <field name="title" type="text_ja" indexed="true" stored="true"/>
> > <field name="author" type="text_ja" indexed="true" stored="true"/>
> > <field name="body" type="text_ja" indexed="true" stored="true"/>
> > <field name="suggest_facet" type="text_ja" indexed="true" stored="true"
> />
> > <copyField source="content" dest="suggest_facet"/>
> > <copyField source="title" dest="suggest_facet"/>
> > <copyField source="author" dest="suggest_facet"/>
> > <copyField source="body" dest="suggest_facet"/>
> >
> > When I tried to index,thf following error ocuured.
> >
> > 2016-12-22 03:47:38.139 WARN (coreLoadExecutor-6-thread-3) [ ]
> > o.a.s.s.IndexSchema Field suggest_facet is not multivalued and
> destination
> > for multiple copyFields (6)
> >
> > How do I Solve this in order to copy all fields to one specific single
> > value field?
> >
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://lucene.472066.n3.nabble.com/copying-all-fields-
> to-one-specific-single-value-field-tp4311062p4311074.html
> To start a new topic under Solr - User, email
> ml-node+s472066n472068...@n3.nabble.com
> To unsubscribe from Solr - User, click here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472068&code=bnRha2VpQHNpb3MuY29tfDQ3MjA2OHwxNDQxNjgyNDAz>
> .
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
・‥…━━━━━━━━━━━━━━━━━━━━━━━…‥
サイオステクノロジー株式会社
技術部
クラウドソリューショングループ
武井 宜行
〒106-0047  東京都港区南麻布二丁目 12 番 3 号 サイオスビル
TEL:03-6401-5314 (直通) 03-6401-5117 (部代表)
URL:http://www.sios.com/

■SIOSの最新情報はこちらから!「いいね!」をお待ちしています■
(SIOS Technology):http://www.facebook.com/SIOSTechnology
(OSSよろず相談室):http://www.facebook.com/OSSyorozu

■Twitter公式アカウント■
https://twitter.com/#!/SIOS_Technology
・‥…━━━━━━━━━━━━━━━━━━━━━━━…‥




--
View this message in context: 
http://lucene.472066.n3.nabble.com/copying-all-fields-to-one-specific-single-value-field-tp4311062p4311135.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to