Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"en-US,en;q\u003d0.5", "gen_ut":1603226071, "reponame":"libwebsockets", "desc":"libwebsockets lightweight C networking library", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets", "f":3, "items": [ { "schema":"libjg2-1", "oid":{ "oid": "ed1e558eedc79a07837db2f0a41eb94197ad23fa", "alias": [ "refs/heads/master"]},"tree": [ { "name": "CMakeLists.txt","mode": "33188", "size":625}, { "name": "README.md","mode": "33188", "size":2275}, { "name": "canned-1.txt","mode": "33188", "size":500}, { "name": "canned-2.txt","mode": "33188", "size":439}, { "name": "les-mis-utf8.txt","mode": "33188", "size":710411}, { "name": "main.c","mode": "33188", "size":4642}, { "name": "the-picture-of-dorian-gray.txt","mode": "33188", "size":462075}],"s":{"c":1603226071,"u": 13644}} ,{"schema":"libjg2-1", "cid":"f15067f704b51d99376ddfe311e4bd63", "oid":{ "oid": "ed1e558eedc79a07837db2f0a41eb94197ad23fa", "alias": [ "refs/heads/master"]},"blobname": "minimal-examples/api-tests/api-test-fts/README.md", "blob": "# lws api test fts\n\nDemonstrates how to create indexes and perform full-text searches.\n\n## build\n\n```\n $ cmake . \u0026\u0026 make\n```\n\n## usage\n\nCommandline option|Meaning\n---|---\n-d \u003cloglevel\u003e|Debug verbosity in decimal, eg, -d15\n-c / --createindex|Create an index file, instead of searching\n-i / --index \u003cfile\u003e|Use this file as the index\n\nThe two modes are:\n\n - create an index: `--createindex inputfile [inputfile...]`\n\n```\n $ ./lws-api-test-fts -c ./the-picture-of-dorian-gray.txt\n[2018/10/15 07:14:15:1175] USER: LWS API selftest: full-text search\n[2018/10/15 07:14:15:1531] NOTICE: lws_fts_serialize: index 1 files (0MiB) cpu time 32ms, alloc: 1024KiB + 1024KiB, serialize: 3ms, file: 325KiB \n```\n\n - perform search[es]: `searchterm [searchterm...]`\n\n```\n $ ./lws-api-test-fts b\n[2018/10/15 07:15:44:1442] USER: LWS API selftest: full-text search \n[2018/10/15 07:15:44:1442] NOTICE: lws_fts_search: 'b' Matched: 3 instances, 8 children, 0ms\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC b: 3 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC be: 472 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC bee: 3 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC been: 236 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC beaut: 1 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC beauty: 55 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC because: 40 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC believe: 49 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC better: 54 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC before: 75 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC beg: 5 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC began: 44 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC but: 401 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC basil: 158 agg hits\n[2018/10/15 07:15:44:1443] NOTICE: lws_fts_results_dump: AC broke: 22 agg hits\n[2018/10/15 07:15:44:1444] NOTICE: lws_fts_results_dump: AC by: 242 agg hits\n[2018/10/15 07:15:44:1444] NOTICE: lws_fts_results_dump: AC boy: 36 agg hits\n```\n\n","s":{"c":1603226071,"u": 159}} ],"g": 15286,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 1, "si": 0, "db":0, "di":1, "sat":0, "lfc": "0000"}