AnsweredAssumed Answered

Alfresco 5.0.c + SOLR4, custom properties not indexed

Question asked by streetturtle on Mar 11, 2015
Latest reply on Sep 2, 2015 by mrksjs
I'm using Alfresco 5.0.c. Recently I've upgraded from Solr 1.4 to Solr 4 (locally and on server). The problem I've faced with is that custom properties are not indexed anymore.
In Solr 1.4 to index custom properties I was using
search.get.config.xml
file with following content:


<search>
  <default-operator>AND</default-operator>
  <default-query-template>
    %(cm:name cm:title cm:description
    <!–custom properties–>
    xz:personStatus xz:username xz:typeName xz:orgUnit xz:fullName
    TEXT TAG)
  </default-query-template>
</search>


But it seems that for Solr 4 this approach doesn't work.
<b>How I can tell Solr 4 to index custom properties?</b>

Another related question.
I installed clean version of alfresco 5.0.c using maven sdk and found out that out of the box it uses solr 1.4 not solr 4 as it was advertized.
In pom.xml of solr artifact-id is
alfresco-solr
not
alfresco-solr4
.
Do I miss something?

Outcomes