You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2013/01/06 18:28:12 UTC

[jira] [Closed] (JSPWIKI-498) Performance Issues with Lucene Index

     [ https://issues.apache.org/jira/browse/JSPWIKI-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske closed JSPWIKI-498.
--------------------------------

    Resolution: Incomplete

no follow up unfortunately.
Feel free to re-open is patches are there.
                
> 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.4
>         Environment: Win 2003 on XEN-Server, 3 GB RAM, 4 x Intel Xeon 2Ghz
>            Reporter: Kurt Stein
>             Fix For: FutureVersion
>
>         Attachments: lucene_search.patch, patch_lucene_search_2.txt, 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Closed] (JSPWIKI-498) Performance Issues with Lucene Index

Posted by Ichiro Furusato <ic...@gmail.com>.
Hi Glen,

In reading over the entire list of comments on the issue I think my input would
at this point not be of value -- it seems the problem was in the
LuceneHighlighter,
and that this would be dealt with separately via a patch. And as already noted,
that has its own issues...

Ichiro

On Mon, Jan 7, 2013 at 2:39 PM, Glen Mazza <gl...@gmail.com> wrote:
> Please add those comments to JSPWiki-498 directly so the original JIRA
> submitter will get them.
>
> Thanks,
> Glen
>
>
> On 01/06/2013 08:09 PM, Ichiro Furusato wrote:
>>
>> I'd have to say that it's likely there's an installation/configuration
>> issue
>> here, not a Lucene code issue. With even extremely large indices 30
>> seconds is not a typical response time, even if the index is being queried
>> twice.
>>
>> My recommendation to the user would be to stop the server, delete the
>> index and let it be rebuilt, and make sure the server is not starved for
>> memory -- my own experience is that if one is seeing 30 second responses
>> there's a bottleneck somewhere, and it's probably not Lucene.
>>
>> Ichiro
>>
>> On Mon, Jan 7, 2013 at 6:28 AM, Harry Metske (JIRA) <ji...@apache.org>
>> wrote:
>>>
>>>       [
>>> https://issues.apache.org/jira/browse/JSPWIKI-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>>> ]
>>>
>>> Harry Metske closed JSPWIKI-498.
>>> --------------------------------
>>>
>>>      Resolution: Incomplete
>>>
>>> no follow up unfortunately.
>>> Feel free to re-open is patches are there.
>>>
>>>> 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.4
>>>>          Environment: Win 2003 on XEN-Server, 3 GB RAM, 4 x Intel Xeon
>>>> 2Ghz
>>>>             Reporter: Kurt Stein
>>>>              Fix For: FutureVersion
>>>>
>>>>          Attachments: lucene_search.patch, patch_lucene_search_2.txt,
>>>> 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.
>>> If you think it was sent incorrectly, please contact your JIRA
>>> administrators
>>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>

Re: [jira] [Closed] (JSPWIKI-498) Performance Issues with Lucene Index

Posted by Glen Mazza <gl...@gmail.com>.
Please add those comments to JSPWiki-498 directly so the original JIRA 
submitter will get them.

Thanks,
Glen

On 01/06/2013 08:09 PM, Ichiro Furusato wrote:
> I'd have to say that it's likely there's an installation/configuration issue
> here, not a Lucene code issue. With even extremely large indices 30
> seconds is not a typical response time, even if the index is being queried
> twice.
>
> My recommendation to the user would be to stop the server, delete the
> index and let it be rebuilt, and make sure the server is not starved for
> memory -- my own experience is that if one is seeing 30 second responses
> there's a bottleneck somewhere, and it's probably not Lucene.
>
> Ichiro
>
> On Mon, Jan 7, 2013 at 6:28 AM, Harry Metske (JIRA) <ji...@apache.org> wrote:
>>       [ https://issues.apache.org/jira/browse/JSPWIKI-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>>
>> Harry Metske closed JSPWIKI-498.
>> --------------------------------
>>
>>      Resolution: Incomplete
>>
>> no follow up unfortunately.
>> Feel free to re-open is patches are there.
>>
>>> 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.4
>>>          Environment: Win 2003 on XEN-Server, 3 GB RAM, 4 x Intel Xeon 2Ghz
>>>             Reporter: Kurt Stein
>>>              Fix For: FutureVersion
>>>
>>>          Attachments: lucene_search.patch, patch_lucene_search_2.txt, 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.
>> If you think it was sent incorrectly, please contact your JIRA administrators
>> For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: [jira] [Closed] (JSPWIKI-498) Performance Issues with Lucene Index

Posted by Ichiro Furusato <ic...@gmail.com>.
I'd have to say that it's likely there's an installation/configuration issue
here, not a Lucene code issue. With even extremely large indices 30
seconds is not a typical response time, even if the index is being queried
twice.

My recommendation to the user would be to stop the server, delete the
index and let it be rebuilt, and make sure the server is not starved for
memory -- my own experience is that if one is seeing 30 second responses
there's a bottleneck somewhere, and it's probably not Lucene.

Ichiro

On Mon, Jan 7, 2013 at 6:28 AM, Harry Metske (JIRA) <ji...@apache.org> wrote:
>
>      [ https://issues.apache.org/jira/browse/JSPWIKI-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Harry Metske closed JSPWIKI-498.
> --------------------------------
>
>     Resolution: Incomplete
>
> no follow up unfortunately.
> Feel free to re-open is patches are there.
>
>> 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.4
>>         Environment: Win 2003 on XEN-Server, 3 GB RAM, 4 x Intel Xeon 2Ghz
>>            Reporter: Kurt Stein
>>             Fix For: FutureVersion
>>
>>         Attachments: lucene_search.patch, patch_lucene_search_2.txt, 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.
> If you think it was sent incorrectly, please contact your JIRA administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira