I think I know the answer to this already but putting the question out there just in case.
I have a number of custom types that contain a boolean field called bArchived. When this field is true the record shouldn’t appear in search results.
Are the following my only two options to stop these records from being indexed?
Create a custom contentToIndex function for every type, that checks that the flag is false
Allow the records to be in the indexed but do “something” with the search form to tell it to filter the results to only records with this field set to false
None of these types use the FC publishing draft/approved workflow.