AnsweredAssumed Answered

Searching custom model properties isn't working

Question asked by fergusonna on Oct 16, 2015
I've been working through the tutorial "Add a custom property". If I run the project with the command
mvn integration-test -Pamp-to-war
I am able to do the search @my\:product:"Flux Capacitor". If I create an amp with
mvn install
and then apply it with apply_amps.bat, however, after relaunching the standalone server, I'm unable to get a working search. The custom content is found, as I can make documents with that type and assign the my:product property, only the search isn't working.

The error I recieve when doing the search through the Node Browser is this:
Request failed 500 /solr4/alfresco/alfresco?wt=json&fl=DBID%2Cscore&rows=100&df=TEXT&start=0&locale=en_US&alternativeDic=DEFAULT_DICTIONARY&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON

I'm not sure what is different between the Alfresco One install I did and the Maven generated project being launched seperately.

Also, I'm new to this, so if there are particular logs that would help in finding my issue, please let me know. I've included the alfresco.log already. I have no catalina.out in the tomcat/logs folder.

I'm using the Enterprise version, if it matters