06-16-2014 11:48 AM
SearchParameters sp = new SearchParameters();
sp.addStore(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE);
sp.setLanguage(SearchService.LANGUAGE_LUCENE);
sp.setQuery(query);
ResultSet results = getSearchService().query(myQuery);
PATH: "//app:company_home/app:user_homes/cm:dir//." AND @own\:velocity_number:"A B"
PATH: "//app:company_home/app:user_homes/cm:dir//." AND =@own\:velocity_number:"A B"
06-16-2014 10:44 PM
Tokenised="both"
or Tokenised="false"
in your property index config, then "=" character query will work.like below
<property name="own:velocity_number">
<type>d:content</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>false</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
</property>
06-17-2014 03:06 AM
<property name="own:velocity_number">
<type>d:text</type>
<mandatory>true</mandatory>
<index enabled="true">
<atomic>false</atomic>
<stored>true</stored>
<tokenised>false</tokenised>
</index>
</property>
06-17-2014 12:18 PM
06-18-2014 03:24 AM
06-18-2014 09:58 AM
var def =
{
query: "=@own\:velocity_number:\"A B\"",
language: "fts-alfresco"
};
var results = search.query(def);
06-27-2014 05:04 AM
@sys\\:node-uuid:"6647a596-53e9-4676-adc4-a77d79487fdf";
06-27-2014 05:24 AM
ID:workspace\://SpacesStore/ce55a850-b1c7-43c7-a600-b5c58a985429
07-28-2014 03:14 AM
SearchParameters sp = new SearchParameters();
sp.addStore(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE);
sp.setLanguage(SearchService.LANGUAGE_FTS_ALFRESCO);
sp.setQuery(query);
ResultSet results = getSearchService().query(myQuery);
PATH: "//app:company_home/app:user_homes/cm:dir//." AND =@own\:velocity_number:"A B"
07-28-2014 09:27 AM
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.