Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8111

Lucene Search should not return HTML tags

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.2.1
    • Fix Version/s: None
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      My client does a query on the word "label".

      Then, the search engine returns all the documents that have the <label> HTML tag in it. (like:

      {html}

      <label name="blahblah" />

      {/html}

      ).

      So, we should:

      • make HTML tags not being indexed (I don't know if it is possible).
      • index the rendered content (rendered as plain text) instead of the wiki content.

      WDYT?

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              gdelhumeau Guillaume Delhumeau
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: