有没有办法在没有重新索引的情况下向jacrkabbit存储库添加新的索引?
IE配置文件中的索引如下所示
<?xml version="1.0"?>
<!DOCTYPE configuration SYSTEM "http://jackrabbit.apache.org/dtd/indexing-configuration-1.0.dtd">
<configuration xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:ns="http://unicorn.eu/ns" xmlns:jcr="http://www.jcp.org/jcr/1.0">
<index-rule nodeType="ns:DMSDocument">
<property>ns:name</property>
</index-rule>
如果我把它改成这个
<?xml version="1.0"?>
<!DOCTYPE configuration SYSTEM "http://jackrabbit.apache.org/dtd/indexing-configuration-1.0.dtd">
<configuration xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:ns="http://unicorn.eu/ns" xmlns:jcr="http://www.jcp.org/jcr/1.0">
<index-rule nodeType="ns:DMSDocument">
<property>ns:name</property>
<property>ns:fullpath</property>
</index-rule>
</configuration>是否有任何方法使新索引生效而不必重新索引整个存储库?
发布于 2013-10-02 10:10:55
你可以:
https://stackoverflow.com/questions/18977098
复制相似问题