Re: Node access on concurrent sessions.

2015-10-12 Thread Alexander Klimetschek
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

Re: How does Jackrabbit compares to Elasticsearch

2015-09-09 Thread Alexander Klimetschek
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

Re: Node creation and querying in one transaction?

2015-05-25 Thread Alexander Klimetschek
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

Re: Phrase querie searches not working in portuguese

2015-05-25 Thread Alexander Klimetschek
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

Re: getSize() == -1 with oak

2014-08-01 Thread Alexander Klimetschek
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

Re: Getting list of nodes for user

2014-08-01 Thread Alexander Klimetschek
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?

Re: multi-core processors

2014-08-01 Thread Alexander Klimetschek
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

Re: XPath Search with negate in contains

2014-05-16 Thread Alexander Klimetschek
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:

Re: [GQL] Semantics of OR in GQL queries

2014-01-09 Thread Alexander Klimetschek
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

Re: [GQL] Semantics of OR in GQL queries

2014-01-08 Thread Alexander Klimetschek
: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

Re: Indexing configuration

2013-12-22 Thread Alexander Klimetschek
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

[GQL] Semantics of OR in GQL queries

2013-12-18 Thread Alexander Klimetschek
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)

Re: Select jcr:path in JCR SQL2

2013-11-18 Thread Alexander Klimetschek
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

Re: Evaluating jackrabbit use for media content

2013-10-23 Thread Alexander Klimetschek
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

Re: Evaluating jackrabbit use for media content

2013-10-22 Thread Alexander Klimetschek
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

Re: jcr:path

2013-09-23 Thread Alexander Klimetschek
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

Re: Spring jcr version to use with Jack Rabbit 2.6.3

2013-08-29 Thread Alexander Klimetschek
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

Re: escaping of quotes

2013-07-12 Thread Alexander Klimetschek
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

Re: Jackrabbit conflict

2013-07-12 Thread Alexander Klimetschek
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,

Re: Query: Compare two properties of a node

2013-07-02 Thread Alexander Klimetschek
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

Re: How to compare properties of same node?

2013-05-09 Thread Alexander Klimetschek
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?

Re: Learning Jackrabbit - Extracted files are length zero

2013-04-24 Thread Alexander Klimetschek
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

Re: Learning Jackrabbit - Extracted files are length zero

2013-04-23 Thread Alexander Klimetschek
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

Re: How to present files to the user using WebDAV

2013-02-12 Thread Alexander Klimetschek
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

Re: Node reference URL/file path in WebDav

2013-02-12 Thread Alexander Klimetschek
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 =

Re: How to add ChildNodeDefinition to NodeTypeTemplate while creating a custom NodeType using NodeTypeManager?

2013-01-28 Thread Alexander Klimetschek
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

Re: How to add ChildNodeDefinition to NodeTypeTemplate while creating a custom NodeType using NodeTypeManager?

2013-01-25 Thread Alexander Klimetschek
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

Re: pathNotFoundException altough session is saved

2013-01-18 Thread Alexander Klimetschek
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

Re: pathNotFoundException altough session is saved

2013-01-16 Thread Alexander Klimetschek
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

Re: get user who created the version

2013-01-10 Thread Alexander Klimetschek
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,

Re: get user who created the version

2013-01-10 Thread Alexander Klimetschek
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

Re: Register custom node types globally

2013-01-08 Thread Alexander Klimetschek
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

Re: Search - contains with wildcard and UUIDs and dashes

2012-12-17 Thread Alexander Klimetschek
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

Re: Search - contains with wildcard and UUIDs and dashes

2012-12-17 Thread Alexander Klimetschek
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

Re: Search - contains with wildcard and UUIDs and dashes

2012-12-14 Thread Alexander Klimetschek
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

[Xpath] fn:name() requires ISO9075 encoding?

2012-12-11 Thread Alexander Klimetschek
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

Re: How to make indexing case insensitive

2012-12-08 Thread Alexander Klimetschek
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

Re: Removing empty VersionHistory

2012-12-08 Thread Alexander Klimetschek
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

Re: Avoid binary streaming

2012-11-28 Thread Alexander Klimetschek
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

Re: Where are users stored in the repository?

2012-10-17 Thread Alexander Klimetschek
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

Re: Where are users stored in the repository?

2012-10-12 Thread Alexander Klimetschek
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

Re: JCR-SQL2 query

2012-10-12 Thread Alexander Klimetschek
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

Re: Avoid binary streaming

2012-10-05 Thread Alexander Klimetschek
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

Re: Aggregate index usage

2012-10-01 Thread Alexander Klimetschek
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;

Re: java.sql.SQLException: Failed to parse bundle

2012-08-29 Thread Alexander Klimetschek
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.

Re: JCR Viewer

2012-07-19 Thread Alexander Klimetschek
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

Re: jcr sql2 - contains() full text search not working

2012-07-19 Thread Alexander Klimetschek
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

Re: Modify nt:frozenNode

2012-07-19 Thread Alexander Klimetschek
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

Re: JCR usage scenaria - howto organize content

2012-07-19 Thread Alexander Klimetschek
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

Re: JCR usage scenaria - howto organize content

2012-07-19 Thread Alexander Klimetschek
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

Re: jcr:contains query issues

2012-06-05 Thread Alexander Klimetschek
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')]

Re: SQL2 doesn't work with own custom node type

2012-03-27 Thread Alexander Klimetschek
-custom-node-type-tp4492642p4508412.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com. -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Bulk loading nodes

2012-03-27 Thread Alexander Klimetschek
. 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

Re: nodeType question.

2012-03-16 Thread Alexander Klimetschek
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

Re: Jackrabbit - storage documents ( file system / Mysql)

2012-03-16 Thread Alexander Klimetschek
-Mysql-tp4474715p4476719.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com. -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Bulk load of several nodes

2012-01-17 Thread Alexander Klimetschek
manager layer. Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Bulk load of several nodes

2012-01-16 Thread Alexander Klimetschek
). 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

Re: AW: Bulk load of several nodes

2012-01-16 Thread Alexander Klimetschek
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

Re: Trouble in saving excel file to jackrabbit node

2012-01-10 Thread Alexander Klimetschek
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

Re: sort by updated / created

2012-01-04 Thread Alexander Klimetschek
. Multiple order by entries are supported in jcr xpath in Jackrabbit. Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Querying recently created data returns empty result

2011-12-23 Thread Alexander Klimetschek
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

Re: Order By in XPath with weakreference

2011-12-10 Thread Alexander Klimetschek
(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

Re: Copy versionable node to a standard one (non-versionable)

2011-11-30 Thread Alexander Klimetschek
. 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

Re: Multi-value column selector problem

2011-11-22 Thread Alexander Klimetschek
QueryResult.getNodes() instead of getRows() right away. Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: AW: AW: How do I get the total size of nodes/rows from a QueryResult

2011-10-26 Thread Alexander Klimetschek
and retry. [0] http://wiki.apache.org/jackrabbit/Search -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: AW: How do I get the total size of nodes/rows from a QueryResult

2011-10-25 Thread Alexander Klimetschek
-- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Conditional access control

2011-10-10 Thread Alexander Klimetschek
. Any other ideas how to tackle that problem? Principal-based ACLs maybe? Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: ACLs, GlobPattern and move

2011-09-30 Thread Alexander Klimetschek
to /departmentB. Yes. Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Search from multiple things

2011-09-27 Thread Alexander Klimetschek
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

Re: Search from multiple things

2011-09-27 Thread 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

Re: Setting up Access Control

2011-09-14 Thread Alexander Klimetschek
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

Re: Setting up Access Control

2011-09-14 Thread Alexander Klimetschek
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

Re: Setting up Access Control

2011-09-14 Thread Alexander Klimetschek
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

Re: Plan to integrate Apache Shiro with Jackrabbit?

2011-09-08 Thread Alexander Klimetschek
. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Question regarding Jackrabbit clustering

2011-08-07 Thread Alexander Klimetschek
Engineer at be2 Germany GmBH -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: bidirectional query conversion, or abstract query representation?

2011-08-07 Thread Alexander Klimetschek
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

Re: Concurrent Updates

2011-08-07 Thread 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

Re: Strange XPath Issue

2011-07-08 Thread Alexander Klimetschek
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

Re: Strange XPath Issue

2011-07-05 Thread Alexander Klimetschek
/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

Re: lucene search separator

2011-06-22 Thread Alexander Klimetschek
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

Re: CndImporter

2011-06-20 Thread Alexander Klimetschek
, but existing data can be thrown away). But the above still holds true... Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Storing (Image) Files in Webroot

2011-06-09 Thread Alexander Klimetschek
? 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

Re: Storing (Image) Files in Webroot

2011-06-09 Thread Alexander Klimetschek
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

Re: Adding nodes with references within a single transaction via webdav

2011-06-09 Thread Alexander Klimetschek
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

Re: I set a TransientRepository, I get a RepositoryImpl ?

2011-06-06 Thread Alexander Klimetschek
the TransientRepository instance, if you need the implementation-specific stuff. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Custom Binary property

2011-06-03 Thread Alexander Klimetschek
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

Re: Using rescrictions in Principal based ACL

2011-05-31 Thread Alexander Klimetschek
between child nodes and properties of a node as it performs a simplistic path-matching. regards angela -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Using rescrictions in Principal based ACL

2011-05-31 Thread Alexander Klimetschek
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

Re: get child nodes sorted by jcr:name

2011-05-16 Thread Alexander Klimetschek
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

Re: Need pointers for Jackrabbit database persistence related informations!

2011-05-09 Thread Alexander Klimetschek
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

Re: problem with removeMixin

2011-05-03 Thread Alexander Klimetschek
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

Re: Keep nodes order with JCR-SQL2 queries

2011-05-02 Thread Alexander Klimetschek
/maincontent/).getNodes() This gives you the order, will be faster more efficient than a query. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: DataStore files not removed when content is removed

2011-04-29 Thread Alexander Klimetschek
-- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: Create readonly property

2011-04-27 Thread Alexander Klimetschek
multiple times already: http://markmail.org/message/x6meweddg4bys6tr Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: XPATH question

2011-04-13 Thread Alexander Klimetschek
sets (from different paths). Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: problem with removeMixin

2011-04-12 Thread Alexander Klimetschek
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

Re: problem with removeMixin

2011-04-11 Thread Alexander Klimetschek
it, is not really a mixin anymore. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: why no pattern for item definition names?

2011-04-08 Thread Alexander Klimetschek
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

Re: How to mix structured and unstructured content on a node?

2011-04-04 Thread Alexander Klimetschek
-- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

Re: How to mix structured and unstructured content on a node?

2011-04-04 Thread Alexander Klimetschek
and their constraints that you actually want to allow. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel

  1   2   3   4   5   6   7   8   9   10   >