As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
putpropertywhatyouneed
<bean id="indexerAndSearcherFactory" class="org.alfresco.repo.service.StoreRedirectorProxyFactory"> <property name="proxyInterface"> <value>org.alfresco.repo.search.impl.lucene.LuceneIndexerAndSearcher</value> </property> <property name="defaultBinding"> <ref bean="admLuceneIndexerAndSearcherFactory"></ref> </property> <property name="redirectedProtocolBindings"> <map> <entry key="workspace"> <ref bean="admLuceneIndexerAndSearcherFactory"></ref> </entry> <entry key="avm"> <ref bean="avmLuceneIndexerAndSearcherFactory"></ref> </entry> </map> </property> <property name="redirectedStoreBindings"> <map> <entry key="workspace://lightWeightVersionStore"> <ref bean="admLuceneIndexerAndSearcherFactory"></ref> </entry> <entry key="workspace://version2Store"> <ref bean="admLuceneIndexerAndSearcherFactory"></ref> </entry> </map> </property> </bean>
var l_customerDocs = search.luceneSearch("workspace://version2Store","@cm\\:modifier:"+args.user); logger.log("lucene query executed"); model.m_documents_node=l_customerDocs;
Node Type: {http://www.alfresco.org/model/versionstore/2.0}versionHistory, Node Aspects: [{http://www.alfresco.org/model/system/1.0}referenceable, {http://www.alfresco.org/model/content/1.0}auditable],Node Type: {http://www.alfresco.org/model/content/1.0}content, Node Aspects: [{celdra.model}DocumentDetails, {http://www.alfresco.org/model/content/1.0}auditable, {http://www.alfresco.org/model/system/1.0}referenceable, {http://www.alfresco.org/model/content/1.0}titled, {http://www.alfresco.org/model/content/1.0}author, {http://www.alfresco.org/model/versionstore/2.0}version, {http://www.alfresco.org/model/content/1.0}versionable],Node Type: {http://www.alfresco.org/model/content/1.0}content, Node Aspects: [{celdra.model}DocumentDetails, {http://www.alfresco.org/model/content/1.0}auditable, {http://www.alfresco.org/model/system/1.0}referenceable, {http://www.alfresco.org/model/content/1.0}titled, {http://www.alfresco.org/model/content/1.0}author, {http://www.alfresco.org/model/versionstore/2.0}version, {http://www.alfresco.org/model/content/1.0}versionable]
21:14:14,234 User:admin DEBUG [repo.jscript.ScriptLogger] l_customerDocs : Node Type: {http://www.alfresco.org/model/versionstore/2.0}versionHistory, Node Aspects: [{http://www.alfresco.org/model/system/1.0}referenceable, {http://www.alfresco.org/model/content/1.0}auditable],Node Type: {http://www.a lfresco.org/model/content/1.0}content, Node Aspects: [{celdra.model}DocumentDetails, {http://www.alfresco.org/model/content/1.0}auditable, {http://www .alfresco.org/model/system/1.0}referenceable, {http://www.alfresco.org/model/content/1.0}titled, {http://www.alfresco.org/model/content/1.0}author, {h ttp://www.alfresco.org/model/versionstore/2.0}version, {http://www.alfresco.org/model/content/1.0}versionable],Node Type: {http://www.alfresco.org/mod el/content/1.0}content, Node Aspects: [{celdra.model}DocumentDetails, {http://www.alfresco.org/model/content/1.0}auditable, {http://www.alfresco.org/m odel/system/1.0}referenceable, {http://www.alfresco.org/model/content/1.0}titled, {http://www.alfresco.org/model/content/1.0}author, {http://www.alfre sco.org/model/versionstore/2.0}version, {http://www.alfresco.org/model/content/1.0}versionable]