Hi Lisa,

On Wed, 2021-02-17 at 09:13 -0500, Lisa Davidson wrote:
> Are lucene indexes all stored in the JCR? On the file system, I see
> an
> index directory under our deployment.
> sh-4.4$ pwd
> /opt/sling/repository/index
> sh-4.4$ ls -lh
> total 0
> drwxr-xr-x. 2 1001230000 root  6 Feb 17 10:10 indexWriterDir
> drwxr-xr-x. 3 1001230000 root 43 Feb 17 10:11 lucene-1598447109480
> sh-4.4$
> 
> Is what's on the local storage a copy of what's in the JCR?

There are multiple types of indexes, see [1]. Lucene indexes are stored
as lucenes files in the filesystem, while (IIRC) reference, counter and
property indexes are stored in the repository.

So this is expected.

[2] might also provide some context.

Thanks,
Robert

[1]: https://jackrabbit.apache.org/oak/docs/query/indexing.html
[2]: https://jackrabbit.apache.org/oak/docs/query/lucene.html

Reply via email to