Created
March 18, 2019 16:18
-
-
Save andreferraro/d9c022b9e08b7c0746297c52d3e1ced8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Elasticsearch parameters | |
fos_elastica: | |
clients: | |
default: | |
host: %elastic_host% | |
port: %elastic_port% | |
transport: Https | |
headers: | |
Authorization: %elastic_auth% | |
#default: { host: %elastic_host%, port: %elastic_port% } | |
indexes: | |
bookalook: | |
finder: ~ | |
types: | |
look: | |
mappings: | |
id: ~ | |
archived: | |
type: boolean | |
department: | |
type: string | |
publicDescription: | |
type: string | |
privateDescription: | |
type: string | |
avatar: | |
type: string | |
avatars: | |
type: nested | |
properties: | |
id: ~ | |
avatar: | |
type: string | |
thumbnail: | |
type: string | |
position: | |
type: string | |
thumbnail: | |
type: string | |
position: | |
type: integer | |
samples: | |
type: nested | |
properties: | |
id: ~ | |
look: | |
type: "nested" | |
properties: | |
id: ~ | |
avatar: | |
type: string | |
album: | |
type: nested | |
properties: | |
id: ~ | |
published: | |
type: boolean | |
archived: | |
type: boolean | |
privacy: | |
archived: | |
type: boolean | |
pattern1: | |
type: string | |
pattern2: | |
type: string | |
pattern3: | |
type: string | |
size: | |
type: string | |
retailPrice: | |
type: string | |
wholesale: | |
type: string | |
salePrice: | |
type: string | |
manufacturer: | |
type: string | |
styleNumber: | |
type: string | |
reference: | |
type: string | |
note: | |
type: string | |
description: | |
type: string | |
groupid: | |
type: string | |
status: | |
type: string | |
showroom: | |
type: "nested" | |
properties: | |
id: ~ | |
bookings: | |
type: "nested" | |
properties: | |
id: ~ | |
fabric1: | |
type: string | |
fabric2: | |
type: string | |
fabric3: | |
type: string | |
colour1: | |
type: string | |
boost: 10 | |
colour2: | |
type: string | |
boost: 5 | |
colour3: | |
type: string | |
boost: 1 | |
item: | |
type: "nested" | |
properties: | |
name: { type: string , index: not_analyzed} | |
category: { type: string , index: not_analyzed} | |
department: { type: string , index: not_analyzed} | |
subcategory: { type: string , index: not_analyzed} | |
hashtags: | |
type: "nested" | |
properties: | |
name: { type: string , index: not_analyzed} | |
album: | |
type: "nested" | |
include_in_parent: true | |
properties: | |
id: ~ | |
archived: | |
type: boolean | |
published: | |
type: boolean | |
other: | |
type: string | |
avatar: | |
type: string | |
thumbnail: | |
type: string | |
lastSaved: ~ | |
lastPublished: ~ | |
collection: | |
type: "nested" | |
properties: | |
id: ~ | |
archived: | |
type: boolean | |
year: | |
type: string | |
title: | |
type: string | |
avatar: | |
type: string | |
thumbnail: | |
type: string | |
brand: | |
type: "nested" | |
properties: | |
id: ~ | |
name: { type: string , index: not_analyzed} | |
collectionType: | |
type: string | |
analyzer: keyword | |
season: | |
type: string | |
analyzer: whitespace | |
seasonYear: | |
type: string | |
analyzer: keyword | |
albumtype: | |
type: string | |
analyzer: keyword | |
privacy: | |
type: string | |
analyzer: keyword | |
persistence: | |
elastica_to_model_transformer: | |
service: bookalook.elastica_to_model_transformer | |
model_to_elastica_transformer: | |
service: bookalook_look.transformer | |
driver: orm | |
model: BookALook\ApiBundle\Entity\Look | |
provider: | |
query_builder_method: 'looksToIndexInElasticSearch' | |
listener: | |
insert: false | |
update: false | |
delete: true | |
finder: ~ | |
user: | |
indexable_callback: 'isIndexable' | |
mappings: | |
id: ~ | |
name: | |
type: string | |
surname: | |
type: string | |
username: | |
type: string | |
email: | |
type: string | |
jobTitle: | |
type: string | |
avatar: | |
type: string | |
type: | |
type: string | |
company: | |
type: string | |
persistence: | |
driver: orm | |
model: BookALook\UserBundle\Entity\PrUser | |
elastica_to_model_transformer: | |
service: bookalook.elastica_to_model_transformer | |
provider: | |
query_builder_method: 'usersToIndexInElasticSearch' | |
listener: | |
insert: false | |
update: false | |
delete: true | |
finder: ~ | |
hashtag: | |
mappings: | |
name: ~ | |
persistence: | |
driver: orm | |
model: BookALook\ApiBundle\Entity\HashTag | |
elastica_to_model_transformer: | |
service: bookalook.elastica_to_model_transformer | |
provider: | |
query_builder_method: 'hashtagsToIndexInElasticSearch' | |
listener: | |
insert: true | |
update: true | |
delete: true | |
finder: ~ | |
bookalook_companies: | |
finder: ~ | |
types: | |
agency: | |
mappings: | |
id: ~ | |
name: | |
type: string | |
avatar: | |
type: string | |
website: | |
type: string | |
type: | |
type: string | |
persistence: | |
driver: orm | |
model: BookALook\ApiBundle\Entity\Agency | |
model_to_elastica_transformer: | |
service: bookalook_agency.transformer | |
elastica_to_model_transformer: | |
service: bookalook.elastica_to_model_transformer | |
provider: | |
query_builder_method: 'agenciesToIndexInElasticSearch' | |
listener: | |
insert: false | |
update: false | |
delete: true | |
finder: ~ | |
brand: | |
mappings: | |
id: ~ | |
name: | |
type: string | |
avatar: | |
type: string | |
website: | |
type: string | |
type: | |
type: string | |
persistence: | |
driver: orm | |
model: BookALook\ApiBundle\Entity\Brand | |
model_to_elastica_transformer: | |
service: bookalook_brand.transformer | |
elastica_to_model_transformer: | |
service: bookalook.elastica_to_model_transformer | |
provider: | |
query_builder_method: 'brandsToIndexInElasticSearch' | |
listener: | |
insert: false | |
update: false | |
delete: true | |
finder: ~ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment