Hi,
I’m having some trouble working out a problem with our FarCry 7 driven Intranet and SOLR Pro.
I’ve noticed that when creating new content for the site it won’t appear in the SOLR index unless :
- You manually trigger a reindex of the content type from the admin page
OR
- Edit the new content and resave
This is happening to all content types.
I’ve added some additional logging lines to /farcrysolrpro/packages/custom/eventHandler.cfc (afterSave function) and can see when resaving content that this function is being called.
No content type cfc’s have custom contentToIndex functions.
The lines I added to the cfc are firstly to tell what content type is being saved, another to show stProperties.objectid and then the if then else statement around line 80ish I have it logging if the item is going to be added to the index, removed from the index or if it is not able to be indexed.
When I create a new record what I’m seeing is:
"Information","ajp-bio-8012-exec-5","02/03/16","15:24:43","DEVELOP_WI_INTRANET","Saving farFU"
"Information","ajp-bio-8012-exec-5","02/03/16","15:24:43","DEVELOP_WI_INTRANET","Now checking record 0CB51AD0-CA2E-11E5-8AB0005056A670E2"
"Information","ajp-bio-8012-exec-5","02/03/16","15:24:43","DEVELOP_WI_INTRANET","Record was not indexable"
And nothing more. I believe that the above is correct as the FURL isn’t something that should get indexed. However what is missing from the above is the processing of the content. If I edit the content again and resave I get:
"Information","ajp-bio-8012-exec-5","02/03/16","15:34:08","DEVELOP_WI_INTRANET","Saving hbAnnouncement"
"Information","ajp-bio-8012-exec-5","02/03/16","15:34:08","DEVELOP_WI_INTRANET","Now checking record 02BD3990-CA2E-11E5-8AB0005056A670E2"
"Information","ajp-bio-8012-exec-5","02/03/16","15:34:11","DEVELOP_WI_INTRANET","Adding 02BD3990-CA2E-11E5-8AB0005056A670E2 record to the index"
Just for a test I set bFriendly=“false” on the content type but all this did was stop the farFU lines from appearing in the log – the hbAnnouncement content still wasn’t added to the index.
Hoping someone can shine some light on the issue?
Cheers
Mark