Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8571

FullTextSearchImpl.copyOf() - relative path lost in copy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.14.0
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      Property passed in constructor to FullTextSearchImpl is split and stored as relativePath and propertyName. In method copyOf only propertyName is passed and relativePath is lost in new instance:

      @Override
      public AstElement copyOf()

      { return new FullTextSearchImpl(selectorName, propertyName, fullTextSearchExpression); }

      Because of that  alternative query may be constrainted by non existing properties, f.e. instead of  CONTAINS([d].[metadane/korespondent/*/*/nazwa] we have contains([d].[nazwa],

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              piotr_tajdus Piotr Tajduś
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: