hsp | 29 May 20:13 2015
Picon

Exclude some properties from fulltext index

I would to know how to configure in indexing-configuration.xml to certain
properties from certain nodes to NOT be fulltext indexed (they are string,
they can be indexed, but not fulltext), and all anothers String properties
from that node type and descendants to remains with fulltext.
I am trying to reduce the index size and performance for searching in
general, but I just see this point to adjust, but I did not find this kind
of config...

Thanks.
Helio.

--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Exclude-some-properties-from-fulltext-index-tp4662524.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Torgeir Veimo | 25 May 05:43 2015
Picon

using mix:lockable throwing Unresolved conflicts in oak 1.2.2

I have some code which has been working flawlessly for a long time for
getting sequence numbers, but with oak 1.2.2 it's started throwing
exceptions;

javax.jcr.RepositoryException: Unable to unlock node /ka:system/ka:counter
at org.apache.jackrabbit.oak.jcr.delegate.NodeDelegate.unlock(NodeDelegate.java:837)
at org.apache.jackrabbit.oak.jcr.lock.LockManagerImpl$8.perform(LockManagerImpl.java:176)
at org.apache.jackrabbit.oak.jcr.lock.LockManagerImpl$8.perform(LockManagerImpl.java:170)
at org.apache.jackrabbit.oak.jcr.lock.LockOperation.perform(LockOperation.java:68)
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:216)
at org.apache.jackrabbit.oak.jcr.lock.LockManagerImpl.perform(LockManagerImpl.java:214)
at org.apache.jackrabbit.oak.jcr.lock.LockManagerImpl.unlock(LockManagerImpl.java:170)
at org.apache.jackrabbit.util.Locked.runAndUnlock(Locked.java:280)
at org.apache.jackrabbit.util.Locked.with(Locked.java:195)
at org.apache.jackrabbit.util.Locked.with(Locked.java:124)
at org.apache.jackrabbit.util.Locked.with(Locked.java:103)
at no.xx. content.services.repository.RepositoryService.getNewSerialNumber(RepositoryService.java:230)

[...]

then

Caused by: org.apache.jackrabbit.oak.api.CommitFailedException:
OakState0001: Unresolved conflicts in /ka:system/ka:counter
at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.failOnMergeConflict(ConflictValidator.java:84)
at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.propertyChanged(ConflictValidator.java:60)
at org.apache.jackrabbit.oak.spi.commit.CompositeEditor.propertyChanged(CompositeEditor.java:91)
at org.apache.jackrabbit.oak.spi.commit.EditorDiff.propertyChanged(EditorDiff.java:93)
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.compareProperties(SegmentNodeState.java:596)
at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:456)
(Continue reading)

Kevin Pfaff | 22 May 15:24 2015
Picon

Node creation and querying in one transaction?

Hi,

we are trying to add transactions into our application. But we found a use case we could not find a solution for.

Environment:
Tomcat 7
Spring 3.2.13
Springmodules 0.8
Jackrabbit 2.10.1

Someone had the same problem
http://jackrabbit.510166.n4.nabble.com/Problems-with-XPath-query-no-result-td519373.html,
we are creating and querying nodes in one transaction.
The query is implemented with xpath.
Our application is often creating a node, querying all nodes from the type of the created one and updating
another node.
This all happens in one single Transaction because an exception in the update should also rollback the
creation (new node might be corrupted).
This is also the reason why we wanted to integrate transactions in our application.

Is there a possible way to query on all current nodes (transient space and persistent space)?

We also tried JCR_SQL2 and JCR_QOM with the same result (result is missing the new node)

Thanks and Regards,
Kevin
Marcel Reutegger | 21 May 11:22 2015
Picon

[ANNOUNCE] Apache Jackrabbit 2.10.1 released

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit 2.10.1. This release fixes an important security issue in
the jackrabbit-webdav module reported by Mikhail Egorov.

The release is available for download at:

 http://jackrabbit.apache.org/downloads.html

See the full release notes below for details about this release.

Release Notes -- Apache Jackrabbit -- Version 2.10.1

Introduction
------------

This is Apache Jackrabbit(TM) 2.10.1, a fully compliant implementation of the
Content Repository for Java(TM) Technology API, version 2.0 (JCR 2.0) as
specified in the Java Specification Request 283 (JSR 283).

Apache Jackrabbit 2.10.1 is a patch release that contains fixes and
improvements over Jackrabbit 2.10. Jackrabbit 2.10.x releases are considered
stable and targeted for production use.

Security advisory (JCR-3883 / CVE-2015-1833)
--------------------------------------------

This release fixes an important security issue in the jackrabbit-webdav module
reported by Mikhail Egorov.

When processing a WebDAV request body containing XML, the XML parser can be
(Continue reading)

hsp | 19 May 19:29 2015
Picon

Phrase querie searches not working in portuguese

Hi,

In jackrabbit 2.10.0, trying to do some searches (I remember that before
migrate to jack 2.x it was working...)
For example, I have a 4 txt file with the following text:
FA: the quick brown fox jumps, over the lazy dog.
FB: the quick brown fox over, jumps the lazy dog.
FC: A rápida raposa marron salta acima do preguiçoso cão.
FD: A rápida raposa marron acima salta do preguiçoso cão.

So, in my search, I want to retry it with some exact phrases and the
following xpath expression results are:

//element(*, nt:file)[jcr:contains(jcr:content,'"quick brown fox jumps, over
the lazy"')
results FA

//element(*, nt:file)[jcr:contains(jcr:content,'"quick brown fox over, jumps
the lazy"')
results FB

//element(*, nt:file)[jcr:contains(jcr:content,'quick brown fox jumps, over
the lazy')
results FA, FB

//element(*, nt:file)[jcr:contains(jcr:content,'"rápida raposa marron salta
acima do preguiçoso"')
No results (would be FC...)

//element(*, nt:file)[jcr:contains(jcr:content,'"rápida raposa marron acima
(Continue reading)

Davide Giannella | 18 May 10:20 2015
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.0.14 released

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit Oak 1.0.14. The release is available for download at:

  http://jackrabbit.apache.org/downloads.html

See the full release notes below for details about this release.

Release Notes -- Apache Jackrabbit Oak -- Version 1.0.14

Introduction
------------

Jackrabbit Oak is a scalable, high-performance hierarchical content
repository designed for use as the foundation of modern world-class
web sites and other demanding content applications.

Apache Jackrabbit Oak 1.0.14 is a patch release that contains fixes and
improvements over Oak 1.0. Jackrabbit Oak 1.0.x releases are considered
stable and targeted for production use.

The Oak effort is a part of the Apache Jackrabbit project.
Apache Jackrabbit is a project of the Apache Software Foundation.

Changes in Oak 1.0.14
---------------------

Bug

    [OAK-2569] - LuceneIndex#loadDocs can throw
    IllegalArgumentException
(Continue reading)

Flavel Heyman | 14 May 18:08 2015
Picon

Import Root or /jcr:system

****Part 1:

I receive an exception while trying to import the ³/jcr:system² node into
³/³:  javax.jcr.ItemExistsException: Node with the same UUID exists:node
/jcr:system

When I run through debug mode the node IDs are not equal causing
Jackrabbit to throw the exception:
existing.getId() = "deadbeef-cafe-babe-cafe-babecafebabe²
id = null

My simple import code:

ByteArrayOutputStream out = new ByteArrayOutputStream();
			session.exportSystemView("/jcr:system", out, false, false);
			System.out.println("WAIT: "+ new String(out.toByteArray()));
//Insert a breakpoint here to modify data before replacing the current
data, simple test

			InputStream in = new ByteArrayInputStream(out.toByteArray());
			session.importXML("/", in,
ImportUUIDBehavior.IMPORT_UUID_COLLISION_REPLACE_EXISTING);
			session.save();

Jackrabbit code in SessionImporter (line 377 for Jackrabbit 2.6.5 (my
current version) (also exists for the same line in 2.10.0¹s version)):

if (!(existing.getId().equals(id)
                            && (uuidBehavior ==
ImportUUIDBehavior.IMPORT_UUID_COLLISION_REMOVE_EXISTING
(Continue reading)

Marcel Reutegger | 5 May 13:53 2015
Picon

[ANNOUNCE] Apache Jackrabbit Oak 1.2.2 released

The Apache Jackrabbit community is pleased to announce the release of
Apache Jackrabbit Oak 1.2.2. The release is available for download at:

  http://jackrabbit.apache.org/downloads.html

See the full release notes below for details about this release.

Release Notes -- Apache Jackrabbit Oak -- Version 1.2.2

Introduction
------------

Jackrabbit Oak is a scalable, high-performance hierarchical content
repository designed for use as the foundation of modern world-class
web sites and other demanding content applications.

Apache Jackrabbit Oak 1.2.2 is a patch release that contains fixes and
improvements over Oak 1.2. Jackrabbit Oak 1.2.x releases are considered
stable and targeted for production use.

The Oak effort is a part of the Apache Jackrabbit project.
Apache Jackrabbit is a project of the Apache Software Foundation.

Changes in Oak 1.2.2
--------------------

Improvements

  [OAK-2726] - Avoid repository traversal for trivial node type changes
  [OAK-2755] - Consolidated JMX view of all EventListener related statistics
(Continue reading)

Satya Deep Maheshwari | 5 May 10:17 2015
Picon

Events generated on subtree move

Hi

While moving a subtree, the events (removed, added and moved) are generated
for only for the root of the subtree while when adding a subtree, events
are generated for all the nodes in the subtree. Perhaps this is done for
performance reasons as I infer from [1]? Is these some way to selectively
turn on event generation for child nodes on a subtree move?

Regards
Satya Deep

[1] - https://issues.apache.org/jira/browse/OAK-1459
connuser1 connuser1 | 30 Apr 10:53 2015
Picon

Handling webdav DELETE request

Hi

We have implemented IOHandler, PropertyHandler, CopyMoveHandler in our
project to plugin some of our application logic while handling webdav
requests. I am able to handle PUT and MOVE via importContent and move
methods respectively. How can I handle DELETE request?

Thanks
Dinesh Babu | 27 Apr 11:06 2015

RE: Jackrabbit search does not find for umlaut character Ÿ (keyboard shortcut for this character is ALT+0159)


Got more info on this. This looks like a jackrabbit defect.

Jackrabbit search query for exact term which contains the capital umlaut character Ÿ does not work as long
as the term does not start with this letter. Only LIKE search works for this scenario. The lower case ÿ
works fine. All other omlaut characters upper/lower case work fine.

This is the following query that we fire which does not work
SELECT * FROM [pb:community] WHERE ISDESCENDANTNODE('/community') AND ( LOWER([jcr:title]) =
LOWER('umlautŸ' ))

But If I change the query to as below it does work. But we can't do it as we have to do an exact search
SELECT * FROM [pb:community] WHERE ISDESCENDANTNODE('/community') AND ( LOWER([jcr:title]) LIKE
LOWER('%umlautŸ%) )

On further investigation I found that exact search query works if we don't use LOWER in the query . ie.,
SELECT * FROM [pb:community] WHERE ISDESCENDANTNODE('/community') AND ( [jcr:title] = 'umlautŸ' ).

Regards,
Dinesh Babu
From: Dinesh Babu
Sent: 17 April 2015 11:36
To: 'users <at> jackrabbit.apache.org'; 'dev <at> jackrabbit.apache.org'
Subject: Jackrabbit search does not find for umlaut character Ÿ (keyboard shortcut for this character is ALT+0159)

Hi,

I am a newbie here.

Jackrabbit search query for exact term Ÿ does not work. Only LIKE search works for this character
(Continue reading)


Gmane