# HG changeset patch # User ymh # Date 1269969730 -7200 # Node ID 140bb21ec61e1e39282aefabc28f2c10036b0b15 # Parent 1b5c6294e805cefb6d8f53adf48d2f5a2101d10b correct deploy diff -r 1b5c6294e805 -r 140bb21ec61e .hgignore --- a/.hgignore Mon Mar 29 12:29:11 2010 +0200 +++ b/.hgignore Tue Mar 30 19:22:10 2010 +0200 @@ -11,6 +11,7 @@ ^web/thdProject/apps/frontend/config/factories.yml$ ^engine/solr/context.xml$ ^engine/solr/solr/data/.*$ +^engine/solr/solr/conf/solrconfig.xml$ syntax: glob .DS_Store @@ -20,4 +21,7 @@ syntax: regexp ^web/thdProject/web/mysql\.php$ syntax: regexp -^web/thdProject/desktop\.ini$ \ No newline at end of file +^web/thdProject/desktop\.ini$ + +syntax: regexp +^engine/sonyengine/context\.xml$ \ No newline at end of file diff -r 1b5c6294e805 -r 140bb21ec61e build/deploy.xml --- a/build/deploy.xml Mon Mar 29 12:29:11 2010 +0200 +++ b/build/deploy.xml Tue Mar 30 19:22:10 2010 +0200 @@ -29,11 +29,28 @@ - + + - + ${build}${sonyengine.path}/mosatags.sonyengine.war + + diff -r 1b5c6294e805 -r 140bb21ec61e engine/solr/solr/conf/solrconfig.xml --- a/engine/solr/solr/conf/solrconfig.xml Mon Mar 29 12:29:11 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,697 +0,0 @@ - - - - - - ${solr.abortOnConfigurationError:true} - - - ${solr.data.dir:/Users/ymh/dev/workspace/mosatags/engine/solr/solr/data} - - - - false - - 10 - - - - 32 - 2147483647 - 10000 - 1000 - 10000 - - - - - - - - - - - single - - - - - false - 32 - 10 - - - 2147483647 - 10000 - - - false - - - - - - - - - - - - - - - - - - - - - - 1024 - - - - - - - - - - - - - true - - - - - - - - 50 - - - 200 - - - - - - - - - solr 0 10 - rocks 0 10 - static newSearcher warming query from solrconfig.xml - - - - - - - fast_warm 0 10 - static firstSearcher warming query from solrconfig.xml - - - - - false - - - 2 - - - - - - - - - - - - - - - - - - - - - - - explicit - - - - - - - - - dismax - explicit - 0.01 - - text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 - - - text^0.2 features^1.1 name^1.5 manu^1.4 manu_exact^1.9 - - - ord(popularity)^0.5 recip(rord(price),1,1000,1000)^0.3 - - - id,name,price,score - - - 2<-1 5<-2 6<90% - - 100 - *:* - - text features name - - 0 - - name - regex - - - - - - - dismax - explicit - text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 - 2<-1 5<-2 6<90% - - incubationdate_dt:[* TO NOW/DAY-1MONTH]^2.2 - - - - inStock:true - - - - cat - manu_exact - price:[* TO 500] - price:[500 TO *] - - - - - - - - - - textSpell - - - default - spell - ./spellchecker1 - - - - jarowinkler - spell - - org.apache.lucene.search.spell.JaroWinklerDistance - ./spellchecker2 - - - - - solr.FileBasedSpellChecker - file - spellings.txt - UTF-8 - ./spellcheckerFile - - - - - - - - false - - false - - 1 - - - spellcheck - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - standard - solrpingquery - all - - - - - - - explicit - true - - - - - - - - - 100 - - - - - - - - 70 - - 0.5 - - [-\w ,/\n\"']{20,200} - - - - - - - ]]> - ]]> - - - - - - - - - - - - 5 - - - - - - - - - - solr - - - - - diff -r 1b5c6294e805 -r 140bb21ec61e engine/solr/solr/conf/solrconfig.xml.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/engine/solr/solr/conf/solrconfig.xml.tmpl Tue Mar 30 19:22:10 2010 +0200 @@ -0,0 +1,697 @@ + + + + + + ${solr.abortOnConfigurationError:true} + + + ${solr.data.dir:} + + + + false + + 10 + + + + 32 + 2147483647 + 10000 + 1000 + 10000 + + + + + + + + + + + single + + + + + false + 32 + 10 + + + 2147483647 + 10000 + + + false + + + + + + + + + + + + + + + + + + + + + + 1024 + + + + + + + + + + + + + true + + + + + + + + 50 + + + 200 + + + + + + + + + solr 0 10 + rocks 0 10 + static newSearcher warming query from solrconfig.xml + + + + + + + fast_warm 0 10 + static firstSearcher warming query from solrconfig.xml + + + + + false + + + 2 + + + + + + + + + + + + + + + + + + + + + + + explicit + + + + + + + + + dismax + explicit + 0.01 + + text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 + + + text^0.2 features^1.1 name^1.5 manu^1.4 manu_exact^1.9 + + + ord(popularity)^0.5 recip(rord(price),1,1000,1000)^0.3 + + + id,name,price,score + + + 2<-1 5<-2 6<90% + + 100 + *:* + + text features name + + 0 + + name + regex + + + + + + + dismax + explicit + text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 + 2<-1 5<-2 6<90% + + incubationdate_dt:[* TO NOW/DAY-1MONTH]^2.2 + + + + inStock:true + + + + cat + manu_exact + price:[* TO 500] + price:[500 TO *] + + + + + + + + + + textSpell + + + default + spell + ./spellchecker1 + + + + jarowinkler + spell + + org.apache.lucene.search.spell.JaroWinklerDistance + ./spellchecker2 + + + + + solr.FileBasedSpellChecker + file + spellings.txt + UTF-8 + ./spellcheckerFile + + + + + + + + false + + false + + 1 + + + spellcheck + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + standard + solrpingquery + all + + + + + + + explicit + true + + + + + + + + + 100 + + + + + + + + 70 + + 0.5 + + [-\w ,/\n\"']{20,200} + + + + + + + ]]> + ]]> + + + + + + + + + + + + 5 + + + + + + + + + + solr + + + + + diff -r 1b5c6294e805 -r 140bb21ec61e engine/sonyengine/context.xml.tmpl --- a/engine/sonyengine/context.xml.tmpl Mon Mar 29 12:29:11 2010 +0200 +++ b/engine/sonyengine/context.xml.tmpl Tue Mar 30 19:22:10 2010 +0200 @@ -1,4 +1,4 @@ - - + + diff -r 1b5c6294e805 -r 140bb21ec61e engine/sonyengine/mosatags.sonyengine.war Binary file engine/sonyengine/mosatags.sonyengine.war has changed