Seems there is no $field['indexed']
http://screensnapr.com/v/eJtPdP.jpg

i indexed a lot of fields, taxonomy. date created

Thats is why admin page is full of

Notice: Undefined index: indexed in search_api_sorts_index_select() (line 89 of /mnt/www/WORKSPACE_DRUPAL/EIGENE_PROJEKTE/test/sites/all/modules/contrib/search_api_sorts/search_api_sorts.admin.inc).

Comments

marcoka’s picture

It seems that if a field is inside the $index array it is indexed.
http://screensnapr.com/v/wpEEhH.jpg

these fields are all fields i indexed. Can the maintainer say something about my discovery. Maybe it was during some search_api api changes that haven't been included/updated in this module.

if you agree, i am happy to provide patch.
i would also be happy to provide an option to use dropdown or checkboxes.

Anonymous’s picture

I am experiencing the exact same issue.

My setup:
* Fresh install drupal 7.12
* entity api 7.x 1.0-rc1
* search api 7.x-1.0
* search facets 7.x-1.0
* database search 7.x-1.0-beta2
* facet api 7.x-1.0-rc2
* search views 7.x-1.0

Flow:
* created db server
* created index (fields)
* indexed content
* enabled and configed facets
* enabled sorts => issue in ui

Issue fixed by upgrading to 7.x-1.x-dev (and running update.php).

Not sure if this issue should be labelled fixed...

Anonymous’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Status: Active » Fixed

I believe it was fixed in 7.x indeed.
Please upgrade.

Status: Fixed » Closed (fixed)

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