incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt Stein (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-498) Performance Issues with Lucene Index
Date Mon, 16 Feb 2009 11:24:59 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673853#action_12673853
] 

Kurt Stein commented on JSPWIKI-498:
------------------------------------

Sure unitTest are important. I will add one if I get behind the magic of unitTests. 

I have imported the wiki codestyles into eclipse and run "format" on LuceneSearchProvider.
This stuff has corrupted the complete class by adding a lot of whitespace everywhere(even
code I havn´t touch).

Seems to me that the LuceneSearchProvider is not conform with the JSPWikistyle...or I am using
the style formatter in an unappropriate way.

> 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, patch_lucene_search_2.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.


Mime
View raw message