JSPWiki
  1. JSPWiki
  2. JSPWIKI-441

Show more details on search summary

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6.4
    • Fix Version/s: None
    • Component/s: Plugins
    • Labels:
      None
    • Environment:

      Weblog Plugin, LuceneSearchProvider

      Description

      Hi,

      I have got a lot of blogs in my wiki. Each blog has numerous of blogentrys and each blogentry has some content and sometimes an attachment.
      If you use the Jspwiki search, the upcoming results get you frustrating. You see the pagename like DailyBlog_blogentry_031207_1.
      Well you can click the details-button but then you get the plain wiki-coded text. This is hardly readable for normal users.

      I was thinking about catching the First Headline on a wikipage an add it to the search results overview. Any other ideas?

      1. Screenshot_Search.PNG
        32 kB
        Kurt Stein
      2. suggested search result with headlines.jpg
        133 kB
        Kurt Stein
      3. actual search results with blogentries.jpg
        159 kB
        Kurt Stein

        Activity

        Kurt Stein made changes -
        Attachment Screenshot_Search.PNG [ 12399916 ]
        Hide
        Kurt Stein added a comment -

        Finally I have finished my work on the search. It will take some TagLibaryClasses and some changes to search.jsp. And of course internationalization and CSS.

        Tell me if you want a patch for 2.8.1

        Functionality:
        1. Get the first Headline of a page and display as dark blue link - If there is no Headline it will take the pagename
        2. Show if searchresult is a attachment and give link to both the attachment and the page containing the attachment
        3. Show always details (who wants to hide them anyway (Now as we have the SearchManager.findResults() -Fix)
        4. Remove the bar (because it does not add any relevant information as the results are already ordered per hitscore)
        5. Show complete link of the Page
        6. Google + Wikipedia Links are bigger(most of my users have a hard time in finding them)

        As kind of visual sugar I made it look like Google to give the users the google-experience

        Show
        Kurt Stein added a comment - Finally I have finished my work on the search. It will take some TagLibaryClasses and some changes to search.jsp. And of course internationalization and CSS. Tell me if you want a patch for 2.8.1 Functionality: 1. Get the first Headline of a page and display as dark blue link - If there is no Headline it will take the pagename 2. Show if searchresult is a attachment and give link to both the attachment and the page containing the attachment 3. Show always details (who wants to hide them anyway (Now as we have the SearchManager.findResults() -Fix) 4. Remove the bar (because it does not add any relevant information as the results are already ordered per hitscore) 5. Show complete link of the Page 6. Google + Wikipedia Links are bigger(most of my users have a hard time in finding them) As kind of visual sugar I made it look like Google to give the users the google-experience
        Hide
        NicolaFischer added a comment -

        How about changing the layout of the Search result page completely?

        Problems:
        1.The orange results quality bar is not accurate(44% is 3 times larger then 22 %).
        2.The orange results quality bar takes a lot of spaces but it doesn´t give a lot of information to the searching person.
        3.Attachments are not shown with their page. The search result shows only the direct link. So you can open the attachment. But it´s difficult to upload changes to the attachment for unexperienced user because they don´t to which site the attachment belongs. (In comparison: the recent changes plugin shows where the uploaded attachment belongs to.)
        4.Wikipage content is shown in wikisyntax with all its !!!, ---, [] and so on. This is hardly readable. Especially if you have strong formated pages. Only content information should be shown (common with search engines).

        I am using JSPWiki 2.6.3. If any of the points mentioned above is already fixed in later versions please don´t mind it any further.

        Show
        NicolaFischer added a comment - How about changing the layout of the Search result page completely? Problems: 1.The orange results quality bar is not accurate(44% is 3 times larger then 22 %). 2.The orange results quality bar takes a lot of spaces but it doesn´t give a lot of information to the searching person. 3.Attachments are not shown with their page. The search result shows only the direct link. So you can open the attachment. But it´s difficult to upload changes to the attachment for unexperienced user because they don´t to which site the attachment belongs. (In comparison: the recent changes plugin shows where the uploaded attachment belongs to.) 4.Wikipage content is shown in wikisyntax with all its !!!, ---, [] and so on. This is hardly readable. Especially if you have strong formated pages. Only content information should be shown (common with search engines). I am using JSPWiki 2.6.3. If any of the points mentioned above is already fixed in later versions please don´t mind it any further.
        Hide
        Janne Jalkanen added a comment -

        Probably the LuceneSearchProvider is your best option.

        Show
        Janne Jalkanen added a comment - Probably the LuceneSearchProvider is your best option.
        Hide
        Kurt Stein added a comment -

        Sure it will.

        Well as I see, there is little Interest in this issue. I will try to hunt for a solution by myself. Is there any good clue where I can start investigating in how the search works and where to inject some code?

        Show
        Kurt Stein added a comment - Sure it will. Well as I see, there is little Interest in this issue. I will try to hunt for a solution by myself. Is there any good clue where I can start investigating in how the search works and where to inject some code?
        Hide
        Janne Jalkanen added a comment -

        Hmhmhm... I think this would be a weblog-plugin specific hack. Would it be better to fix WeblogPlugin so that it can actually have a proper title?

        Show
        Janne Jalkanen added a comment - Hmhmhm... I think this would be a weblog-plugin specific hack. Would it be better to fix WeblogPlugin so that it can actually have a proper title?
        Kurt Stein made changes -
        Kurt Stein made changes -
        Field Original Value New Value
        Attachment actual search results with blogentries.jpg [ 12394337 ]
        Kurt Stein created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Kurt Stein
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development