excerpt_flags.php 438 B

1234567891011
  1. <?php
  2. require ("sphinxapi.php");
  3. $cl = new SphinxClient();
  4. $cl->BuildExcerpts(array('10', '20'), 'index', 'word1 word2', array('exact_phrase' => true,
  5. 'single_passage' => true,
  6. 'use_boundaries' => true,
  7. 'weight_order' => true));
  8. ?>