As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
if (tokens.length == 1) { // single word with no field will go against _PERSON and expand //Substitute out an underscore for an escaped :, if propIndex > 0 if(propIndex > 0) { term = term.replaceAll("_", "\\:"); } // fts-alfresco property search i.e. location:"maidenhead" query.append(term.substring(0, propIndex + 1)).append('"'); if (propIndex < 0) { query.append('*'); } query.append(term.substring(propIndex + 1)); if (propIndex > 0) { query.append('"'); } else { query.append("*\""); } }
FYI... Although not directly related to the back-end issues you're dealing with here, you might want to take a look at this blog post on using an Aikau version of the people-finder as it will give you more flexibility when you get around to customizing the Share UI (obviously it depends on how much front-end customization you require).
As other solution you can override cm:contentmodel.
Within this overridden content model you can add your properties to cmerson type.
In this case you can filter people by these properties without overriding of People.java.