Skip to content

Releases: floriansemm/SolrBundle

Bug fix release

27 Mar 12:13

Choose a tag to compare

Bug fix release Pre-release
Pre-release
  • fix searching in sets with list of values
$posts = $this->get('solr.client')->getRepository('AcmeDemoBundle:Post')->findBy(array(
    'tags' => array('tag #2', 'tag #1')
));

Feature release

26 Mar 16:23

Choose a tag to compare

Feature release Pre-release
Pre-release
  • rename solr:synchronize command to solr:input:populate
  • new solr:schema:show command to show existing document mapping
  • add support for OneToMany/ManyToOne relation based on work of @zquintana
  • add symfony profile extension based on work of @zquintana
  • improve documentation
  • solve some bugs

Bug fix release

20 Feb 15:57

Choose a tag to compare

  • solve issue #116
  • addSearchTerm throws exception if requested field is unknown
  • set symfony dependencies to LTS version 2.3

bug fix release

27 Jul 19:02

Choose a tag to compare

Release fixes an issue with inherit class-properties which was solved in #109 by @chellem. The setup for behat test-environment was updated.

Feature and Bug fixes

26 Jul 12:14

Choose a tag to compare

Features

  • document improvements and restructuring by @royopa and @chellem
  • console command solr:synchronize has now a progress-bar
  • console command solr:synchronize shows which index was used, feature-request by @phphatesme

Bugfixes

  • if two different documents with same Id were indexed, then the first inserted document was overwritten by the seconds
  • console command solr:synchronize shows now a correct summary

Bug fix release

21 Mar 15:13

Choose a tag to compare

  • fixes #91, thanks to @mathewrapid
  • restructuring of SolrTest and MulticoreSolrTest

Bugfix release

03 Jan 17:26

Choose a tag to compare

fixes issue #89

1.2

01 Nov 17:48

Choose a tag to compare

1.2
  • new annotation option index for @Document
   /**
    * @Solr\Document(index="core0")
    */
    class SomeEntity
    {
        // ...
    }
  • remove clients options from configuration:
  • costum queries in repositories by @frne
class ArticleRepository extends Repository
{
    /**
     * @param string $search
     * @param int $limit
     * @param int $offset
     * @return Article[]
     */
    public function findFulltextSearch($search, $limit = 10, $offset = 0)
    {
        $this->hydrationMode = HydrationModes::HYDRATE_DOCTRINE;

        $query = $this->solr->createQuery($this->entity);
        $query->setUseAndOperator(false);
        $query->setRows($limit);
        $query->setStart($offset);
        $query->setUseWildcard(true);

        $query->addSearchTerm('id', $search);
        $query->addSearchTerm('author', $search);
        $query->addSearchTerm('title', $search);
        $query->addSearchTerm('content', $search);

        return $this->solr->query($query);
    }
}

Feature Release

02 Mar 19:37

Choose a tag to compare

  • #30 - new entity hydration feature

Bugfix release

27 Feb 19:43

Choose a tag to compare

  • propagation of events will be stopped when an error/error-event occurs
  • the implementation of setId in entity-classes is not required anymore
  • if an unknow entity/document alias is passed to getRepository('AcmeUnknownBundle:Entity'), all known aliases will be proposed in the exception-message.