[
https://issues.apache.org/jira/browse/JSPWIKI-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672562#action_12672562
]
Janne Jalkanen commented on JSPWIKI-498:
----------------------------------------
Sorry :-/. Didn't mean to devastate you... But it's in everybody's interest if
we get good patches!
WikiEngine is too fat as it is, so the current trend is to enhance the Managers
instead of WikiEngine with new methods. The old methods in WikiEngine are
there for backwards compatibility, and new methods should be added to the
relevant Manager class.
All new major features should be based on the trunk. Minor features and
updates should go to the JSPWIKI_2_8_BRANCH. It's okay to break binary
compatibility in the trunk, but for 2.8 it's a no-no.
For example, the addition of PDFBox should be against trunk, but speed
optimizations should be against the 2.8 branch.
In general, the smaller the patch, the better. A really big patch may have
side-effects which cause massive problems down the line, so in general we don't
like those (unless we're sure that you know what you're doing - but in that
case you're probably already a committer).
> Performance Issues with Lucene Index
> ------------------------------------
>
> Key: JSPWIKI-498
> URL: https://issues.apache.org/jira/browse/JSPWIKI-498
> Project: JSPWiki
> Issue Type: Bug
> Components: Default template
> Affects Versions: 2.8.1
> Environment: Win 2003 on XEN-Server, 3 GB RAM, 4 x Intel Xeon 2Ghz
> Reporter: Kurt Stein
> Attachments: patch_lucene_search.txt, screenshot-1.jpg
>
>
> Our Wiki-Luceneindex has swollen to 33 MB and if someone searches words like
> "find" he gets about 500 results. Only problem is, it takes about 30 seconds
> to complete the search.
> I have looked a bit into the problem and there is something strange to me.
> JSPWiki searches twice every query.
> Once in search.jsp and afterwards in AjaxSearch.jsp.
> The filteredList from search.jsp is written to the pagecontext but this
> information is never read within the AjaxSearch.jsp. Thus AjaxSearch.jsp
> makes a second search.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.