<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=IT link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I have a problem with search. I want to
exclude from the listing of search result a specific element of a schema.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I have modified “opencms-search.xml”
adding the following lines in the standard field configuration:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas;color:#A6A6A6'><fieldconfigurations><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas;color:#A6A6A6'>
<fieldconfiguration><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas;color:#A6A6A6'>
<name>standard</name><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas;color:#A6A6A6'>
<description>The standard OpenCms 7.0 search index field
configuration.</description><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> …<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:Consolas'><field
name="UrlAssicurazione" display="UrlAssicurazione"
store="false" index="true"><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:35.4pt;text-indent:35.4pt'><span
style='font-family:Consolas'> </span><span lang=EN-US
style='font-family:Consolas'><mapping
type="item">UrlAssicurazione[1]</mapping><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US
style='font-family:Consolas'></field><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US
style='font-family:Consolas'>…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas;color:#A6A6A6'>
</fieldconfiguration><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas;color:#A6A6A6'></fieldconfigurations><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>but in search result this element is
displayed on the description and I don’t want!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><b><span lang=EN-US>UrlAssicurazione</span></b><span
lang=EN-US> is the name of the element of the schema that i want to exclude
from search result.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>This is the schema:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas'><xsd:complexType
name="OpenCmsAssicurazione"><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas'> <xsd:sequence><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas'> …<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas'> <xsd:element
name="UrlAssicurazione" type="OpenCmsString"
minOccurs="1" maxOccurs="1" /> … <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas'> </xsd:sequence><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas'></xsd:complexType><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:Consolas'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:Consolas'>Greetings,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:Consolas'>Andrea.<br>
<br>
</span><span lang=EN-US style='font-family:Consolas'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<PRE>
----------------------------------------------------------------------
CONFIDENTIALITY NOTICE
La sicurezza e l'affidabilita' delle e-mail non e' garantita. Noi
adottiamo programmi anti virus, ma decliniamo ogni
responsabilita' in ordine alla prevenzione degli eventuali virus.
Tutte le e-mail da e per @moby.it sono comunicazioni alla Societa'
e non private o riservate ad alcuna persona nominata.
Security and reliability of e-mail is not guaranteed. We operate
anti-virus programmes but you must take full responsibility for
virus checking.
All e-mails from and to anyone @moby.it are communications
to the company and not private and confidential to any named individual.
----------------------------------------------------------------------
</PRE></body>
</html>