Permalink
Switch branches/tags
modeshape-5.4.1.Final modeshape-5.4.0.Final modeshape-5.3.0.Final modeshape-5.2.0.Final modeshape-5.1.0.Final modeshape-5.0.0.Final modeshape-4.6.2.Final modeshape-4.6.1.Final modeshape-4.6.0.Final modeshape-4.5.0.Final modeshape-4.4.0.Final modeshape-4.3.0.Final modeshape-4.2.0.Final modeshape-4.1.0.Final modeshape-4.0.0.Final modeshape-4.0.0.Beta2 modeshape-4.0.0.Beta1 modeshape-4.0.0.Alpha4 modeshape-4.0.0.Alpha3 modeshape-4.0.0.Alpha2 modeshape-4.0.0.Alpha1 modeshape-3.8.1.Final modeshape-3.8.0.Final modeshape-3.7.4.Final modeshape-3.7.3.Final modeshape-3.7.2.Final modeshape-3.7.1.Final modeshape-3.7.0.Final modeshape-3.6.1.Final modeshape-3.6.0.Final modeshape-3.5.0.Final modeshape-3.4.0.Final modeshape-3.3.0.Final modeshape-3.2.0.Final modeshape-3.1.3.Final modeshape-3.1.2.Final modeshape-3.1.1.Final modeshape-3.1.0.Final modeshape-3.0.1.Final modeshape-3.0.0.Final modeshape-3.0.0.CR3 modeshape-3.0.0.CR2 modeshape-3.0.0.CR1 modeshape-3.0.0.Beta4 modeshape-3.0.0.Beta3 modeshape-3.0.0.Beta2 modeshape-3.0.0.Beta1 modeshape-3.0.0.Alpha6 modeshape-3.0.0.Alpha5 modeshape-3.0.0.Alpha4 modeshape-3.0.0.Alpha3 modeshape-3.0.0.Alpha2 modeshape-3.0.0.Alpha1 modeshape-2.8.3.Final modeshape-2.8.2.Final modeshape-2.8.1.GA modeshape-2.8.1.Final modeshape-2.8.0.Final modeshape-2.7.0.Final modeshape-2.6.0.Final modeshape-2.6.0.Beta2 modeshape-2.6.0.Beta1 modeshape-2.5.0.Final modeshape-2.5.0.Beta2 modeshape-2.5.0.Beta1 modeshape-2.4.0.Final modeshape-2.3.0.Final modeshape-2.2.0.Final modeshape-2.1.0.Final modeshape-2.0.0.Final modeshape-1.2.0.Final modeshape-1.1.0.Final modeshape-1.0.0.Final modeshape-1.0.0.Beta1 dna-0.7 dna-0.6 dna-0.5 dna-0.4 dna-0.3 dna-0.2 dna-0.1 EDS_5.3.1_2_2014 3.8.x-prod-ip6.1-ER1
Nothing to show
Commits on Jul 18, 2012
  1. MODE-1419 Enabled full text searching

    rhauch committed Jul 18, 2012
    Added full-text search back in. Note that it can be explicitly disabled/enabled within a repository configuration,
    and it is currently *enabled* by default. Quite a few test cases were added back in, and some of them highlighted
    some issues with search/query scores (were floats, but expected to be doubles).
    
    Also, one quirk of the AS7 subsystem startup is that the text extractors are added to a running repository,
    and that means that there's a time during startup when there are no text extractors (and any added binary
    values don't get extracted during storage), followed quickly by the enabling of text extractors (by the time
    the property with the binary value is indexed). This manifested itself as a blocked sequencing thread within
    the ZIP Sequencer integration test (using AS7).
    
    All unit and integration tests pass with these changes, including those that were enabled by these changes.
  2. MODE-1547 - Fixed full text search queries which involve stop-words. …

    Horia Chiorean
    Horia Chiorean committed Jul 18, 2012
    …The solution was to not add empty PhraseQuery instances to the BooleanQuery.
Commits on Jul 17, 2012
  1. MODE-1550 Corrected the generated Lucene criteria for ISCHILDNODE

    rhauch committed Jul 17, 2012
    ModeShape converts the ISCHILDNODE criteria for JCR-SQL2 queries into Lucene
    queries, and this was being done incorrectly for the root node: an
    extra '/' was always being appended to the path to ensure the parent node
    was not included in the results, but doing this on the root path resulted
    in a path of "//", which was not correct.
    
    After this was fixed, the test case added (and ignored) for MODE-1469 was
    re-enabled and modified to run correctly. All other tests also pass.
  2. MODE-1558 - Updated the handling & releasing of thread pools. Subsyst…

    Horia Chiorean
    Horia Chiorean committed Jul 17, 2012
    …ems (e.g. query, sequencing etc) should close their executors when shutdown is called on them.
  3. MODE-1469 - Updated AS7 subsystem with the "systemContentMode" settin…

    Horia Chiorean
    Horia Chiorean committed Jul 17, 2012
    …g which controls the behavior of system content indexing.
  4. MODE-1469 - Fixed indexing of system nodes. Only /jcr:system, /jcr:sy…

    Horia Chiorean
    Horia Chiorean committed Jul 17, 2012
    …stem/jcr:nodeTypes and /jcr:system/mode:namespaces will be indexed.
    
    Updated the JSON configuration to control whether system indexing is: sync, async or disabled, with the latter being the default. Updated the query tests to reflect those changes.
    
     Working on this, another issue surfaced: we weren't closing properly the executor services that we're creating during the repository startup. Therefore, some changes were added in this area as well.
Commits on Jul 16, 2012
  1. MODE-1546 Handled periodic failure

    rhauch committed Jul 16, 2012
    Attempted to fix a failure that shows up periodically, most of the time when the indexing
    is being performed, but sometimes in other cases. The error is due to the inability of
    a CachedNode to compute its path segment, because the parent no longer contains a child reference
    to the node. This change attempts to correct that problem by identifying the case and throwing
    a NodeNotFoundInParent exception. The indexer can simply ignore such nodes.
  2. Added a comment to pom that references an online thread of where I go…

    elvisisking committed Jul 16, 2012
    …t the pom code to solve the build error.
  3. Added comment to pom that references the online thread where I got th…

    elvisisking committed Jul 16, 2012
    …e pom code to solve the build issue.
  4. Fixed javadoc errors that occurred when moving from Eclipse Helios to…

    elvisisking committed Jul 16, 2012
    … Eclipse Indigo. Also fixed a pom error that occurred when upgrading Eclipse.
Commits on Jul 13, 2012
  1. MODE-1556 Corrected the handling of != (or <>) query criteria on nume…

    rhauch committed Jul 13, 2012
    …ric fields
    
    Numeric values were not being handled consistently in the indexes and in queries. For example,
    some values were being treated as integer values in the indexes and queried as longs (which
    doesn't work). Additionally, some of the logic of handling and combining "not" queries was
    incorrect.
    
    All unit and integration tests pass with these changes.
  2. MODE-1549 JCR-SQL2 uses '<>' rather than '!=' as not-equal-to operator

    rhauch committed Jul 13, 2012
    ModeShape abstract syntax tree used '!=' as the "not-equal-to" operator, but did
    alias '<>' to '!='. This change reverses this so that the '<>' token is considered
    the primary operator, and '!=' is aliased.
Commits on Jul 11, 2012
  1. MODE-1458 Implemented Shareable Nodes

    rhauch committed Jul 5, 2012
    The JCR shareable nodes feature was implemented using the linked nodes capability of
    the internal Repository Cache framework. All basic functionality is implemented
    and all TCK tests pass with the exception of several tests that have bugs/issues
    (see https://issues.apache.org/jira/browse/JCR-3370, https://issues.apache.org/jira/browse/JCR-3371
    and https://issues.apache.org/jira/browse/JCR-3380). Two other shareable node
    tests are currently failing because of how Node.save() is implemented
    (see https://issues.jboss.org/browse/MODE-1552). Note that Node.save() is deprecated,
    and a workaround is to simply use Session.save() instead.
  2. MODE-1416 - Updated the rest server to produce not only application/j…

    Horia Chiorean
    Horia Chiorean committed Jul 11, 2012
    …son but also text/plain and text/html, based on the Accept header of the request.
    
    Clients which rely on the old (default application/json behavior) should specify the Accept header in the request.
Commits on Jul 10, 2012
  1. MODE-1433 - Added a JDBC datasource to the AS7 kit and an integration…

    Horia Chiorean
    Horia Chiorean committed Jul 10, 2012
    … test which verifies that the DS is correctly setup and can correctly access the repository.
Commits on Jul 9, 2012
  1. MODE-1545 - Implemented a mechanism for the binary store to persist t…

    Horia Chiorean
    Horia Chiorean committed Jul 9, 2012
    …he mime-types of binary values, in order to avoid detection each time.
    
    While working on this, another issue was exposed and fixed: when persisting data to disk (e.g. the AS7 kit), the defaultPrimaryType of node type definitions was not properly re-initialized on a restart.
Commits on Jul 5, 2012
  1. MODE-1544 - Removed the mime-type detector field from the execution c…

    Horia Chiorean
    Horia Chiorean committed Jul 5, 2012
    …ontext, as the binary storage & binary values should be the "owners" of the mime-type related information.
  2. MODE-1544 - Extracted Tika based mime-type detector and updated the w…

    Horia Chiorean
    Horia Chiorean committed Jul 5, 2012
    …ay mime type detectors are loaded and initialized.
    
    Because of the AS7 support, the detectors need to be loaded via the Environment class loader. Also, because text extraction (and implicitly mime-type detection) can be triggered preemptively, some of Tika's excluded dependencies needed to be added back (e.g. for .java and .class files)
Commits on Jul 3, 2012
  1. MODE-1527 -Added AS7 support for configuring and working with text ex…

    Horia Chiorean
    Horia Chiorean committed Jul 3, 2012
    …tractors. To validate the configuration and Arquillian integration test was added as well.
Commits on Jul 2, 2012
  1. MODE-1527 - Updated the text extraction process to be triggered preem…

    Horia Chiorean
    Horia Chiorean committed Jul 2, 2012
    …ptively by the binary storage, when a binary value is created.
    
    For this to be possible, the context of the extractor cannot contain any node-specific information. Also, this exposed an issue with the SharedLockingInputStream: if the stream is closed in the "read" methods, Tika's parsers will keep reading it over and over (effectively reopening it each time) either causing OOM errors or duplicate text. This means the "close" call from the read methods has been removed.
Commits on Jun 29, 2012
  1. MODE-1527 - Updated the text extraction process to be asynchronous wi…

    Horia Chiorean
    Horia Chiorean committed Jun 29, 2012
    …th the indexing process.
    
     This meant that a few changes were needed:
     - the text extractors configuration has been updated to resemble that of the sequencers
     - the binary store interface has been updated to be able to store and retrieve extracted text for a given binary (source) value
     - the TextExtractors class was changed to become the entry point into text extraction
  2. MODE-1527- Migrated initial version of the text extractors from 2.x a…

    Horia Chiorean
    Horia Chiorean committed Jun 28, 2012
    …nd updated the binary store to extract the text and mime-type of binary values
    
    Working on this, exposed how fragile - lock-wise - is working with the SharedLockingInputStream (FileSystemBinaryStore). Therefore, I've updated the mime-type detection so that mark & reset are avoided as much as possible, also making sure that streams are closed after each detector finishes with them.
    The Tika version was bumped to 1.1 which required also the update of the POI version to 3.8.
Commits on Jun 28, 2012
  1. MODE-1536 Corrected one use of System.nanoTime

    rhauch committed Jun 28, 2012
    Previously, most of the uses of System.nanoTime to determine the duration of an operation were changed to compute the absolute value of the difference in nanoTime results. One usage was missed, and this corrects that omission.
Commits on Jun 26, 2012
  1. Updated release notes

    rhauch committed Jun 26, 2012
  2. MODE-1525 Adding a node without specifying primary type incorrectly a…

    rhauch committed Jun 26, 2012
    …ssumed "nt:unstructured"
    
    If a parent has a child node definition with a default primary node type, and a child
    (with the correct name to match the child node definition) is added without specifying
    the primary type, the child incorrectly was assigned a primary type of "nt:unstructured".
    This was because the "AbstractJcrNode.addNode(String)" method incorrectly hard-coded
    the node type to "nt:unstructured" rather than determining the child's node type from
    the parent's node type(s). Simply removing this assumption fixes the problem.
    
    Two new tests were added to replicate this problem and verify the changes do correct the
    problem.
    
    All unit and integration tests pass with these changes.
  3. MODE-1537 Corrected how manual transactions are implemented

    rhauch committed Jun 25, 2012
    ModeShape's initial support for JTA transactions included a bug that allowed this
    only to work for the first transaction. The state of that first transaction was kept,
    so ModeShape never registered a Synchronization implementation for subsequent transactions.
    Although the data was correctly persisted as part of these transactions, none of the
    events for the subsequent transactions were fired and thus the local caches became
    out of date and failed to expose the newly added/modified/deleted content.
    
    ModeShape's internal transaction abstraction was corrected and simplified so that
    the transactional state is never managed by the system but instead is referenced
    by the client code using the transactions. This does make the API slightly more complex,
    but it greatly simplifies the implementation and corrects the transactional behavior.
    
    A new integration test was added to use a SLSB with BMT to create a subgraph of nodes
    in one (or more) transactions, verify the structure (using a different transaction),
    and remove the subgraph in another transaction.
    
    All unit and integration tests pass with these changes.
  4. MODE-1507 - Updated the AS7 kit to include the WebDav war and also ad…

    Horia Chiorean
    Horia Chiorean committed Jun 26, 2012
    …ded an Arquillian integration test