<div dir="ltr"><p class="MsoNormal">I change CmsSearchIndex, add function:</p><p class="MsoNormal"><span lang="EN-US">OpenCms.getSearchManager().getIndex("all_news").setIgnoreExpiration(<span style="background-image:initial;background-color:yellow;background-repeat:initial">false</span>);</span><span lang="EN-US"></span></p><p class="MsoNormal"><span lang="EN-US"><br></span></p><p class="MsoNormal"><span lang="EN-US">Make search expiration in 8.5.2.</span></p><div class="gmail_extra"><br><div class="gmail_quote">2015-05-26 11:06 GMT-03:00 Deiverson Silveira <span dir="ltr"><<a href="mailto:deiversonbh@gmail.com" target="_blank">deiversonbh@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Alkacon know of someone tell me what the number of bugs or improvements related to the search for expired files , which was implemented in version 9.5.1 ?<br><br>I tried to replace the CmsSearchIndex but tme one CmsSimilarity class that does not exist in version 8.5.2 and the problem in my code ...<br><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2015-05-20 13:44 GMT-03:00 Deiverson Silveira <span dir="ltr"><<a href="mailto:deiverson@solutioncms.com" target="_blank">deiverson@solutioncms.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div dir="ltr"><div><div>Hi,<br><br>I can not update my project for OpenCms 9.5.1,
because the customizations implementations carried out in FCKEditor and
the use of Lucene.<br><br>I wonder what the cost/effort to accomplish this functionality in OpenCms 8.5.2.<br><br>I
will try to put the OpenCmsSearch.class 9.5.1 to 8.5.2 on my project, I
will need to take more other OpenCms 8.5.2 code snippets to enable the
search for expired files.<br><br>If any of the Alkacon can help me giving the hint of which locations will need to update, it would be great. I thank you.<br><br></div>Regards,<br><br></div>Deiverson</div></span><div class="gmail_extra"><br><div class="gmail_quote"><span>2015-05-20 13:31 GMT-03:00 <span dir="ltr"><<a href="mailto:Honey.Bhandari@cognizant.com" target="_blank">Honey.Bhandari@cognizant.com</a>></span>:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This documentation link is that of version 9.5.1!!!<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a>]
<b>On Behalf Of </b>Deiverson Silveira<br>
<b>Sent:</b> Wednesday, May 20, 2015 9:57 PM<br>
<b>To:</b> The OpenCms mailing list<br>
<b>Subject:</b> [opencms-dev] How can search for resource expiration with Lucene?<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi List,<u></u><u></u></p>
</div>
<p class="MsoNormal">How can make this using Lucene? I use OpenCms 8.5.2.<br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I see CmsSearchIndex.setIgnoreExpiration(boolean) <u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"><a href="http://documentation.opencms.org/javadoc/core/org/opencms/search/CmsSearchIndex.html#setIgnoreExpiration%28boolean%29" target="_blank">http://documentation.opencms.org/javadoc/core/org/opencms/search/CmsSearchIndex.html#setIgnoreExpiration%28boolean%29</a></span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">How can result only files expiration?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><i><a href="http://www.solutioncms.com" target="_blank">www.solutioncms.com</a><u></u><u></u></i></p>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><i>The Brazilian <u></u><u></u></i></p>
<div>
<div>
<p class="MsoNormal"><i>Official Provider OpenCms<u></u><u></u></i></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div></div></div><div><div>
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original
message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law,
this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
</div></div></div>
<br><span>_______________________________________________<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></span></blockquote></div><br><br clear="all"><span><br>-- <br><div><i><div><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><a href="http://www.solutioncms.com" target="_blank">www.solutioncms.com</a></i></span></div></i></span></div><div><span style="font-style:normal"><i><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important"><i>The Brazilian </i><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important"><i>Official Provider OpenCms</i></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i></div>
</span></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="">-- <br><div><div dir="ltr"><div><div dir="ltr"><i style="color:rgb(128,0,0);font-family:'times new roman',', times, serif} ';font-size:14px;line-height:15px;background-color:rgb(255,255,255)">"Se você quer chegar a onde a maioria não chega, faça o que a maioria não faz."</i></div><div dir="ltr"><i style="color:rgb(128,0,0);font-family:'times new roman',', times, serif} ';font-size:14px;line-height:15px;background-color:rgb(255,255,255)">Bill Gates</i></div></div></div></div>
</span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><i><div><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><a href="http://www.solutioncms.com" target="_blank">www.solutioncms.com</a></i></span></div></i></span></div><div><span style="font-style:normal"><i><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important"><i>The Brazilian </i><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important"><i>Official Provider OpenCms</i></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i></div>
</div></div>