On 08.10.2015, at 09:30, Clay Ferguson wrote:
>
> I'm not an expert on multiple separate processes/machines, but beware that
> once you open a session it's 'view' of the data will be locked in at that
> point I think
In Oak (Jackrabbit 3) yes.
But in previous Jackrabbit
On 09.09.2015, at 09:19, Flavel Heyman wrote:
> 2. You really really want a folder hierarchy.
> (I say #2 as .5 because I believe tagging fills this need, so who cares
> about folders?)
That is what a content repository is all about, compared to an RDBMS. This
Not that I am aware of, the JCR spec defines that search index _can_ be
available right _after_ a session.save() (depending on the repository
implementation, Jackrabbit will usually do full text indexes asynchronously for
performance reasons). But having it available before the save is not
For the expression inside jcr:contains, have you used
Text.escapeIllegalXpathSearchChars()?
http://wiki.apache.org/jackrabbit/EncodingAndEscaping
Cheers,
Alex
On 20.05.2015, at 10:54, hsp piccina...@ibest.com.br wrote:
Hi;
It's been hard to solve this...
Well, I found that if my phrase
On 30.07.2014, at 07:44, Thomas Mueller muel...@adobe.com wrote:
As a user of the JCR API, I wouldn't expect getSize to potentially take
multiple minutes. So following the principle of least surprise, I wouldn't
want that.
I agree with Jukka. Since any combination has people come back and
On 16.07.2014, at 04:05, techie2k developer.spr...@gmail.com wrote:
I have many 'nt:folder' types created and upon each folder creation,
permissions has been granted to different set of users. Now I need to get
list of nodes based on user(with read and write) persmissions.
What do you mean?
On 23.07.2014, at 14:22, lod laura.odonn...@gmail.com wrote:
Looking through the jackrabbit documentation to attempt to confirm that
jackrabbit will use multi-cores if available on a machine. I’ve seen some
configuration information for search that implies to me that it does, but
have found
On 09.05.2014, at 07:20, hsp piccina...@ibest.com.br wrote:
I did not find any option to negate a contains in XPath, I tried:
It's not() [1].
jcr:contains(.,'NOT \|') - returns nodes with NOT in index...
jcr:contains(.,'- \|') - returns none
and some other combinations...
This might work:
On 09.01.2014, at 01:23, Michael Dürig mdue...@apache.org wrote:
property:one OR property:two other:alpha OR other:beta
=
(property = one OR property = two) AND (other = alpha OR other = beta)
Which would be a rather strange interpretation though. Usually AND has higher
:29, Alexander Klimetschek aklim...@adobe.com wrote:
Hi,
we came up with an undocumented part of the GQL search language:
How are OR statements grouped with the rest? The problem is that there is no
grouping concept in GQL, and it is not documented [1]. Take this GQL
statement
On 19.12.2013, at 23:31, anjan poliset...@gmail.com wrote:
aggregate primaryType=nt:file
includejcr:content/include
/aggregate
...
select * from [nt:file] as t where contains(t.*,'*admin*').
Is there anyway to not include this property in the index? Any suggestions.
You are
Hi,
we came up with an undocumented part of the GQL search language:
How are OR statements grouped with the rest? The problem is that there is no
grouping concept in GQL, and it is not documented [1]. Take this GQL statement
for example:
type:asset path:/content OR property:something
a)
On 17.11.2013, at 11:30, Datenheld datenh...@gmx.de wrote:
Hi again,
here's a question about jcr:path in queries.
Consider the following query:
SELECT base.[jcr:path], content.[jcr:lastModified],
content.[jcr:lastModifiedBy] FROM [nt:base] as base LEFT OUTER JOIN
[nt:resource] as
On 23.10.2013, at 08:00, Santiago Gala santiago.g...@gmail.com wrote:
With this caveat, multi byterange support does not look like it is working.
My second test:
$ curl -v -u admin:admin -H Range: bytes=0-20,21-63
http://localhost:8080/index.html
As curl points, the response has no
On 22.10.2013, at 08:31, Santiago Gala santiago.g...@gmail.com wrote:
On Tue, Oct 15, 2013 at 12:10 PM, Julian Reschke julian.resc...@gmx.dewrote:
Well, if this (Range request support) is indeed missing, we really really
should add it.
Adding support for single range requests for GET
On 19.09.2013, at 15:28, Stanislav Orlenko orlenko.s...@gmail.com wrote:
How to implement similar select with JCR 2.0?
select * from cq:Page where jcr:path =
'/content/company/%/support/downloads'
I cannot find something like a pseudo-property jcr:path for JCR 2.0
First of all and most
The spring jcr module is not developed by the Apache Jackrabbit. AFAIU it is
inactive for a number of years already.
But you don't need it to use JCR withing Spring applications. What it does is
IMHO a bad approach with JCR anyway - it sees JCR as just another DAO/OCR
framework and uses
Looking at the JCR 2.0 spec, section 6.7.34 [0], I don't see it clearly defined:
Literal ::= CastLiteral | UncastLiteral
UncastLiteral ::= UnquotedLiteral | ''' UnquotedLiteral ''' | '“'
UnquotedLiteral '“'
UnquotedLiteral ::= /* String form of a JCR Value, as defined in §3.6.4
Conversion of
Jackrabbit always depends on a very specific Lucene version, for 2.6.2 that
would be Lucene 3.6.0 (that's specified in the jackrabbit parent pom [0] found
via mvnrepository.com search, with the same version as the
jackrabbit-standalone release). A newer version usually does not work,
Yes, that's right, you cannot compare 2 properties (would be a join, and there
are only few joins possible based on the node hierarchy containment).
Cheers,
Alex
On 21.06.2013, at 10:39, Ulrich for...@gombers.de wrote:
I need to compare two DATE-properties and work on those nodes where the
On 08.05.2013, at 18:10, aimran aimra...@gmail.com wrote:
However, using inner join SQL2 query: select x.NAME,x.prop1,x.prop2 from
[nt:unstructured] as x inner join [nt:unstructured] as y on x.prop1=y.prop2
How can I alter the query to return only row2? Is it possible with SQL2 or
XPATH?
Please note that the logs etc. did not come through to the mailing list. I can
see them on Nabble, but please note that Nabble is not the reference for the
mail archive and doesn't respect the actual mailling list rules, for example
not allowing attachments. So I would avoid using nabble and
Can you read the other non-binary properties? Do you do a session save? Do you
seen any errors in the log? What is your repository / persistence manager
configuration?
Cheers,
Alex
On 22.04.2013, at 18:05, garihood garih...@flambeau.com wrote:
Thanks for the reply.
I've created an
How JCR content is presented over WebDAV in Jackrabbit also depends on
so-called IO Handlers.
See http://markmail.org/message/rg4im42n3h53lt7i
Cheers,
Alex
On 11.02.2013, at 14:16, Christoph Läubrich lae...@googlemail.com wrote:
Hi Bertrand,
thanks for your fast reply. So the only option
On 12.02.2013, at 16:40, katsu k...@haessler.com wrote:
I have the following problem. I am accessing jackrabbit repository via
Webdav. Now I would like to add a file node which the content (data) should
point to a locally saved file path/URL. E.g.
Node fileNode =
On 28.01.2013, at 05:28, Shah.Abhishek engr.abhisheks...@gmail.com wrote:
Is there any way using which I can get the NodeDefinition of a previously
registered NodeType using NodeTypeManager?
AFAICS, the only thing in the NodeDefinitionTemplate that refers to an
exisiting node type is the
On 25.01.2013, at 16:16, Shah.Abhishek engr.abhisheks...@gmail.com wrote:
I *need to* create a Custom Node type using the NodeTypeManager and other
api available in Jackrabbit 2.4.2. I can successfully create a custom node
type but am unable to add ChildNodeDefinitions to that node type.
The
On 16.01.2013, at 21:00, polofan123 polo...@web.de wrote:
yes I read the wiki about PMs and there it says the *Fs PM is very fast with
Datastore so I chose it. Can you give some explanation why not to use it ?
Because of the two sentences before:
• If the JVM process is killed the
On 16.01.2013, at 18:04, polofan123 polo...@web.de wrote:
Am I doing something wrong here or does
jackrabbit just need some time to update the workspace ?
No, it needs to be available right away (on the same cluster instance, if you
have a cluster).
Is that using the same session or a
On 10.01.2013, at 13:05, aleamb aamb...@albaelectronica.com wrote:
¿Can be get the user who created a specific version of a node?
I have tried to add mix:lastModified mixin for to read the last user who
modified a node through of jcr:lastModifiedBy attribute, but it does not
work; ie,
On 10.01.2013, at 16:27, aleamb aamb...@albaelectronica.com wrote:
I don't understand why JSR-282 orjackrabbit do not consider an attribute for
storing user id for a nt:version node. It is very useful for version
management.
You can quite easily set any desired properties before you do a
On 29.12.2012, at 14:31, Łukasz Kaleta lukaszkal...@gmail.com wrote:
Hi,
I would like to register mine custom node types globally:
I am doing following:
repository = new TransientRepository(config, home);
Session session = repository.login((new
On 17.12.2012, at 15:38, Robert Haycock
robert.hayc...@artificial-solutions.com wrote:
The fact is it finds the node when searching with the whole ID and no
wildcard but doesn't work when you add a wildcard.
That in my eyes is clearly a bug.
As I mentioned, contains() is full text search
On 17.12.2012, at 18:02, Robert Haycock
robert.hayc...@artificial-solutions.com wrote:
I don't follow you. I'm just storing the id as a string.
Then why do you want to use full text search on it?
Cheers,
Alex
On 14.12.2012, at 18:33, Robert Haycock
robert.hayc...@artificial-solutions.com wrote:
These don't work...
WHERE CONTAINS(document.id, 'fadeb7f3-224c-48e5-a92f-ca6e1939fa3b*') // Note
the wildcard on the end
WHERE CONTAINS(document.id, 'fadeb7f3*')
Please could someone shed some light
Hi,
is it right that fn:name() = 'name' requires name to be ISO9075 encoded just
like with normal location steps? I.e. for names starting with a digit
(1_something).
Cheers,
Alex
On 06.12.2012, at 16:43, Robert Haycock
robert.hayc...@artificial-solutions.com wrote:
That explains it. I thought the analyzer was also used for indexing, from my
Lucene days.
The analyzer is used both for indexing the full text index *and* for parsing
the terms in the jcr:contains() of
On 07.12.2012, at 13:09, Robert Haycock
robert.hayc...@artificial-solutions.com wrote:
How do I remove a VersionHistory which has no versions (other than
jcr:rootVersion)?
I think that's not possible (yet):
https://issues.apache.org/jira/browse/JCR-3238
Cheers,
Alex
On 28.11.2012, at 12:10, Cech. Ulrich ulrich.c...@aeb.de wrote:
That's basically correct, but sometimes, it is important to have the file
directly. In combination with some long-life hardware storage systems, it is
necessary to change the file attribute and/or the lastmodified...
I don't
On 13.10.2012, at 13:49, connuser1 connuser1 connus...@gmail.com wrote:
Thanks Alex for providing the information!
But when I dumped the repository structure to a file, I see the users
created in /rep:security/rep:authorizables/rep:users I see no /home node.
Sorry, we use this here and I was
On 12.10.2012, at 16:16, connuser1 connuser1 connus...@gmail.com wrote:
Are the users created as nodes within the repository. I create users using
the usermanager.createUser method. I want to know the path where they get
created by default.
/home/users/*
/home/groups/*
Cheers,
Alex
On 12.10.2012, at 09:51, danisevsky danisev...@gmail.com wrote:
could someone please help me with JCR-SQL2 query? I would like to do
find out count of all files (photos) which are in some folder
hierarchy.
This query is almost what I need
Select * from [nt:file] as file WHERE
On 04.10.2012, at 16:02, polofan123 polo...@web.de wrote:
In my jackrabbit datastore there are large binary files stored. I can browse
the datastore filesystem and open these files without any problems.
Now how can I use these files from within my application? I of course could
use the
On 24.09.2012, at 10:29, Arunas F arun...@gmail.com wrote:
Workspace indexing_configuration.xml:
?xml version=1.0?
!DOCTYPE configuration SYSTEM http://jackrabbit.apache.org/dtd/indexing-
configuration-1.2.dtd
configuration
xmlns:nt=http://www.jcp.org/jcr/nt/2.0;
Caused by: java.io.IOException: Unable to create property value:
java.lang.Exception: no such BLOB:
0001be06-f6b5-40ca-be5e-0e88d8c327a3.1570322.1.0
AFAICS, this tells that it cannot find a certain blob in the sql database for a
property (probably a binary) that is referenced in some node.
On 19.07.2012, at 02:28, Alex Leshinsky wrote:
Is there such a thing as generic JCR viewer (think TOAD for Oracle)?
If yes can somebody point me to it? Many thanks!
http://wiki.apache.org/jackrabbit/JcrLinks#Open_Source_Tools_and_Libraries
Cheers,
Alex
On 27.06.2012, at 17:19, Furst, Carl wrote:
So here's the sql I use:
select * from [nt:resource] where contains([jcr:data], 'include');
The full text index for binary properties is by default aggregated on the node
itself, not on the jcr:data property. You address that with * and you need
On 13.06.2012, at 16:18, yace.za wrote:
The data structure of my nodes has change. I would like to reflect these
change on the archived node (using the jackrabit versioning).
But when I try to edit a frozen node(via Crx) I get an error.
What is the best method to edit them ?
You can't, as
Have you read http://wiki.apache.org/jackrabbit/DavidsModel ?
Cheers,
Alex
On 09.06.2012, at 02:24, Günther Schmidt wrote:
Hi,
this question isn't specifically Jackrabbit related but more on how to
use your JCR, ie. how to organize your data within it.
I have most of my data now in
Also check out this talk:
http://vimeo.com/44298693
http://www.slideshare.net/bdelacretaz/a-jcr-view-of-the-world-everything-is-content-everything-is-a-tree
Cheers,
Alex
On 28.03.2012, at 05:46, Torgeir Veimo wrote:
I'm trying to query (using xpath xyntax) for a number of nodes with
sorting based on how many tags on each node matches a set of tags.
I'm currently trying to do this using
//element(*, nt:base)[jcr:contains(@tagproperty, 'tag1 tag2 tag3')]
-custom-node-type-tp4492642p4508412.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
.
Using a local database, such as with the derby or h2 persistence managers, will
be better. There is no benefit in using a remote relational database for
Jackrabbit except for clustering.
Cheers,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
On 15.03.2012, at 03:00, mmjose26 wrote:
Is it possible get the nodeType by SQL2 query?
Not sure if it works, but maybe if you ask for row.getValue(jcr:primaryType).
Cheers,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
-Mysql-tp4474715p4476719.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
manager layer.
Cheers,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
). Thus if a node is fetched from the
persistence manager, it will already have all properties in-memory.
[0] http://wiki.apache.org/jackrabbit/Search
HTH,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
don't know exactly)
[0] http://wiki.apache.org/jackrabbit/PersistenceManagerFAQ
[1] http://wiki.apache.org/jackrabbit/CacheManager
HTH,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
fileContent = file.getNode(jcr:content);
Note that fileContent is the same as resNode here, so you don't have to
fetch it again.
fileContent.setProperty(jcr:data, fileStream);
session.save();
Cheers,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
.
Multiple order by entries are supported in jcr xpath in Jackrabbit.
Cheers,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
is saved (that is
per spec - only full text indexing of binary data might get updated with a
delay). When using transactions, the actual persistence is moved from the
session save to the transaction commit, and I think that holds true for
the search index update as well.
Cheers,
Alex
--
Alexander
(JCR identifier: 149553de-2646-4b95-8577-17c10776c4a8)
So, how can I use order by in xpath with weakreferences?
Thanks
k.m.
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
.
getProperty + setProperty) and excluding the versioning properties
altogether (and not setting the mix:versionable on the target node).
Cheers,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
QueryResult.getNodes() instead of getRows() right away.
Cheers,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
and retry.
[0] http://wiki.apache.org/jackrabbit/Search
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
.
Any other ideas how to tackle that problem?
Principal-based ACLs maybe?
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
to /departmentB.
Yes.
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
possible (see mode shape), it's not really the sweet
spot of JCR.
The nice thing about JCR and Jackrabbit is actually that you can store
everything in it (fine-granular data plus binary files), and then you have
a unified API and a search across everything.
Cheers,
Alex
--
Alexander Klimetschek
your custom search that might
conflict with that.
Hence I think it makes sense to build such custom searches on the
application level, using observation listeners. Of course that makes it
asynchronous.
Cheers,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
the AccessManager in the repository.xml, but the default setup should be right
(no need to do anything).
The default admin user is admin/admin, and with this one you can create users,
etc. and set acls.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
the DefaultLoginModule.
[0]
http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/repository.xml
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
december, but
this hasn't been released yet. See also [1] for the status of the 2.3 release.
[0] https://issues.apache.org/jira/browse/JCR-2834
[1] http://markmail.org/message/soxy2dddc4rqculj
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
Engineer at be2 Germany GmBH
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
not mistaken, but it should be possible, since there is
an exact mapping defined between qom and JCR-SQL2 in the spec.
Generating xpath from it is more difficult, and there are some features
that are in one language but not the other (e.g. joins not in xpath).
Regards,
Alex
--
Alexander Klimetschek
() is transactional in itself. The support of Java
transactions in JCR is only needed when you need to want 2-phase-commit
involving a totally different persistence mechanism.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
creates the vfs:metaData in the first place? There is no such node
types or code in Jackrabbit that I know of - this looks like your
application is creating/importing this structure, right?
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
/1.0/6.4.2.2_Workspace_Root.html
[1] http://www.day.com/specs/jcr/1.0/6.6.3.4_Path_Constraint.html
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
of a query), or if the
query is too dynamic, you could use an observation listener and build a
separate index, with a separate lucene index for example (on the
application level).
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
, but existing data can be thrown away).
But the above still holds true...
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
?
That is the wrong route for many reasons. One is that the Datastore has
the concept of storing binaries by hash so the objects are immutable and
if you have the same binary multiple times in the JCR under different
paths, it's only stored once.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe
the file system - so
there is almost zero overhead, or the same as compared to a httpd reading
the file from the file system.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
move, but that is usually not very difficult).
See also
http://wiki.apache.org/jackrabbit/DavidsModel#Rule_.235:_References_conside
red_harmful.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
the TransientRepository instance, if you need the implementation-specific
stuff.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
retrieving the URL, but
not downloading it yet, etc.) which you want to be able to handle on the
application level.
[0]
http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.7.11.3%20nt:link
edFile
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
between child
nodes and properties of a node as it performs a simplistic path-matching.
regards
angela
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
confused by that separation as well. I clarified
it in the example code, providing both ways and explaining why the
separation is needed.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
On 16.05.11 14:54, decebal decebal.s...@gmail.com wrote:
Sorting in-memory it's not an option because of poor performance.
Why not? How many nodes do you typically have there?
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
properties here). Binary properties (such as those inside nt:file nodes) would
go into the *_binval or into the datastore, depending on the datastore and
binary blob configuration.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
On 12.04.11 07:31, Alexander Klimetschek aklim...@adobe.com wrote:
This could be the case because (mandatory) properties defined by the mixin
are still set on the node.
As I just learned, this is actually wrong - removing a (normal) mixin
should automatically remove the properties it defines
/maincontent/).getNodes()
This gives you the order, will be faster more efficient than a query.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
multiple times already:
http://markmail.org/message/x6meweddg4bys6tr
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
sets (from different paths).
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
this
is
happening or how I can fix this issue?
This could be the case because (mandatory) properties defined by the mixin
are still set on the node.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
it, is not really a mixin
anymore.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
tell you, if you go
partially unstructured, go the whole way. Whenever you come up with a
new map-something property pattern, you have to update your node types.
With fully unstructured nodes you don't.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
and their constraints that you actually want to allow.
Regards,
Alex
--
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel
1 - 100 of 977 matches
Mail list logo