06-30-2010 11:35 AM
07-01-2010 06:33 AM
07-01-2010 08:11 AM
putpropertywhatyouneedI know lucene query but how i have to write ?
07-01-2010 09:21 AM
07-01-2010 09:30 AM
07-01-2010 10:31 AM
07-01-2010 10:41 AM
07-03-2010 05:22 PM
07-03-2010 06:34 PM
<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>
07-04-2010 02:45 PM
var l_customerDocs = search.luceneSearch("workspace://version2Store","@cm\\:modifier:"+args.user);
logger.log("lucene query executed");
model.m_documents_node=l_customerDocs;
When i execute the code , using the JavascriptDebugger the variable l_customerDocs contains A valid SecureContext was not provided in the RequestContext but when i evaluate the code (inside JavascriptDebugger ) search.luceneSearch("workspace://version2Store","@cm\\:modifier:"+args.user) i have 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]
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.