---
Name: elasticaflickr
After: 'framework/*','cms/*'
---

FlickrSetPage:
  searchable_fields:
    - Description

FlickrSet:
  searchable_fields:
    - Title
    - Description
    - FlickrID
  extensions:
    - 'SilverStripe\Elastica\Searchable'

#Data Objects that require to be searched
FlickrPhoto:
  extensions:
    - FlickrPhotoElasticaIndexingExtension
    - 'SilverStripe\Elastica\Searchable'
  searchable_fields:
    - TakenAt
    - Title
    - Description
    - FlickrID
    - ShutterSpeed
    - FocalLength35mm
    - OriginalHeight
    - OriginalWidth
    - Aperture
    - GeoIsPublic
    - SmallURL
    - SmallWidth
    - SmallHeight
    - SquareURL
    - SquareWidth
    - SquareHeight
    - ISO
    - AspectRatio
  searchable_relationships:
    - FlickrSets
    - FlickrTags
    - Photographer #has_one
  searchable_autocomplete:
    - Title

FlickrTag:
  extensions:
    - FlickrTagElasticaIndexingExtension
    - 'SilverStripe\Elastica\Searchable'

FlickrAuthor:
  extensions:
    - 'SilverStripe\Elastica\Searchable'
  searchable_fields:
    - DisplayName

SiteTree:
  - searchable_autocomplete:
    - Title

---
Name: elasticaflickr
After: 'framework/*','cms/*'
---

FlickrSetPage:
  searchable_fields:
    - Description

FlickrSet:
  searchable_fields:
    - Title
    - Description
    - FlickrID
  extensions:
    - 'SilverStripe\Elastica\Searchable'

#Data Objects that require to be searched
FlickrPhoto:
  extensions:
    - FlickrPhotoElasticaIndexingExtension
    - 'SilverStripe\Elastica\Searchable'
  searchable_fields:
    - TakenAt
    - Title
    - Description
    - FlickrID
    - ShutterSpeed
    - FocalLength35mm
    - OriginalHeight
    - OriginalWidth
    - Aperture
    - GeoIsPublic
    - SmallURL
    - SmallWidth
    - SmallHeight
    - SquareURL
    - SquareWidth
    - SquareHeight
    - ISO
    - AspectRatio
  searchable_relationships:
    - FlickrSets
    - FlickrTags
    - Photographer #has_one
  searchable_autocomplete:
    - Title

FlickrTag:
  extensions:
    - FlickrTagElasticaIndexingExtension
    - 'SilverStripe\Elastica\Searchable'

FlickrAuthor:
  extensions:
    - 'SilverStripe\Elastica\Searchable'
  searchable_fields:
    - DisplayName

Move autocomplete back inside the module for SiteTree, ie on by default
FIX: Move autocomplete back inside the module for SiteTree, ie on by default
