[opencms-dev] Parallel searching on the index

Kesarkar, Dipak dipak.kesarkar at capgemini.com
Fri Aug 21 16:05:06 CEST 2009


Hi,

I am using OpenCms search API  [CmsSearch.getSearchResult()] to search on the index.

When there are multiple search requests, search does not happen in parallel but in a sequential manner.
Is this happening due to some Singleton class in OpenCms? Or is it because of some setting in the opencms.search.xml?

Excerpt of the configuration in opencms-search.xml is
        <directory>index</directory>
        <timeout>60000</timeout>
        <forceunlock>onlyfull</forceunlock>
        <excerpt>1024</excerpt>
        <extractionCacheMaxAge>672.0</extractionCacheMaxAge>
        <highlighter>org.opencms.search.documents.CmsTermHighlighterHtml</highlighter>

Is it due to <forceunlock>onlyfull</forceunlock> setting?


What should be done to make search work in parallel?

Any pointer on this would be highly appreciated.


Regards,
Dipak

</PRE><p style="font-family:arial;color:grey" style="font-size:13px">This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.</p><PRE>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090821/d8979297/attachment.htm>


More information about the opencms-dev mailing list