mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 03:53:13 +00:00

* PHRAS-1304_AUTO-COMPLETION_MASTER ported from 4.0 * PHRAS-1304_AUTO-COMPLETION_MASTER fix * PHRAS-1304_AUTO-COMPLETION_MASTER fix * PHRAS-1304_AUTO-COMPLETION_MASTER bump php version to 5.5.31 (5.5.21 is obsolete in cicleci) * PHRAS-1304_AUTO-COMPLETION_MASTER bump php version to 5.5.31 : php.ini moved in circelci * PHRAS-1304_AUTO-COMPLETION_MASTER add zmq & date to php for circleci * PHRAS-1304_AUTO-COMPLETION_MASTER add zmq * PHRAS-1304_AUTO-COMPLETION_MASTER bump amqp * PHRAS-1304_AUTO-COMPLETION_MASTER downgrade amqp to 1.2 to test compilation against old librabbit 0.4 (ubuntu) * PHRAS-1304_AUTO-COMPLETION_MASTER add amqp.so to php.ini, (re)bump amqp to 1.6 * PHRAS-1304_AUTO-COMPLETION_MASTER build rabittmq from git * PHRAS-1304_AUTO-COMPLETION_MASTER build rabittmq from git again * PHRAS-1304_AUTO-COMPLETION_MASTER build rabittmq from git again and again * PHRAS-1304_AUTO-COMPLETION_MASTER fix test on media rotation 600*400 -> 400*599 !!! * PHRAS-1304_AUTO-COMPLETION_MASTER restore facebook sdk to 4.0.1 due to mistake * PHRAS-1304_AUTO-COMPLETION_MASTER deleted unwanted file
92 lines
1.7 KiB
PHP
92 lines
1.7 KiB
PHP
<?php
|
|
/**
|
|
* This file is part of Phraseanet
|
|
*
|
|
* (c) 2005-2016 Alchemy
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Alchemy\Phrasea\SearchEngine\Elastic\Structure;
|
|
|
|
interface Structure
|
|
{
|
|
const STRUCTURE_WITH_FIELDS = 0x10;
|
|
const STRUCTURE_WITH_FLAGS = 0x20;
|
|
const FIELD_WITH_THESAURUS = 0x01;
|
|
const FIELD_WITH_FACETS = 0x02;
|
|
const WITH_EVERYTHING = 0xFF;
|
|
|
|
/**
|
|
* @return Field[]
|
|
*/
|
|
public function getAllFields();
|
|
|
|
/**
|
|
* @return Field[]
|
|
*/
|
|
public function getUnrestrictedFields();
|
|
|
|
/**
|
|
* @return Field[]
|
|
*/
|
|
public function getPrivateFields();
|
|
|
|
/**
|
|
* @return Field[]
|
|
*/
|
|
public function getFacetFields();
|
|
|
|
/**
|
|
* @return Field[]
|
|
*/
|
|
public function getThesaurusEnabledFields();
|
|
|
|
/**
|
|
* @return Field[]
|
|
*/
|
|
public function getDateFields();
|
|
|
|
/**
|
|
* @param string $name
|
|
* @return null|Field
|
|
*/
|
|
public function get($name);
|
|
|
|
/**
|
|
* @param string $name
|
|
* @return string|null
|
|
*/
|
|
public function typeOf($name);
|
|
|
|
/**
|
|
* @param string $name
|
|
* @return bool
|
|
* @throws \DomainException
|
|
*/
|
|
public function isPrivate($name);
|
|
|
|
/**
|
|
* @return Flag[]
|
|
*/
|
|
public function getAllFlags();
|
|
|
|
/**
|
|
* @param string $name
|
|
* @return Flag
|
|
*/
|
|
public function getFlagByName($name);
|
|
|
|
/**
|
|
* @return Tag[]
|
|
*/
|
|
public function getMetadataTags();
|
|
|
|
/**
|
|
* @param string $name
|
|
* @return Tag|null
|
|
*/
|
|
public function getMetadataTagByName($name);
|
|
}
|