Ticket #88 (new 需求) — at Version 2
xindex 文件及指令格式说明(电脑网专用)
| Reported by: | chenchongqi | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 2012报价库5.0 |
| Component: | 报价库 | Version: | 报价库5.0 |
| Keywords: | xindex | Cc: | |
| Due Date: |
Description (last modified by chenchongqi) (diff)
index文件
- 文件名
- 历史产品:小类id-h.txt 如手机历史产品 20937-h.txt
- 非历史产品:小类id.txt 如手机非历史产品 20937.txt
- 文件格式
Record struct match Query --------+---+-------------------+-----------+ Field |ID | IndexField | ExtraField| | | 0 1 2 3 4 | 0 1 2 | --------+---+---+---+---+---+---+---+---+---+ Record | x | x | x | x | x | x | x | x | x | | x | x | x | x | x | x | x | x | x | | x | x | x | x | x | x | x | x | x | | x | x | x | x | x | x | x | x | x | | x | x | x | x | x | x | x | x | x | | x | x | x | x | x | x | x | x | x | --------+---+---+---+---+---+---+---+---+---+ Query | | m0| m1| m2| m3| m4| | | | match +---+---+---+---+---+---+---+---+---+ | | | | | | | 0 | 1 | 2 | sort_index +---+---+---+---+---+---+---+---+---+ | | x | | | | | | | | sort_price --------+---+---+---+---+---+---+---+---+---+- IndexField?
- m0:全国价
- m1:品牌
- m2-m7:自定义查询项item1-item6
- ExtraField?
- e1:热度
- e2:创建时间
- e3:评分
- e4:北京分站价格
- e5:上海分站价格
- e6:广州分站价格
- e7:深圳分站价格
- e8:成都分站价格
- IndexField?
price文件
- 文件名 price.txt
- 文件格式
北上广深成都价格在ExtraField中的位置 @first_area: ---------+----+----+----+----+----+----+ Area ID | a0 | a1 | a2 | a3 | a4 | a5 | ---------+----+----+----+----+----+----+ Field ID | m0 | e4 | e5 | e6 | e7 | e8 | ---------+----+----+----+----+----+----+ a0 全国地区id a1-a5 北上广深地区id 分站对应关系 @second_area: --------------+----+----+----+----+----+----+ Minor Area ID | n1 | n2 | n3 | n4 | n5 | n6 | ... --------------+----+----+----+----+----+----+ Main Area ID | a1 | a1 | a1 | a2 | a2 | a3 | ... --------------+----+----+----+----+----+----+ n1-nx 除了北上广深成都全国外其他各小分站地区id a1-a5 被引用的主要分站地区id 分站本地价格 @second_area_price: --------+------------+-------+ Area Id | Product Id | Price | --------+------------+-------+
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)