<p>Set the value of "index" to "true" instead of "untokenized".</p>
<div class="gmail_quote">在 2012-2-19 下午11:00,"Yves Glodt" <<a href="mailto:yg@mind.lu">yg@mind.lu</a>>写道:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Any ideas on this ? :-)<br><br><div class="gmail_quote">On 5 February 2012 11:14, Yves Glodt <span dir="ltr"><<a href="mailto:yg@mind.lu" target="_blank">yg@mind.lu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hello,<br><br>I have a structured content which contains a "Text" field which I want to have indexed. The field is simply set up like this:<br><br><xsd:element name="Text" type="OpenCmsHtml"/><br>



<br>I created a new field configuration but I fail to get it actually work.<br><br>How would the fieldconfiguration need to look like?<br><br>This is what I came up with, but as mentioned it does not work... :-)<br><br><fieldconfiguration><br>



                <name>site01</name><br>                <fields><br>                    <field name="Text" store="true" index="untokenized" excerpt="true"><br>



                        <mapping type="content"/><br>                        <mapping type="item">Text[1]</mapping><br>                        <mapping type="item">Text0</mapping><br>



                    </field><br>                </fields><br></fieldconfiguration><br><br>Best regards,<br>Yves<br><br><br>
</blockquote></div><br>
<br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div>