When I remove this folder only Lucene based search tools will disappear,
won't they?
And will the rest be the same like i think?
RafalJanik pisze:
Thank You:)
I understand how DataStore works. Important thing for was what exactly
is in [workspaces/WORKSPACE_NAME/index]
and I've found it and second thing - is workspace important and
necessary, e.g. what will happen when I remove this folder -
will db or repository have any problems. I've done it and everything
seems to be ok - it's why i've asked about workspaces and db.
Alexander Klimetschek pisze:
Basically all data (JCR nodes and properties) is stored in the
PersistenceManager, eg. the mysql db in your case. The FileSystem is
only used if the persistence manager uses it, which is not the case
for the (recommended) bundle db persistence managers. The Lucene
search index always uses the filesystem
(workspaces/WORKSPACE_NAME/index). The datastore is used for large
binary properties (eg. files stored as nt:file in the repo), which are
faster when stored separately from smaller properties and on the
filesystem than in a database (and it avoids duplicates, see
http://wiki.apache.org/jackrabbit/DataStore).
Regards,
Alex
On Fri, Oct 10, 2008 at 12:44 PM, RafalJanik <[EMAIL PROTECTED]>
wrote:
Hi, I'm trying to understand how JacRabbit works...
In my repository.xml I have <datastore> <persistanceManager> with
mysql.
In datastore there is sended date which size is lower then 100.
I know that in MySQL db JackRabbit creates four tables for
workspace, but
when add nodes with the same properties only the workspace in
filesystem is
changing and tables in mysqldb. My question is what exactly is
putting into
db and what into filesystem after adding a new node? Is workspace
filesystem
only working copy of part of data stored in db? How works connections
between datastore and db?
Cheers,
Rafael