Ticket #91 (new QA: null)
Opened 14 years ago
关于商城的搜索建立问题
| Reported by: | liaojunqiang | Owned by: | |
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | 系统相关 | Version: | |
| Keywords: | 搜索 | Cc: | |
| Due Date: | 14/03/2012 |
Description
备忘:
1.在线下建索引时,要执行以下这句sql:
update ent_product_item set start_date=sysdate -interval '1' hour,end_date=sysdate -interval '-15' day where sell_status=1 and status<2;
把已经下架的商品重新上架;
2.建立索引过程中会报数之不尽的错误,但是程序哪里把它屏蔽了,如果要想看就把它的exception打印出来;
3.写建立lucene的sql语句的时候,注意where后面的等式,如果多对一那种情况,如果写"="号就可能读取到很少数据,看看需不需要加"(+)"
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/global/2008/images/jss/m_logo091125.jpg)