<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Search</title>
<link rel="stylesheet" href="static/css/console.css">
</head>
<body>
	<div id="mainContainer">
		<div id="leftContainer">
			<h2>1. 类目、品牌、器件搜索</h2>
			<ol>
				<strong><li class="title">搜索</li></strong>
				<ol>
					<li><a target="_blank">search/kindIds?keyword=电阻&page=1&size=10</a></li>
					<li><a target="_blank">search/kinds?keyword=电阻&page=1&size=10</a></li>
					<li><a target="_blank">search/brandIds?keyword=Panasonic&page=1&size=10</a></li>
					<li><a target="_blank">search/brands?keyword=Panasonic&page=1&size=10</a></li>
					<li>search/componentIds?keyword=a&amp;params={"filters":{"COMPONENT_KINDID":401,"COMPONENT_BRANDID":45,"COMPONENT_HAS_RESERVE":true,"COMPONENT_HAS_SAMPLE":true,"COMPONENT_HAS_ORIGINAL":true,"COMPONENT_HAS_INACTION_STOCK":true,"COMPONENT_PROPERTIES":{"275":"92%20dB","781":"Tube"}},"page":1,"size":8}</li>
					<li><a target="_blank">search/componentIds?keyword=aaa</a></li>
					<li><a target="_blank">search/components?keyword=aaa</a></li>
					<li>search/goodsIds?keyword=aaa&amp;params={"filters":{"GOODS_MINPRICEUSD":"0","GOODS_KINDID":["401","23"],"GOODS_MAXPRICERMB":"10","GOODS_BRANDID":["45"],"GOODS_MAXPRICEUSD":"10","GOODS_STORE_TYPE":["DISTRIBUTION"],"GOODS_MINPRICERMB":"0","GOODS_CRNAME":["RMB-USD"]},"page":1,"size":8,"sort":[{"field":"GO_RESERVE","reverse":true},{"field":"GO_MINPRICERMB","reverse":true},{"field":"GO_MINPRICEUSD","reverse":true},{"field":"GO_SEARCH","reverse":false}]}</li>
					<li><a target="_blank">search/goodsIds?keyword=aaa</a></li>
				</ol>


				<strong><li class="title">统计</li></strong>
				<ol>
					<li><a target="_blank">search/kindsByComponent?keyword=aaa&brandId=56</a></li>
					<li><a target="_blank">search/brandsByComponent?keyword=aaa&kindId=304</a></li>
					<li><a target="_blank">search/kindIdsByComponent?keyword=aaa&brandId=56</a></li>
					<li><a target="_blank">search/brandIdsByComponent?keyword=aaa&kindId=304</a></li>
					<li><a target="_blank">search/collectBySearchGoods?keyword=23&collectedField=GOODS_KIND&filters={"GOODS_KINDID":[401,23],"GOODS_BRANDID":45,"GOODS_STORE_TYPE":"DISTRIBUTION","GOODS_CRNAME":"RMB-USD"}</a></li>
				</ol>

				<strong><li class="title">联想词</li></strong>
				<ol>
					<li><a target="_blank">search/similarKeywords?keyword=a</a></li>
					<li><a target="_blank">search/similarKinds?keyword=电</a></li>
					<li><a target="_blank">search/similarBrands?keyword=pa</a></li>
					<li><a target="_blank">search/similarComponents?keyword=a</a></li>
					<li><a target="_blank">search/similarPropertyValues?kindId=504&propertyId=781&keyword=R&topNum=10</a></li>
					<li><a target="_blank">search/similarLeafKinds?keyword=电</a></li>
					<li><a target="_blank">search/similarKindsByLevel?keyword=电&level=2</a></li>
				</ol>


				<strong><li class="title">获取索引中的数据</li></strong>
				<ol>
					<li><a target="_blank">search/kind/12</a></li>
					<li><a target="_blank">search/brand/12</a></li>
					<li><a target="_blank">search/component/12</a></li>
					<li><a target="_blank">search/goods/123222</a></li>
					<li><a target="_blank">search/objects?tableName=product$brand&keyword=松下&field=br_name_cn&tokenized=true&page=1&size=10</a></li>
					<li><a target="_blank">search/objects?tableName=product$brand&page=1&size=10</a></li>
					<li><a target="_blank">search/allObjectsToFiles?tableName=product$brand</a></li>
				</ol>
			</ol>
		</div>
		<div id="rightContainer">
			<h2>2. 单据搜索</h2>
			<ol>
				<strong><li class="title">搜索</li></strong>
				<ol>
					<li><a target="_blank">search/orderIds?tableName=ORDER&keyword=SS20161017000000&page=2&size=3&status=505&buyeruu=1000002821&buyerenuu=1000001&sellerenuu=10030994&mintime=2016-10-10
							%201:12:20&maxtime=2016-10-30%201:12:20</a></li>
					<li><a target="_blank">search/orderIds?tableName=ORDER_INVOICE&keyword=SDDFSS2016</a></li>
					<li><a target="_blank">search/orderIds?tableName=PURCHASE&keyword=po</a></li>
					<li><a target="_blank">search/orderIds?tableName=PURCHASE_INVOICE&keyword=sdfp</a></li>
				</ol>

				<strong><li class="title">获取索引中的数据</li></strong>
				<ol>
					<li><a target="_blank">search/order/6711</a></li>
					<li><a target="_blank">search/orderInvoice/3451</a></li>
					<li><a target="_blank">search/purchase/6098</a></li>
					<li><a target="_blank">search/purchaseInvoice/5163</a></li>
				</ol>
			</ol>

			<h2>3. 索引修改</h2>
			<ol>
				<li>index/create?tableNames=product$kind,product$brand,product$component,trade$invoice_fmor,trade$order,trade$purchase,trade$invoice_fmpu,v$product$cmpgoods&componentFromFiles=false</li>
				<li><a target="_blank">index/create</a></li>
				<li><a target="_blank">index/create?tableNames=product$brand,trade$order</a></li>
				<li><a target="_blank">index/multiDownloadComponent?threads=2&startFileIndex=0&endFileIndex=10000000&validateResult=current</a></li>
				<li>index/multiDownloadGoods?threads=2&startFileIndex=0&endFileIndex=1&validateResult=all</li>
				<li><a target="_blank">index/multiDownloadGoods?threads=2&startFileIndex=0&endFileIndex=1</a></li>
				<li><a target="_blank">index/listen/start?interval=10</a></li>
				<li><a target="_blank">index/listen/stop</a></li>
				<li><a target="_blank">index/listen/restart</a></li>
				<li><a target="_blank">index/listen/details?page=1&size=10</a></li>
				<li><a target="_blank">listenDetails</a></li>
				<li><a target="_blank">index/maintain?tableName=v$product$cmpgoods&methodType=update&dataId=115886&data=goId</a></li>
				<li><a target="_blank">index/dequeue?id=42A34BADEF8A2EBDE050007F01001E6A</a></li>
				<li><a target="_blank">index/updateByNewWords?newWords=8位,16位</a></li>
			</ol>

			<h2>4. 文件上传</h2>
			<ol>
				<li><a target="_blank">fileUpload</a></li>
			</ol>

			<h2>5. 定时任务</h2>
			<ol>
				<li><a target="_blank">schedule/tasks</a></li>
				<li><a target="_blank">schedule/start</a></li>
				<li><a target="_blank">schedule/stop</a></li>
				<li><a target="_blank">schedule/restart</a></li>
				<li><a target="_blank">schedule/isStopped</a></li>
			</ol>
		</div>
	</div>
</body>

<script src="static/lib/jquery/jquery.min.js"></script>
<script src="static/js/console/app.js"></script>
</html>