Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2314

Indexmanager not properly considering changed nodes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 4.0.0.Final
    • 4.0.0.Beta2
    • Query
    • None

    Description

      Edit: Ok I found the problem:

      Assuming you have a node with a to be indexed property "sysName"
      Then the following code does NOT index the node

      Node newNode1 = session1.getRootNode().addNode("nodeWithSysName","nt:unstructured");
      		session1.save();
      
      		newNode1.setProperty("sysName", "foobar");
      		
      		session1.save();
      
      

      However this will index the node

      Node newNode1 = session1.getRootNode().addNode("nodeWithSysName","nt:unstructured");
      
      		newNode1.setProperty("sysName", "foobar");
      		
      		session1.save();
      
      

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            bes82 Bjoern Schmidt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: