0c11680229ec321925d9b244a72ea5e06a7c7a6f,search_fulltext.py,,,#,37
Before Change
for x in xr.most_frequent_terms("content", 200):
query = QueryParser("content", ix.schema).parse(x[1])
r = ix.searcher().search(query,limit=100)
for v in r:
print (str(int(x[0]))+","+x[1].replace(" ","")+","+v["path"].strip())
else:
argParser.print_help()
exit(1)
After Change
elif args.g:
import json
xr = ix.searcher().reader()
s = {"name": "cve-search", "children": []}
for x in xr.most_frequent_terms("content", 2000):
query = QueryParser("content", ix.schema).parse(x[1])
r = ix.searcher().search(query,limit=1000)
c = []
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: cve-search/cve-search
Commit Name: 0c11680229ec321925d9b244a72ea5e06a7c7a6f
Time: 2013-03-30
Author: a@foo.be
File Name: search_fulltext.py
Class Name:
Method Name:
Project Name: cesium-ml/cesium
Commit Name: 586b49b07574f7812101248c94d73ef1fb2a5c12
Time: 2015-11-11
Author: brettnaul@gmail.com
File Name: mltsp/tests/test_predict.py
Class Name:
Method Name: test_add_to_predict_results_dict
Project Name: silvandeleemput/memcnn
Commit Name: 441ba8f82e54a935d16c110fbc61071c3739c6e8
Time: 2019-07-09
Author: silvandeleemput@gmail.com
File Name: docs/conf.py
Class Name:
Method Name:
Project Name: zo7/deconvfaces
Commit Name: 41ef0bf4ece3daf13a02b14c79eb7ddebb42bc0c
Time: 2016-09-04
Author: zo7.flynn@gmail.com
File Name: facegen/generate.py
Class Name:
Method Name: generate_from_yaml