Ticket #88 (new 需求) — at Initial Version

Opened 14 years ago

Last modified 14 years ago

xindex 文件及指令格式说明(电脑网专用)

Reported by: chenchongqi Owned by:
Priority: major Milestone: 2012报价库5.0
Component: 报价库 Version: 报价库5.0
Keywords: xindex Cc:
Due Date:

Description

index文件

  • 文件名
    1. 历史产品:小类id-h.txt 如手机历史产品 20937-h.txt
    2. 非历史产品:小类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?
      1. m0:全国价
      2. m1:品牌
      3. m2-m7:自定义查询项item1-item6
    • ExtraField?
      1. e1:热度
      2. e2:创建时间
      3. e3:评分
      4. 北京分站价格
      5. 上海分站价格
      6. 广州分站价格
      7. 深圳分站价格
      8. 成都分站价格
Note: See TracTickets for help on using tickets.