PK i|XjůK K 10-1.py
1
재해 복구 전략
PH PTR
HYUNDAE
false
1
Disaster recovery strategy describes the default desktop that is equipped IT systems for all the failures that can occur in modern IT society.
2015-06-30T03:03:00
PK i|Xփ 10-2.py[
{
"id" : 2,
"product_name" : "CGI & 전자상거래 구축",
"product_seller" : "HancomPress",
"delivery_cp" : "HANJIN",
"product_soldout" : true,
"product_quantity" : 21,
"product_eng_description" : "It is described how to create a site shopping mall with pure CGI technology.",
"regdate" : "2015-06-30T03:29:00"
}
]
PK i|X% % 10-3.pyid,product_name,product_seller,delivery_cp,product_soldout,product_quantity,product_eng_description,reg_date
3,"임백준의 소프트웨어 산책","Hanbit","Door2Door",true,0,"Find fun with this software via the software development seems to walk the walk distance.","2015-06-30T03:38:00"
PK i|XO 10-4.py
PK i|XBm_w w 10-5.py
*:*
./db-data-config.xml
PK i|XeP;\ \ 10-6.py
PK i|X:aU U 10-7.pyimport pysolr
solr = pysolr.Solr("http://localhost:8983/solr/jpub_kr", timeout=30)PK i|X=w/ 10-8.pyimport pysolr
solr = pysolr.Solr("http://localhost:8983/solr/jpub_kr", timeout=30)
search_obj = solr.search("CGI")
for record in search_obj:
# record에 대한 처리PK i|XV 10-9.pyimport pysolr
solr = pysolr.Solr("http://localhost:8983/solr/jpub_kr", timeout=30)
search_obj = solr.search("CGI")
if len(search_obj):
for record in search_obj:
# record에 대한 처리
else:
print("검색 엔진이 반환한 결과가 비어있습니다.")PK i|Xa[/ / 10-10.pyimport pysolr
import datetime
solr = pysolr.Solr("http://localhost:8983/solr/jpub_kr", timeout=30)
document_ready = {'delivery_cp': 'KGB',
'id': 10,
'product_eng_description': 'This book will show you the New World.',
'product_name': 'Flask Web Programming',
'product_quantity': 1000,
'product_seller': 'JPUB',
'product_soldout': False,
'regdate': datetime.datetime.now()
}
solr.add([document_ready])PK i|XҤ 10-11.pyimport pysolr
solr = pysolr.Solr("http://localhost:8983/solr/jpub_kr", timeout=30)
search_obj = solr.search("CGI")
first_index_document = search_obj[0]
first_index_document["product_name"] = "Short Coding"
solr.add([first_index_document])PK i|Xelf f 10-12.pyimport pysolr
solr = pysolr.Solr("http://localhost:8983/solr/jpub_kr", timeout=30)
solr.delete(10)PK i|XXm m 10-13.pyimport pysolr
solr = pysolr.Solr("http://localhost:8983/solr/jpub_kr", timeout=30)
solr.delete(q="id:10")PK i|XjůK K 10-1.pyPK i|Xփ p 10-2.pyPK i|X% % ) 10-3.pyPK i|XO s 10-4.pyPK i|XBm_w w w 10-5.pyPK i|XeP;\ \ 10-6.pyPK i|X:aU U 10-7.pyPK i|X=w/
10-8.pyPK i|XV
10-9.pyPK i|Xa[/ / # 10-10.pyPK i|XҤ x 10-11.pyPK i|Xelf f 10-12.pyPK i|XXm m ! 10-13.pyPK