05-02-2018 09:29 AM
Hello all,
We're implementing a small-scale Alfresco (Community edition, 2018-03) installation in my office, and it does most of what we need out of the box. We do however need to tweak some things.
I'm trying to tune our search results in Alfresco and having a tough time trying to find how to do this. I'd like to add weighting to specific fields, for example, if a term is matched within cm:title, assign it a weighting greater than that of cm:description. I'd like that to come through in the 'score'.
I would also like to bump up the weighting within search results from my own custom (bootstrapped) model.
The most likely suspect I see is the Solr 4 configuration in \alfresco-community\solr4\workspace-SpacesStore\conf\solrconfig.xml, but I'm not sure whether this file is in use, how the solr fields relate to those in Alfresco, or how I'd go about referencing custom model entities.
Regards, Ben.
05-02-2018 10:51 AM
Alfresco 201803 is tagged as EA. This means that this version is beta, not ready to use in prod environments. Last "GA" release is 201707-GA.
Anyway you can take a look at Insight Engine Early Access Program to understand all the features that will be available in Alfresco Search Services for Alfresco 6.x release.
05-02-2018 11:30 AM
Hi Angel,
sorry, yes - we're using 2017-07 GA on the production machine, not 2018-03. My mistake.
05-03-2018 03:05 AM
Angel Borroy is Insight Engine Early Access Program public ?
Regards.
--C.
05-03-2018 03:23 AM
I don't know, is it?
05-03-2018 03:51 AM
I got unauthorized
--C.
05-03-2018 03:55 AM
Angel is only able to see that space because he - like me - is a moderator. That space is an Enterprise-partner/-customer only early access program (typically, all special early access program spaces on this platform are for Enterprise-partners/-customers).
05-03-2018 04:00 AM
Thanks Axel Faust, for the clarification.
--C.
05-03-2018 05:27 AM
Hi:
I think you are refering to use some kind of edismax query in SOLR with a qf and some weighted defined fields for custom metadata. But SOLR uses afts querys by default.
Maybe you can inspect in SOLR admin to see the available fields, cores configuration,.. even do some queries such as:
q=DOC_TYPE:"Node"
fl=TYPE,SITE
q=cm:name:"Project Contract.pdf"
fl=TYPE,SITE,OWNER,NPATH,APATH
This is done with Alfresco Search Services based on SOLR 6.
Regards.
--C.
Explore our Alfresco products with the links below. Use labels to filter content by product module.