[opencms-dev] How can search for resource expiration with Lucene?

Deiverson Silveira deiverson at solutioncms.com
Mon Jun 8 14:01:33 CEST 2015


I change CmsSearchIndex, add function:

OpenCms.getSearchManager().getIndex("all_news").setIgnoreExpiration(false);


Make search expiration in 8.5.2.

2015-05-26 11:06 GMT-03:00 Deiverson Silveira <deiversonbh at gmail.com>:

> 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 ?
>
> 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 ...
>
> 2015-05-20 13:44 GMT-03:00 Deiverson Silveira <deiverson at solutioncms.com>:
>
>> Hi,
>>
>> I can not update my project for OpenCms 9.5.1, because the customizations
>> implementations carried out in FCKEditor and the use of Lucene.
>>
>> I wonder what the cost/effort to accomplish this functionality in OpenCms
>> 8.5.2.
>>
>> 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.
>>
>> 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.
>>
>> Regards,
>>
>> Deiverson
>>
>> 2015-05-20 13:31 GMT-03:00 <Honey.Bhandari at cognizant.com>:
>>
>>>  This documentation link is that of version 9.5.1!!!
>>>
>>>
>>>
>>> *From:* opencms-dev-bounces at opencms.org [mailto:
>>> opencms-dev-bounces at opencms.org] *On Behalf Of *Deiverson Silveira
>>> *Sent:* Wednesday, May 20, 2015 9:57 PM
>>> *To:* The OpenCms mailing list
>>> *Subject:* [opencms-dev] How can search for resource expiration with
>>> Lucene?
>>>
>>>
>>>
>>> Hi List,
>>>
>>> How can make this using Lucene? I use OpenCms 8.5.2.
>>>
>>>
>>>
>>> I see CmsSearchIndex.setIgnoreExpiration(boolean)
>>>
>>>
>>> http://documentation.opencms.org/javadoc/core/org/opencms/search/CmsSearchIndex.html#setIgnoreExpiration%28boolean%29
>>>
>>>
>>>
>>> How can result only files expiration?
>>>
>>>
>>> --
>>>
>>> *www.solutioncms.com <http://www.solutioncms.com>*
>>>
>>> *The Brazilian *
>>>
>>> *Official Provider OpenCms*
>>>        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.
>>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list, please
>>> visit
>>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> *www.solutioncms.com <http://www.solutioncms.com>The Brazilian Official
>> Provider OpenCms*
>>
>
>
>
> --
> *"Se você quer chegar a onde a maioria não chega, faça o que a maioria não
> faz."*
> *Bill Gates*
>



-- 
*www.solutioncms.com <http://www.solutioncms.com>The Brazilian Official
Provider OpenCms*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20150608/efd99044/attachment.htm>


More information about the opencms-dev mailing list