I have a Sphinx index of text files and I d like to retrieve a list of the keyterms Sphinx found when indexing the text files, ordered, highest to lowest, by how frequently they occurred in the dataset. How do I do this?
如果有可能,我就希望检索真实术语和干.。
Im利用PHP机向指数打电话。
Below are my Sphinx.conf settings for this index:
source srcDatasheets
{
type = mysql
sql_host = localhost
sql_user = user
sql_pass = pass
sql_db = db
sql_port = 3306
sql_query =
SELECT id, company_id, title, brief, content_file_path
FROM datasheets
sql_attr_uint = company_id
sql_file_field = content_file_path
sql_query_info = SELECT * FROM datasheets WHERE id=$id
}
index datasheets
{
source = srcDatasheets
path = /usr/local/sphinx/var/data/datasheetsStemmed
docinfo = extern
charset_type = sbcs
morphology = stem_en
min_stemming_len = 1
}