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

Indexing: filter entries with a regular expression

    XMLWordPrintableJSON

Details

    Description

      We should provide a way to filter the index using a regular expression. For example, only index nodes that contain a reference to another node. (Not a JCR reference, but a reference within the value itself). For example, index a node if one of the properties contains:

      • /content/abc
      • <html...> <a href="/content/abc">
      • and so on

      This will allow to run a query to find if /content/abc is referenced. The index and the query will probably need to use a tag, and the cost of the index needs to be high. Otherwise the query engine can't know when this index should be used.

      Attachments

        1. OAK-8934-1_8.patch
          10 kB
          Amrit Verma
        2. OAK-8934-1_8_svn.patch
          9 kB
          Thomas Mueller

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              thomasm Thomas Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: