You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Stefan Bohn (JIRA)" <ji...@apache.org> on 2011/08/11 10:56:27 UTC

[jira] [Created] (JSPWIKI-700) Search does not search in preformatted textblocks {{{ }}}

Search does not search in preformatted textblocks {{{ }}}
---------------------------------------------------------

                 Key: JSPWIKI-700
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-700
             Project: JSPWiki
          Issue Type: Bug
          Components: Core & storage
    Affects Versions: 2.8.4
         Environment: RedHat Linux
Sun JDK 1.6.0_26
Tomcat 6.0.20
            Reporter: Stefan Bohn
            Priority: Critical


Create a page with a code block

{{{
public String variable
}}}

If you search for "String", the page is not listed in the result page.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JSPWIKI-700) Search does not search in preformatted textblocks {{{ }}}

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099140#comment-13099140 ] 

Harry Metske commented on JSPWIKI-700:
--------------------------------------

propose to close in a few days....

> Search does not search in preformatted textblocks {{{ }}}
> ---------------------------------------------------------
>
>                 Key: JSPWIKI-700
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-700
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.8.4
>         Environment: RedHat Linux
> Sun JDK 1.6.0_26
> Tomcat 6.0.20
>            Reporter: Stefan Bohn
>            Priority: Minor
>
> Create a page with a code block
> {{{
> public String variable
> }}}
> If you search for "String", the page is not listed in the result page.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (JSPWIKI-700) Search does not search in preformatted textblocks {{{ }}}

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske updated JSPWIKI-700:
---------------------------------

    Priority: Minor  (was: Critical)

I can't reproduce this problem. 
The "object" can be found by appending an asterisk (*) to the search : object* .
The second one cannot be found, but that's no different from text outside code block's.
See http://lucene.apache.org/java/2_4_0/queryparsersyntax.html for a complete search syntax (or the Help tab on JSPWiki search result list. 

> Search does not search in preformatted textblocks {{{ }}}
> ---------------------------------------------------------
>
>                 Key: JSPWIKI-700
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-700
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.8.4
>         Environment: RedHat Linux
> Sun JDK 1.6.0_26
> Tomcat 6.0.20
>            Reporter: Stefan Bohn
>            Priority: Minor
>
> Create a page with a code block
> {{{
> public String variable
> }}}
> If you search for "String", the page is not listed in the result page.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JSPWIKI-700) Search does not search in preformatted textblocks {{{ }}}

Posted by "Stefan Bohn (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13083018#comment-13083018 ] 

Stefan Bohn commented on JSPWIKI-700:
-------------------------------------

There should be tripple opening and closing brackets around the code in seperate lines. But Jira markup changed it...

> Search does not search in preformatted textblocks {{{ }}}
> ---------------------------------------------------------
>
>                 Key: JSPWIKI-700
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-700
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.8.4
>         Environment: RedHat Linux
> Sun JDK 1.6.0_26
> Tomcat 6.0.20
>            Reporter: Stefan Bohn
>            Priority: Critical
>
> Create a page with a code block
> {{{
> public String variable
> }}}
> If you search for "String", the page is not listed in the result page.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JSPWIKI-700) Search does not search in preformatted textblocks {{{ }}}

Posted by "Stefan Bohn (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13083022#comment-13083022 ] 

Stefan Bohn commented on JSPWIKI-700:
-------------------------------------

OK, seems a little different

There must be a java-styled method call:

myObject.doSomething()


So only "myObject.doSomething" will be found. "myObject" or "doSomething" create no hits.

> Search does not search in preformatted textblocks {{{ }}}
> ---------------------------------------------------------
>
>                 Key: JSPWIKI-700
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-700
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.8.4
>         Environment: RedHat Linux
> Sun JDK 1.6.0_26
> Tomcat 6.0.20
>            Reporter: Stefan Bohn
>            Priority: Critical
>
> Create a page with a code block
> {{{
> public String variable
> }}}
> If you search for "String", the page is not listed in the result page.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (JSPWIKI-700) Search does not search in preformatted textblocks {{{ }}}

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske closed JSPWIKI-700.
--------------------------------

    Resolution: Invalid

> Search does not search in preformatted textblocks {{{ }}}
> ---------------------------------------------------------
>
>                 Key: JSPWIKI-700
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-700
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.8.4
>         Environment: RedHat Linux
> Sun JDK 1.6.0_26
> Tomcat 6.0.20
>            Reporter: Stefan Bohn
>            Priority: Minor
>
> Create a page with a code block
> {{{
> public String variable
> }}}
> If you search for "String", the page is not listed in the result page.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira