We added the teaser fields as a non-indexed 'text' field. This may have been a mistake - it probably should just be a string field. But in any case, in function apachesolr_search_settings_form() we are giving the use the option to search all text fields. We need to add a check to only offer indexed text fields.

Comments

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new1.9 KB

most of the change in the patch is indentation - the main difference is an added if() {}

pwolanin’s picture

StatusFileSize
new2.67 KB

Minor changes to code comments.

pwolanin’s picture

Title: Don't offer non-indexed feilds as search options » Don't offer non-indexed fields as search options
pwolanin’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.