Performance: Search + Lucene + indexes + Amazon cloud

2013-12-03 Thread Samuel Cox
Hi, My company has been successfully (albeit naively) using Jackrabbit for several years in an on-prem product. About the only things we've customized are some node types, the use of MySQL over Derby, and some trivial search configuration. Now, we're trying to leverage this product in Amazon's

Node.checkin performance

2011-09-26 Thread Samuel Cox
Hi all, I'm trying to deal with a performance problem when checking in a node. Assume I have the following node A with 2 child String properties, B and C. A, B, and C are all versionable. B and C have onParentVersion copy. When I do the following: A.checkout A.getProperty(B).set(prop, value)

Re: jcr:like on long string properties (Jackrabbit 1.6.1)

2011-03-29 Thread Samuel Cox
Unfortunately, our normal data will be that long. We've gone a long time precisely because our tests didn't contain realistic data (lesson learned:). On 3/29/11, Jukka Zitting jzitt...@adobe.com wrote: Hi, Samuel Cox: I'll try that, but I'm pretty sure my problem starts at 256 chars

Re: jcr:like on long string properties (Jackrabbit 1.6.1)

2011-03-29 Thread Samuel Cox
Ok Jukka, I'll give that a try. I'm assuming what I'd need to do is send the entire JSON string as one token for Lucene. Assuming I have anywhere from 100 to 10,000 nodes (10,000 would be rare) where each node can contain one of these big string properties (anywhere from 1,000 to 1,000,000

Re: jcr:like on long string properties (Jackrabbit 1.6.1)

2011-03-28 Thread Samuel Cox
Upgrading to 1.6.4 did not help. I guess I'll try upgrading to 2.x to see if that works... As mentioned, any suggestions would be appreciated:) On Wed, Feb 23, 2011 at 9:40 AM, Samuel Cox crankydi...@gmail.com wrote: Hi, I have been operating under the assumption that I could use jcr:like

Re: jcr:like on long string properties (Jackrabbit 1.6.1)

2011-03-28 Thread Samuel Cox
Regards, Jeroen On Mon, Mar 28, 2011 at 8:58 PM, Samuel Cox crankydi...@gmail.com wrote: First, I just tried with Jackrabbit and got the same result. Basically, using jcr:like as part of a xpath query is not working for long string properties.  I have the following Scala app written

jcr:like on long string properties (Jackrabbit 1.6.1)

2011-02-23 Thread Samuel Cox
Hi, I have been operating under the assumption that I could use jcr:like to in effect do a substring search across string properties. This worked well for all my test cases. The problem is that the real data has strings that are much longer than my test data (bad test data:). Anyhow, should

Re: RepositoryCopier requires shutdown of source repositoy?

2010-01-04 Thread Samuel Cox
Jukka Zitting wrote: Hi, On Thu, Dec 10, 2009 at 1:34 PM, Samuel Cox crankydi...@gmail.com wrote: I need to backup our repository periodically and anticipate using the RepositoryCopier class. I was curious that 2 of the methods in the Javadoc mention that the source repo must not be modified

Re: RepositoryCopier requires shutdown of source repositoy?

2009-12-16 Thread Samuel Cox
Guo Du wrote: On Tue, Dec 15, 2009 at 6:01 PM, Samuel Cox crankydi...@gmail.com wrote: however, I'm wondering why shouldn't I just backup the entire directory into a zip file? Restore would just be replace existing directory with the exploded zip. It won't work if your PM is not in local file

Re: RepositoryCopier requires shutdown of source repositoy?

2009-12-16 Thread Samuel Cox
Guo Du wrote: On Wed, Dec 16, 2009 at 3:21 PM, Samuel Cox crankydi...@gmail.com wrote: doing a restore (exploding the zip); however, if only reads are happening, do I have to shutdown when doing the backup (creating the zip)? Yes you can. But not recommended especial for production system

Re: RepositoryCopier requires shutdown of source repositoy?

2009-12-15 Thread Samuel Cox
Jukka Zitting wrote: Hi, On Thu, Dec 10, 2009 at 1:34 PM, Samuel Cox crankydi...@gmail.com wrote: I need to backup our repository periodically and anticipate using the RepositoryCopier class. I was curious that 2 of the methods in the Javadoc mention that the source repo must not be modified

RepositoryCopier requires shutdown of source repositoy?

2009-12-10 Thread Samuel Cox
Hi, I need to backup our repository periodically and anticipate using the RepositoryCopier class. I was curious that 2 of the methods in the Javadoc mention that the source repo must not be modified during the call; however, the others do not. Is it possible for me to perform a backup while

Re: RepositoryCopier requires shutdown of source repositoy?

2009-12-10 Thread Samuel Cox
On Thu, Dec 10, 2009 at 6:58 AM, Jukka Zitting jukka.zitt...@gmail.com wrote: Hi, On Thu, Dec 10, 2009 at 1:34 PM, Samuel Cox crankydi...@gmail.com wrote: I need to backup our repository periodically and anticipate using the RepositoryCopier class.  I was curious that 2 of the methods

Jackrabbit on Equinox (OSGi)

2009-12-03 Thread Samuel Cox
well for months. However, we are soon going to migrate to Jackrabbit 1.6 in order to pick up the RepositoryCopier tool AND to the Equinox OSGi container. Many thanks. -- Samuel Cox

Jackrabbit support (paid or otherwise)

2009-12-03 Thread Samuel Cox
else? Thanks. -- Samuel Cox

xpath searches using version labels

2009-04-29 Thread Samuel Cox
= 'foo']) Combine results. Or something like that. Am I way off base? Any tips are appreciated. -- Samuel Cox

Re: Error indexing workspace after deleting repository folder in Windows XP

2009-04-16 Thread Samuel Cox
I'll try that. Thanks. Marcel Reutegger wrote: Hi, On Wed, Apr 15, 2009 at 17:35, Samuel Cox crankydi...@gmail.com wrote: Marcel Reutegger wrote: Hi, the following line indicates that there is existing content in the file system: ERROR BundleDbPersistenceManager - failed to read bundle

Re: Error indexing workspace after deleting repository folder in Windows XP

2009-04-15 Thread Samuel Cox
for index 11 not registered. Given that, what steps can I take to get the repository in a useful state? In other words, how do I fix these indexing problems? On Mon, Apr 13, 2009 at 23:25, Samuel Cox crankydi...@gmail.com wrote: Hi, I'm using Jackrabbit 1.4.2. On Windows XP, I deleted my

Re: Error indexing workspace after deleting repository folder in Windows XP

2009-04-14 Thread Samuel Cox
repository.xml and the repository directory where I run my app. After deleting those, I ran my app again. They get created again, but I get the mentioned indexing problem. On Mon, Apr 13, 2009 at 11:25 PM, Samuel Cox crankydi...@gmail.com wrote: Hi, I'm using Jackrabbit 1.4.2. On Windows XP, I

Re: Error indexing workspace after deleting repository folder in Windows XP

2009-04-14 Thread Samuel Cox
Alexander Klimetschek wrote: On Tue, Apr 14, 2009 at 6:30 PM, Samuel Cox crankydi...@gmail.com wrote: Hmm, no further idea at the moment. Please try the latest release, Jackrabbit 1.5.4 [1], and see if the problem still occurs. Unfortunately, that is not an option. I am using Jackrabbit

Node.restore, but without immediately persisting changes

2009-03-30 Thread Samuel Cox
. Is there a recommended strategy for achieving this? Thanks. -- Samuel Cox

Re: Help controlling log messages

2009-03-18 Thread Samuel Cox
Thanks! I've really wasted a lot of time on that. Jukka Zitting wrote: Hi, On Wed, Mar 18, 2009 at 7:45 PM, Samuel Cox crankydi...@gmail.com wrote: I need some help configuring jackrabbits logging. Do you see anything wrong with the following? Yes, slf4j-simple-1.5.2.jar You should

Versioning nodes to accomplish snapshot behavior

2009-02-16 Thread Samuel Cox
the previous versions using VersionHistory.removeVersion(versionName). Of course this gets kind of tricky. For example, if I change N4.P, then I need to remove the versions created for N1, N3, and N4. Does this sound crazy??? -- Samuel Cox

Re: Versioning nodes to accomplish snapshot behavior

2009-02-16 Thread Samuel Cox
Alexander Klimetschek wrote: On Mon, Feb 16, 2009 at 8:27 PM, Samuel Cox crankydi...@gmail.com wrote: My users can change Ps or add Ns a bunch of times and we don't generally care about those changes. However, at some point in time we want to take a snapshot so that the current state

Workspaces vs Folders (nodes)

2008-11-05 Thread Samuel Cox
is that workspaces only add more benefit than nodes (containers) for #3. Any tips and/or suggested reading is welcomed. -- Samuel Cox