Projet

Général

Profil

Révision f8909aa4

IDf8909aa41c5e22338cce105ae42893d98ec4627d
Parent 862e559c
Enfant be42c389, 2c99f327

Ajouté par iborodikhin il y a plus de 13 ans

Adding limits to optimize traffic between Sphinxsearch and plugin

Voir les différences:

plugins/sphinx/sphindex_
62 62

  
63 63
    client = sphinxsearch.SphinxClient()
64 64
    client.SetServer(server, port)
65
    client.SetLimits(0, 1, 0, 0)
65 66
    result = client.Query("", indexName)
66 67
    docCount = result["total_found"]
67 68

  

Formats disponibles : Unified diff