Revision 639

Date:
2017/02/02 16:50:50
Author:
ahitrov
Revision Log:
Bug fixes

Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/plugins/sphinx/etc/sphinx.conf

     
    933 933 # optional, default is build-time configured data directory
    934 934 #
    935 935 # binlog_path = # disable logging
    936 # binlog_path = /var/db/sphinxsearch/data # binlog.001 etc will be created there
    936 binlog_path = /var/db/sphinxsearch/data # binlog.001 etc will be created there
    937 937
    938 938
    939 939 # binlog flush/sync mode
  • utf8/plugins/sphinx/lib/sphinx/Init.pm

     
    6 6 use Contenido::Globals;
    7 7 use sphinx::Apache;
    8 8 use sphinx::Keeper;
    9 use sphinx::Search;
    9 10
    10
    11 11 # загрузка всех необходимых плагину классов
    12 12 # sphinx::SQL::SomeTable
    13 13 # sphinx::SomeClass
    14 14 Contenido::Init::load_classes(qw(
    15 sphinx::Search
    15 16 ));
    16 17
    17 18 sub init {
  • utf8/plugins/sphinx/lib/sphinx/Keeper.pm

     
    45 45 $object->search( $data->{text} );
    46 46 $object->store;
    47 47 } else {
    48 if ( $data->{name} ne $object->name || $data->{text} ne $object->search || $doc->is_deleted || $doc->status <= 0 ) {
    48 if ( $data->{name} ne $object->name || $data->{text} ne $object->search || $object->is_deleted || $object->status <= 0 ) {
    49 49 $object->status( 1 );
    50 50 $object->is_deleted( 0 );
    51 51 $object->name( $data->{name} );
  • utf8/plugins/sphinx/sql/TOAST/search.sql

     
    8 8 ctime timestamp not null default now(),
    9 9 mtime timestamp not null default now(),
    10 10 status smallint not null default 1,
    11 is_deleted boolean default false,
    11 12 object_id integer not null,
    12 13 object_class text not null,
    13 14 name text,