Jump to content

ElasticSearch on \Helpers\Table\Db


LaCollision

Recommended Posts

Posted

Hi,

As far as I know, the search field in the \Helpers\Table\Db only uses the classic MySQL search.

For instance, with the quickSearch property:

$_where = array();
foreach ( $columns as $c )
{
	$_where[] = "LOWER(`{$c}`) LIKE CONCAT( '%', ?, '%' )";
}

$where[] = array_merge( array( '(' . implode( ' OR ', $_where ) . ')' ), array_fill( 0, count( $_where ), mb_strtolower( trim( \IPS\Request::i()->quicksearch ) ) ) );

 

Would it be possible to implement ElasticSearch if it has been configured in the settings?

Thanks a lot! :smile:

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...