[
https://issues.apache.org/jira/browse/JSPWIKI-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kurt Stein updated JSPWIKI-498:
-------------------------------
Attachment: patch_lucene_search.txt
OK, I have finished my work.
This one fixes the search dilemma for LuceneSearchProvider described above.
Additionally it shows all pages for a query. But it shows secret content(user
without pagepermission) only to authorized users.
Reason: We often have users saying: This is not in the wiki. But it is in the
wiki, they are just not authorized.(We still need a little bit of
internalization for this piece of code).
This way, they see there is a page an so they can ask the admin for access to
this page.
As soon as they changes are accomplished I will provide my search template. But
i don“t want to mix to much code for you at one time.
PS: There is a dependency in LuceneSearchProvider for PDBox because I am
actually indexing my pdf files ;-) I think this is a good part to get pdf
indexed so I commit this too.
> 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
>
>
> 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.