【正文】
? Usecase: Analyze same field different ways ? copy into a field with a different analyzer ? boost exactcase, exactpunctuation matches ? language translations, thesaurus, soundex field name=“title” type=“text”/ field name=“title_exact” type=“text_exact” stored=“false”/ copyField source=“title” dest=“title_exact”/ ? Usecase: Index multiple fields into single searchable field 19 High Availability Load Balancer Appservers Solr Searchers Solr Master DB Updater updates updates admin queries Index Replication admin terminal HTTP search requests Dynamic HTML Generation 20 Replication solr/data/index Master solr/data/index Searcher new segment solr/data/snapshot2022062950000 1. hard links solr/data/snapshot2022062950000WIP 2. hard links 3. rsync 4. mv dir Lucene index segments after mv after rsync 21 Faceted Browsing Example 22 Faceted Browsing DocList Search(Query,Filter[],Sort,offset,n) puter_type:PC memory:[1GB TO *] puter price asc proc_manu:Intel proc_manu:AMD section of ordered results DocSet Unordered set of all results price:[0 TO 500] price:[500 TO 1000] manu:Dell manu:HP manu:Lenovo intersection Size() = 594 = 382 = 247 = 689 = 104 = 92 = 75 Query Response 23 Web Admin Interface ? Show Config, Schema, Distribution info ? Query Interface ? Statistics ? Caches: lookups, hits, hitratio, inserts, evictions, size ? RequestHandlers: requests, errors ? UpdateHandler: adds, deletes, mits, optimizes ? IndexReader, opentime, indexversion, numDocs, maxDocs, ? Analysis Debugger ? Sh