Hey Michael,
You could do it by combining it, search all properties by using the '.' and
then combine it with an and expression where you say myproperty does not
contain myvalue (by prefixing it with a minus sign)
For example: /jcr:root//*[jcr:contains(.,'myvalue') and
Just as an extra, seeing as JCR XPath is actually deprecated, you could also
easily do it in JCR SQL2 ;)
select * from [nt:base] as s where contains(*,'myvalue') and not
contains(myproperty, 'myvalue')
> On 4 Feb 2017, at 21:48, Roy Teeuwen <r...@teeuwen.be> wrote:
>
> Hey Mi
Hey Michael,
That's exactly what first argument is for. The dot "." means that it will
search all the properties. If you want to search in a specific property, you
could make it jcr:contains(@myproperty,"my value")
Greets
Roy
> On 4 Feb 2017, at 19:31, zerocoo...@web.de wrote:
>
> Hi guys,
>
Hey all,
I am trying to do a query where the actual word I am looking for looks like
%%myword%%. I have tried the following in XPATH and JCR_SQL2, but it seems that
the % sign is in both query languages a wildcard, meaning i will find all the
nodes containing myword instead of %%myword%%. How
:contains(., 'myword')]
>
>
> There might be also a difference between Jackrabbit 2.x and Jackrabbit
> Oak. Which one (and which version) do you use?
>
> Regards,
> Thomas
>
>
>
> On 11/01/17 18:18, "Roy Teeuwen" <r...@teeuwen.be> wrote:
>
&g
"like", '%' is a wildcard
> (same as for SQL), so you must not escape the first and last character.
> But because you want to search for '%', you need to escape all other cases.
>
> Regards,
> Thomas
>
>
>
>
> On 12/01/17 12:36, "Roy Teeuwen" <
Yes i did ;), same results
Greets,
Roy
> On 11 Jan 2017, at 18:30, Clay Ferguson <wcl...@gmail.com> wrote:
>
> did you try this?
>
> CONTAINS(s.*, '\%\%myword\%\%')
>
> Best regards,
> Clay Ferguson
> wcl...@gmail.com
>
>
> On Wed, Jan 11, 2017
Hey Lance,
Seeing as you are going to use Sling, have you looked at Composum[1]? It has
all the features you need from CRX, it makes packages, it has a repository
browser,...
It has MIT License and will even be included from the upcoming release of
Sling, version 9, on.
Greets,
Roy
[1]
Hey all,
I have been using the oak migration tool for some time now (oak-upgrade jar)
and use it to do a copy of one repository to another, which works very well for
us. One thing I would like to do is to exclude a specific folder, which is
available in multiple folders. Is it possible to use
> Rergards,
>
>
> On 09.06.2017 14:41, Roy Teeuwen wrote:
>> Hey all,
>>
>> I am trying to do a vlt rcp between two machines to sync some content from a
>> production environment to an acceptance environment. I am getting the
>> following ex
Hey all,
I am trying to do a vlt rcp between two machines to sync some content from a
production environment to an acceptance environment. I am getting the following
exception:
[ERROR] Error during intermediate save (1048); try again later:
javax.jcr.nodetype.ConstraintViolationException:
Hey all,
We are facing the a reindex issue with with Oak (1.4.8) when the async reindex
gets triggered, this has been going on for 3 days now and because of this the
datastore has grown to 1TB of data because it keeps on trying to reindex the
Lucene index. Could anyone help me in what would be
Hey,
Nop, I didn't get to solve it, in the end I used the oak-migration tool[1] to
export the data from one server and import it in the other. This does not have
the issue and can just import everything and is a lot faster than VLT (an
export of a repo and datastore of around 15GB takes
when going for the second part would be to expand the
oak-migration tool to optionally specify which paths it should export based on
a specific date property being larger/smaller than the one you pass as parameter
Any opinions / suggestions on this are more than welcome.
Greets,
Roy Teeuwen
[1
Hey guys,
I have the following situation:
- I have a sentence, for example "This is my %%sentence%% I want to search for"
and I would like to query for the term %%sentence%% (could be in any property)
- The default built-in full text oak lucene index uses the Standard Analyzer,
which parses
Hey Thomas,
Thanks for the reply! How would I make sure the cost is always higher?
There is also second option that I was thinking about, correct me if I'm wrong
please:
- Create a new lucene property index that searches for a nonexisting property
- Create an IndexFieldProvider class that
No one who could help me out on this issue?
> On 26 Jun 2018, at 20:13, Roy Teeuwen wrote:
>
> Hey guys,
>
> I have the following situation:
>
> - I have a sentence, for example "This is my %%sentence%% I want to search
> for" and I would like to quer
cher.group(1),
Field.Store.NO));
}
}
@Override
public Set getSupportedTypes() {
Set supportedTypes = new HashSet<>();
supportedTypes.add("nt:unstructured");
return supportedTypes;
}
}
Greets,
Roy
> On 13 Jul 2018, at 13:20, Roy Teeuwen wrote
this (see
> https://issues.apache.org/jira/browse/OAK-6584), but so far not much
> commitment in making his happen. Patches welcome though!
>
> Michael
>
> On 4 March 2018 at 15:22, Roy Teeuwen <r...@teeuwen.be> wrote:
>> Hey guys,
>>
>> I am using Oak 1.6.6 w
d be
> placed under scrutiny.
>
> Michael
>
> On 04.03.18 15:22, Roy Teeuwen wrote:
>> Hey guys,
>>
>> I am using Oak 1.6.6 with an authoring system and a few publish systems. We
>> are using the latest TarMK that is available on the 1.6.6 branch and al
Hey guys,
I am using Oak 1.6.6 with an authoring system and a few publish systems. We are
using the latest TarMK that is available on the 1.6.6 branch and also using the
separate file datastore instead of embedded in the segment store.
What I have noticed so far is that the segment store of
Hey guys,
We have upgraded to Oak 1.6.5 (AEM 6.3) and we have noticed that the offline
compaction is a lot slower than it was initially in AEM 6.1. While we had
compaction of 5-15 mins for 15GB at first, it now takes half an hour. Is there
any performance tweaking / parameters we can use to
t* contain parts of
> this data and it *might* be possible to recover *some* of it manually.
> If this is not needed (I haven't seen a case where it was so far), you
> can safely remove them.
>
> Michael
>
> .
>
> On 5 March 2018 at 14:44, Roy Teeuwen <r...@teeuwen.be>
Hey,
We have a system that migrates our sites based on migration rules, the
psuedocode is as the following:
session = getNewSession("migration-user");
for(Site site in sites) {
migrateSite(session)
}
Everything works fine, but we would like it more performant, so the change I
did was
Hey all,
I had some issues with datastore blob files missing. After running the oak-run
datastorecheck I found the path/ids of the blobs that were missing. I fixed it
by copying over the blobs from another environment. But alternatively, how
could I know which jcr path these blobs actually
Hey,
I would like to add a custom nodetype / mixintype to be indexed. I have seen
there is a nodetype index, but I don't want to change the OOTB one because this
would be hard to maintain.
I have found the following page but this actually makes it even worse:
Hey all,
(double posted because I thought this might be more relevant in jackrabbit
after thinking about it)
In the framework that we use (AEM) there is a folder structure as following:
/content/launches/2019/08/29/my-launch/content/site-name
I would like to do a query to search for
hanks,
> Konrad
>
>> On 5. Jul 2023, at 21:13, Roy Teeuwen wrote:
>>
>> Hey all,
>>
>> I'd like to skip the validation for only a certain subpackage (with other
>> subpackages contained in that subpackage). Is this possible? I see that
>> there
ch a rule could be donated to ASF FileVault so other
> could use it too easily.
>
> Konrad
>
>> On 7. Jul 2023, at 07:31, Roy Teeuwen wrote:
>>
>> Hey Konrad,
>>
>> Sure, the case is the following:
>>
>> I have the following reactor module:
Hey all,
I'd like to skip the validation for only a certain subpackage (with other
subpackages contained in that subpackage). Is this possible? I see that there
is a skipSubPackageValidation, but this skips all sub packages while I only
want to do one. I also see you can make custom
Anyone has a viable solution for the question? Any other way of doing this, for
example with oakpal, is also an option, it would just make the build slower I
suspect
> On 7 Jul 2023, at 07:31, Roy Teeuwen wrote:
>
> Hey Konrad,
>
> Sure, the case is the following:
>
>
s direct
> dependencies to prevent transitive packages from being accidentally embedded.
> Probably that helps already.
> Konrad
>
>> On 17. Jul 2023, at 16:16, Roy Teeuwen wrote:
>>
>> Hey Konrad,
>>
>> OK, I created a ticket to follow this up:
>>
32 matches
Mail list logo