<commit_before><?php

namespace Sajari\Client;

require_once __DIR__.'/../proto/doc.php';
require_once __DIR__.'/../proto/value.php';
require_once __DIR__.'/../proto/query.php';
require_once __DIR__.'/../proto/key.php';
require_once __DIR__.'/../proto/status.php';
require_once __DIR__.'/../proto/api-query.php';

use Sajari\Document\Document;
use Sajari\Document\Key as DocumentKey;
use Sajari\Document\KeyMeta;
use Sajari\Search\Request;
use Sajari\Document\Meta;
use Sajari\Search\Result;
use Sajari\Search\Response;
use Sajari\Search\Tracking;
use Sajari\Search\ClickToken;
use Sajari\Search\PosNegToken;

use sajari\engine\store\doc\Documents;
use sajari\engine\store\doc\Documents\Document\MetaEntry;
use sajari\engine\store\doc\StoreClient;
use Sajari\engine\store\doc\Keys;
use sajari\api\query\QueryClient;
// use sajari\engine\Key as PKey;
use sajari\engine\Value as Value;
use sajari\engine\store\doc\Document\ValuesEntry;
use sajari\engine\store\doc\KeysValues;
use sajari\engine\store\doc\KeysValues\KeyValues;
use sajari\api\query\SearchRequest as ProtoSearchRequest;

class Client
{
    private $projectID = '';
    private $collection = '';
    private $endpoint = 'apid.sajari.com:443';
    private $auth = '';
    private $credentials;
    private $documentClient;<commit_msg>Move to new grpc endpoint<commit_after><?php

namespace Sajari\Client;

require_once __DIR__.'/../proto/doc.php';
require_once __DIR__.'/../proto/value.php';
require_once __DIR__.'/../proto/query.php';
require_once __DIR__.'/../proto/key.php';
require_once __DIR__.'/../proto/status.php';
require_once __DIR__.'/../proto/api-query.php';

use Sajari\Document\Document;
use Sajari\Document\Key as DocumentKey;
use Sajari\Document\KeyMeta;
use Sajari\Search\Request;
use Sajari\Document\Meta;
use Sajari\Search\Result;
use Sajari\Search\Response;
use Sajari\Search\Tracking;
use Sajari\Search\ClickToken;
use Sajari\Search\PosNegToken;

use sajari\engine\store\doc\Documents;
use sajari\engine\store\doc\Documents\Document\MetaEntry;
use sajari\engine\store\doc\StoreClient;
use Sajari\engine\store\doc\Keys;
use sajari\api\query\QueryClient;
// use sajari\engine\Key as PKey;
use sajari\engine\Value as Value;
use sajari\engine\store\doc\Document\ValuesEntry;
use sajari\engine\store\doc\KeysValues;
use sajari\engine\store\doc\KeysValues\KeyValues;
use sajari\api\query\SearchRequest as ProtoSearchRequest;

class Client
{
    private $projectID = '';
    private $collection = '';
    private $endpoint = 'api.sajari.com:433';
    private $auth = '';
    private $credentials;
    private $documentClient;
{'fraction_non_alphanumeric': 0.13928434013081956, 'fraction_numerical': 0.002308580223162755, 'mean_word_length': 4.664488017429194, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5910747', 'n_tokens_mistral': 925, 'n_tokens_neox': 916, 'n_words': 163}