title: Cannot SELECT properties created by a custom Alfresco model
body: <p>After adding some custom properties to a content model I can not SELECT any of the newly added properties  using a CMIS query.</p>
  
  <p>After stopping Alfresco server and SOLR using the following command:</p>
  
  <pre><code>sudo /etc/init.d/tomcat6 stop \
  </code></pre>
  
  <p>I deleted the following folders:</p>
  
  <pre><code>alf_data/solr/workspace/SpacesStore/
  alf_data/solr/archive/SpacesStore/
  </code></pre>
  
  <p>And deleted the contents of the following directories:</p>
  
  <pre><code>alf_data/solr/archive-SpacesStore/alfrescoModels
  alf_data/solr/workspace-SpacesStore/alfrescoModels 
  </code></pre>
  
  <p>and redployed my alfresco server.</p>
  
  <p>My object Type ID is ai:bulletin and the property is ai:year</p>
  
  <p>After the indeces were recreated I can successfully execute:</p>
  
  <pre><code>SELECT * FROM ai:bulletin
  </code></pre>
  
  <p>which returns ai:year as part of the returned data</p>
  
  <p>but when trying the following query:</p>
  
  <pre><code>SELECT ai:year FROM ai:bulletin
  </code></pre>
  
  <p>I receive an exception and nothing is returned.</p>
  
  <p>Any ideas of what I might be doing wrong?</p>