AnsweredAssumed Answered

Alfresco + SOLR Search

Question asked by deepak1987 on Apr 26, 2012
Latest reply on Apr 26, 2012 by deepak1987
I have configured SOLR as a subsytem in Alfresco 4.0 version.

In alfresco-global.properties, following properties has been set.

### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443
### Solr indexing ###

Now, While searching using searchService API, we have to specify Search Language as an argument.

What should I specify in order to use SOLR Search ??

1) searchService.query(Repository.getStoreRef(), SearchService.LANGUAGE_SOLR_ALFRESCO, "PATH:\"/app:company_home\"");

2) searchService.query(Repository.getStoreRef(), SearchService.LANGUAGE_LUCENE, "PATH:\"/app:company_home\"");

What is the significant of above two ?

Thanks,
Deepak

Outcomes