Solr 6.7-- 样例配置文件 solrconfig.xml






  

  
  6.5.0

  

  
  
  

  
  

  
  

  
  

  
  
  
  
  ${solr.data.dir:}


  
  

  
  

  
  
    
    
    

    
    

    
    
    

    
    

    
    

    
    ${solr.lock.type:native}

    
    
      
      
      
      
      
      
    

    
     true
  


  
  
  
  
  
  

  
  

    
    
      ${solr.ulog.dir:}
      ${solr.ulog.numVersionBuckets:65536}
    
 
    
      
       ${solr.autoCommit.maxTime:15000} 
       false 
     

    
      
       ${solr.autoSoftCommit.maxTime:-1} 
     

    
    
    
    

  
  
  
  
  
    
    1024

 
     
    -1


    

    
    

    
    
   
    
    
    
     
    

    
    

    
    


    
    true

   
   

   
   30

   
   200

   
    
    
      
        
      
    
    
      
        
          static firstSearcher warming in solrconfig.xml
        
      
    

    
    false

    
    2

  


  
  
     
    

    
    
    
    
    
    
  

  
  
  
    
     
       explicit
       10
       
       false
     
    
    
    
    
    
    
    

  
  
     
       explicit
       json
       true
       text
     
  

  
  
     
       explicit

       
       velocity
       browse
       layout
       Solritas

       
       edismax
       
          text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
          title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0
       
       100%
       *:*
       10
       *,score

       
         text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
         title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0
       
       text,features,name,sku,id,manu,cat,title,description,keywords,author,resourcename
       3

       
       on
       true
       cat
       manu_exact
       content_type
       author_s
       ipod
       GB
       1
       cat,inStock
       after
       price
       0
       600
       50
       popularity
       0
       10
       3
       manufacturedate_dt
       NOW/YEAR-10YEARS
       NOW
       +1YEAR
       before
       after

       
       on
       content features title name
       true
       html
       <b>
       </b>
       0
       title
       0
       name
       3
       200
       content
       750

       
       on
       false       
       5
       2
       5       
       true
       true  
       5
       3           
     

     
     
       spellcheck
     
  


  
    
      text
    
  

  
    
      
      _src_
      
      true
    

  

  

  
  
    
      true
      ignored_

      
      true
      links
      ignored_
    
  


  
  


  
  

  
  
    
     explicit 
     true
    
  
  
  
  
   
  

    text_general

    

    
    
      default
      text
      solr.DirectSolrSpellChecker
      
      internal
      
      0.5
      
      2
      
      1
      
      5
      
      4
      
      0.01
      
    
    
    
    
      wordbreak
      solr.WordBreakSolrSpellChecker      
      name
      true
      true
      10
    

    
    

    
    

    
    
  
  
  
  
    
      
      default
      wordbreak
      on
      true       
      10
      5
      5       
      true
      true  
      10
      5         
    
    
      spellcheck
    
  

  
  
    
      mySuggester
      FuzzyLookupFactory      
      DocumentDictionaryFactory
      cat
      price
      string
      false
    
  

  
    
      true
      10
    
    
      suggest
    
  


  
  

  
  
    
      true
    
    
      tvComponent
    
  

  
  
    

    
      lingo3g
      true
      com.carrotsearch.lingo3g.Lingo3GClusteringAlgorithm
      clustering/carrot2
    

    
      lingo
      org.carrot2.clustering.lingo.LingoClusteringAlgorithm
      clustering/carrot2
    

    
      stc
      org.carrot2.clustering.stc.STCClusteringAlgorithm
      clustering/carrot2
    

    
      kmeans
      org.carrot2.clustering.kmeans.BisectingKMeansClusteringAlgorithm
      clustering/carrot2
    
  

  
  
    
      true
      true
      
      name
      
      id
      
      features
      
      true
      
      
      
      false

      
      edismax
      
        text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
      
      *:*
      100
      *,score
    
    
      clustering
    
  

  
  

  
  
     
      true
      false
         
    
      terms
    
  


  
  
    
    string
    elevate.xml
  

  
  
    
      explicit
    
    
      elevator
    
  

  
  
    
      
      
      
        
          100
        
      

      
      
        
          
          70
          
          0.5
          
          [-\w ,/\n\"']{20,200}
        
      

      
      
        
          ]]>
          ]]>
        
      

      
      

      
      
      
      
      
      
      
      
      
      
      
        
      

      
      
        
          ,,
               ,,
               ,,
               ,,
               ,]]>
          ]]>
        
      
      
      
        
          10
          .,!? 	

        
      
      
      
        
          
          WORD
          
          
          en
          US
        
      
    
  

   
  
  
  
  
    

  
  
 
  
  
  

  
     
    text/plain; charset=UTF-8
  
  
  
    
      ${velocity.template.base.dir:}
    
  

  
  
    5
  

  
  
  

  
  
  
    
  
  
  
    

 

你可能感兴趣的:(solr,solrconfig.xml)