Skip to content

Commit ea75c83

Browse files
author
Simonas Šerlinskas
committed
Merge branch 'master' into v0.9
2 parents 70cc851 + bc47803 commit ea75c83

File tree

63 files changed

+681
-378
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+681
-378
lines changed

Annotation/MultiField.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace ONGR\ElasticsearchBundle\Annotation;
1313

14-
use Doctrine\Common\Annotations\Annotation\Required;
15-
1614
/**
1715
* Annotation that can be used to define multi-field parameters.
1816
*

Annotation/Property.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace ONGR\ElasticsearchBundle\Annotation;
1313

14-
use Doctrine\Common\Annotations\Annotation\Required;
15-
1614
/**
1715
* Annotation used to check mapping type during the parsing process.
1816
*
@@ -124,4 +122,9 @@ final class Property extends AbstractProperty
124122
* @var string
125123
*/
126124
public $geohashPrecision;
125+
126+
/**
127+
* @var string
128+
*/
129+
public $format;
127130
}

Annotation/Suggester/AbstractSuggesterProperty.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace ONGR\ElasticsearchBundle\Annotation\Suggester;
1313

14-
use Doctrine\Common\Annotations\Annotation\Required;
1514
use ONGR\ElasticsearchBundle\Annotation\AbstractProperty;
1615

1716
/**

Annotation/Suggester/Context/AbstractContext.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace ONGR\ElasticsearchBundle\Annotation\Suggester\Context;
1313

14-
use Doctrine\Common\Annotations\Annotation\Required;
1514
use ONGR\ElasticsearchBundle\Mapping\DumperInterface;
1615

1716
/**

Client/Connection.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,11 @@ public function flush()
185185
*
186186
* @param array $params Parameters.
187187
*
188-
* $params = [
189-
* 'index' => 'index_name',
190-
* 'type' => 'document_type',
191-
* 'id' => 'id',
192-
* ];.
188+
* $params = [
189+
* 'index' => 'index_name',
190+
* 'type' => 'document_type',
191+
* 'id' => 'id',
192+
* ];.
193193
*
194194
* @return array
195195
*/

Command/AbstractManagerAwareCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace ONGR\ElasticsearchBundle\Command;
1313

14-
use ONGR\ElasticsearchBundle\Client\Connection;
1514
use ONGR\ElasticsearchBundle\ORM\Manager;
1615
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
1716
use Symfony\Component\Console\Input\InputOption;

Command/CacheClearCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace ONGR\ElasticsearchBundle\Command;
1313

1414
use Symfony\Component\Console\Input\InputInterface;
15-
use Symfony\Component\Console\Input\InputOption;
1615
use Symfony\Component\Console\Output\OutputInterface;
1716

1817
/**

Command/IndexDropCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace ONGR\ElasticsearchBundle\Command;
1313

14-
use ONGR\ElasticsearchBundle\ORM\Manager;
1514
use Symfony\Component\Console\Input\InputInterface;
1615
use Symfony\Component\Console\Input\InputOption;
1716
use Symfony\Component\Console\Output\OutputInterface;

Command/TypeUpdateCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
namespace ONGR\ElasticsearchBundle\Command;
1313

14-
use ONGR\ElasticsearchBundle\Mapping\MetadataCollector;
15-
use ONGR\ElasticsearchBundle\ORM\Manager;
1614
use Symfony\Component\Console\Input\InputInterface;
1715
use Symfony\Component\Console\Input\InputOption;
1816
use Symfony\Component\Console\Output\OutputInterface;

Command/WarmerDeleteCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\Console\Input\InputArgument;
1515
use Symfony\Component\Console\Input\InputInterface;
16-
use Symfony\Component\Console\Input\InputOption;
1716
use Symfony\Component\Console\Output\OutputInterface;
1817

1918
/**

0 commit comments

Comments
 (0)