Smart Search not retrieving a custom field

Miguel Vieira asked on April 6, 2015 15:51

I created a page selector field in the page type "BlogPost" so i can have only one blog with several authors. With the page selector I choose the author from the company staff.

I added the page selector field to the search fields in the "Blogpost".

In the smart search I created a search index with "Index type: Pages", "Analyzer type: Subset". In the Indexed content I have allowed CMS.Blogpost Page types and the path to the root of the Blog.

When i go to search preview and search for the Blog Post Author I get no results

Recent Answers


Roman Koníček answered on April 7, 2015 12:36

Hi Miguel,

I would recommend you to use Luke tool and inspect the index file located in ~\App_Data\CMSModules\SmartSearch folder. What is the value stored in your custom field? Also what are the search field settings (Pages types -> edit Blog post page type -> Search fields)?

Best regards, Roman Konicek

0 votesVote for this answer Mark as a Correct answer

Miguel Vieira answered on April 7, 2015 15:59

When i created the page selector field in the page type "BlogPost" it saves the treenode ID into the database, so i created a function to retrieve the name of the page so i can display it as the author of the blogpost.

After i made this question i tried to search for the treenode ID and it works, but not the name.

About your question, in the search field settings the "page selector" item has Content, Searchable and Tokenized activated.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.