[size=12.0000pt]1 | java -jar start.jar |
[size=12.0000pt]1 | java -jar post.jar solr.xml monitor.xml |
[size=12.0000pt]1 [size=12.0000pt]2 [size=12.0000pt]3 [size=12.0000pt]4 [size=12.0000pt]5 [size=12.0000pt]6 [size=12.0000pt]7 [size=12.0000pt]8 [size=12.0000pt]9 10 11 12 13 14 15 16 17 18 19 20 | <add> <doc> <field name="id">SOLR1000</field> <field name="name">Solr, the Enterprise Search Server</field> <field name="manu">Apache Software Foundation</field> <field name="cat">software</field> <field name="cat">search</field> <field name="features">Advanced Full-Text Search Capabilities using Lucene</field> <field name="features">Optimized for High Volume Web Traffic</field> <field name="features">Standards Based Open Interfaces - XML and HTTP</field> <field name="features">Comprehensive HTML Administration Interfaces</field> <field name="features">Scalability - Efficient Replication to other Solr Search Servers</field> <field name="features">Flexible and Adaptable with XML configuration and Schema</field> <field name="features">Good unicode support: héllo (hello with an accent over the e)</field> <field name="price">0</field> <field name="popularity">10</field> <field name="inStock">true</field> <field name="incubationdate_dt">2006-01-17T00:00:00.000Z</field> </doc> </add> |
[size=12.0000pt]1 [size=12.0000pt]2 | java -Ddata=args -jar post.jar "<delete><id>SOLR1000</id></delete>" java -Ddata=args -jar post.jar "<delete><query>name:DDR</query></delete>" |
[size=12.0000pt]1 | java -Ddata=args -Dcommit=false -jar post.jar "<delete><id>3007WFP</id></delete>" |
[size=12.0000pt]1 | java -jar post.jar - |
[size=12.0000pt]1 | http://localhost:8983/solr/collection1/update?stream.body=<delete><query>*:*</query></delete>&commit=true |
[size=12.0000pt]1 | http://localhost:8983/solr/collection1/update?stream.body=<delete><query>title:abc</query></delete>&commit=true |
[size=12.0000pt]1 | http://localhost:8983/solr/collection1/update?stream.body=<delete><query>title:abc AND name:zhang</query></delete>&commit=true |
[size=12.0000pt]1 | http://localhost:8983/solr/collection1/select?q=solr&fl=name&wt=json&indent=true |
[size=12.0000pt]1 | http://localhost:8983/solr/collection1/select?q=Search&wt=json&indent=true&hl=true&hl.fl=features |
[size=12.0000pt]1 [size=12.0000pt]2 [size=12.0000pt]3 [size=12.0000pt]4 [size=12.0000pt]5 | "highlighting":{ "SOLR1000":{ "features":["Advanced Full-Text <em>Search</em> Capabilities using Lucene"] } [size=12.0000pt]} |
[size=12.0000pt]1 [size=12.0000pt]2 [size=12.0000pt]3 | <field name="features" type="text_en_splitting" indexed="true" stored="true" multiValued="true"/> ... <field name="text" type="text_en_splitting" indexed="true" stored="false" multiValued="true"/> |
[size=12.0000pt]1 | java -jar post.jar *.xml |
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |