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.
下列代码显示了连接Solr服务、向索引中添加两个文档和运行先前使用的零部件号查询的PHP应用程序。
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.
由于声明了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.
由于声明了partno字段惟一,因此重复上传同一个部件号将只用新记录替换旧索引记录。
应用推荐