由于声明了 partno 字段惟一,因此重复上传同一个部件号将只用新记录替换旧索引记录。
Because the partno field is declared unique, repeated upload operations of the same part number merely replace the old index record with a new record.
下列代码显示了连接Solr服务、向索引中添加两个文档和运行先前使用的零部件号查询的PHP应用程序。
The code below shows a PHP application that connects a Solr service, adds two documents to the index, and runs the part number query used previously.
新一代航天工具的设计采用了运载火箭部件、和“阿波罗”号类似的太空舱和一个能够搭载四名探月宇航员的登陆舱。
The new space vehicle design USES shuttle rocket parts, an Apollo-style capsule and a lander capable of carrying four people to the moon.
应用推荐