Uploaded image for project: 'JSword'
  1. JSword
  2. JS-230

LuceneIndex Headings does not index non-canonical headings

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.1
    • Component/s: None
    • Labels:
      None

      Description

      The following fragment specifically only takes canonical content instead of all headings.

      /**

      • The text of non-reference notes.
      • @return The references in the text
        */
        public static String getHeadings(Element root) {
        StringBuilder buffer = new StringBuilder();

      for (Content content : getDeepContent(root, OSISUtil.OSIS_ELEMENT_TITLE))

      { Element ele = (Element) content; getCanonicalContent(ele, null, ele.getContent().iterator(), buffer); }

      return buffer.toString();
      }

        Attachments

          Activity

            People

            • Assignee:
              chrisburrell Chris Burrell
              Reporter:
              chrisburrell Chris Burrell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: