Re: getSize() return -1 with oak

2019-08-12 Thread zhouxu
Thanks for your reply.In order to solve the problem of query result set returning-1, we use Solr synchronous indexing method when writing node, and use query effect feature to get the number of result sets, so it takes 2 seconds to write a node. Is there any way to improve write performance? --

intellij idea compile and Run jackrabbit oak server exception

2019-06-11 Thread zhouxu
hello expert! i check out oak source from https://svn.apache.org/repos/asf/jackrabbit/oak/trunk with idea,after maven clean install ,i run oak server (org.apache.jackrabbit.oak.standalone.OakServer)throws exception like this: Error:osgi: [oak-commons] Exception: java.lang.ClassNotFoundExce

Re: How to get a remote solr instance working with oak?

2019-06-11 Thread zhouxu
Thanks for your relpy! I have the following questions: 1.Must we use the OSGi framework for oak integration solr? 2.Can we use jcr_sql2 statements for data queries? Including statistics of the number of documents generated over a period of time, currently getSize () return -1. -- Sent from: ht

How to get a remote solr instance working with oak?

2019-05-15 Thread zhouxu
hello expert! I am trying to get a remote solr instance working with oak. Can anyone provide complete documentation or operational procedures? -- Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Dev-f523400.html

Re: Failure to do anything,throw CommitFailedException: OakMerge0004

2019-05-15 Thread zhouxu
Thank you very much! The OakMerge0004 exception has been handled in your way! Are you familiar with oak solr? -- Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Dev-f523400.html

Re: Failure to do anything,throw CommitFailedException: OakMerge0004

2019-05-14 Thread zhouxu
When used in OSGi environment then various Oak components can be configured using OSGi Configuration Support. can you give me some message or reference link about "Repository OSGi Configuration" except sling? -- Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Dev-f523400.html

Re: Failure to do anything,throw CommitFailedException: OakMerge0004

2019-05-14 Thread zhouxu
Thanks for your reply! We have used oak API and JCR API to develop business functions. If we use Apache Sling, will the completed business functions have an impact? -- Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Dev-f523400.html

oak used in production system

2019-05-13 Thread zhouxu
hello expert! I want to know how to use oak in the production environment? That's what we did before: 1. We create a mongodb database called oak. In the development stage, node data and file content data are stored in the same mongodb. 2. Simply embedding oak into our application system cms, ref

Re: Failure to do anything,throw CommitFailedException: OakMerge0004

2019-05-13 Thread zhouxu
Yes,I donot know how to use DocumentNodeStoreService in our web application,can you give some usefull message or code,thanks! -- Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Dev-f523400.html

Failure to do anything,throw CommitFailedException: OakMerge0004

2019-05-09 Thread zhouxu
Hello expert: 1. To use Oak in my project simply add a dependency to org.apache.jackrabbit:oak-jcr:1.10.2 and to javax.jcr:jcr:2.0。 2. we construct a Repository instance,use mongodb like this: MongoClient mongoClient=getMongoClient(mongodbIP,mongodbPort,dbName,userName,password); D

Re: getSize() return -1 with oak

2019-05-02 Thread zhouxu
Thanks for your reply! The amount of data we need to count is extraordinarily large, well over 10,000. Does outofmemory occur when the amount of data is too large? -- Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Dev-f523400.html

getSize() return -1 with oak

2019-04-29 Thread zhouxu
We use oak1.10.2 inside a web application to store documents How can we program statistics such as : the total number of documents compute the number of documents per property values for a given property ? we try these code,but the .getSize() return -1,What should I do? The code is as follows

Re: Does the oak have management pages

2019-04-29 Thread zhouxu
we use oak in my project simply,just add a dependency to org.apache.jackrabbit:oak-jcr:1.0.0 and to javax.jcr:jcr:2.0 . can we use sling to connect to our oak repository ?or Do you have any other way? thanks! -- Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Dev-f523400.html

Does OAK support transactions?

2019-04-29 Thread zhouxu
-- Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Dev-f523400.html

Re: Does the oak have management pages

2019-04-29 Thread zhouxu
Thanks for your reply. Does the MongoDB DocumentStore have an `explore` command? -- Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Dev-f523400.html

Does the oak have management pages

2019-03-31 Thread zhouxu
hello experts! Does the oak have management pages that allow me to browse the nodes I created in my workspace?we use oak develop content manager system we cannot see any things except through interface. -- Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Dev-f523400.html

[jira] [Comment Edited] (JCR-4419) modify or delete attributes of an existing type when an instance already exists

2019-02-27 Thread zhouxu (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16779320#comment-16779320 ] zhouxu edited comment on JCR-4419 at 2/27/19 1:34 PM: --     I t

[jira] [Comment Edited] (JCR-4419) modify or delete attributes of an existing type when an instance already exists

2019-02-27 Thread zhouxu (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16779320#comment-16779320 ] zhouxu edited comment on JCR-4419 at 2/27/19 1:34 PM: --     I t

[jira] [Reopened] (JCR-4419) modify or delete attributes of an existing type when an instance already exists

2019-02-27 Thread zhouxu (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhouxu reopened JCR-4419: -     I think this is an bugger,it make exist attribute can not be modified . I donot known how to resolved this

[jira] [Created] (JCR-4419) modify or delete attributes of an existing type when an instance already exists

2019-02-26 Thread zhouxu (JIRA)
zhouxu created JCR-4419: --- Summary: modify or delete attributes of an existing type when an instance already exists Key: JCR-4419 URL: https://issues.apache.org/jira/browse/JCR-4419 Project: Jackrabbit Content