Ludia
第äºåå [myname@localhost wikipedia]$ rake db:migrate (in /home/myname/rails/wikipedia) == AddLudiaIndex: migrating =================================================== -- execute("CREATE INDEX plain_text_index ON documents USING fulltext(â¦
第ååä¹å å æ¥ã®ã¨ã³ããªãLudia ç¨ã® Rails ãã©ã°ã¤ã³ acts_as_ludia ãä½ãã¾ãã - ã®ã»ã»ãå¾ç¶ãã§ç´¹ä»ããacts_as_ludiaãã©ã°ã¤ã³ã使ã£ã¦ï¼ç°¡åãªæ¤ç´¢ã¢ããªã±ã¼ã·ã§ã³ãRailsã§ä½ã£ã¦ã¿ã¾ããã®ã§ç´¹ä»ãã¾ãï¼ ã¯ã¦ãªããã¯ãã¼ã¯å ¨ææ¤ç´¢ http:â¦
第ååå å 使ãæ¹ãæ©è½ãªã©ï¼è©³ããã¯å¾ã§æ¸ãã¾ãæ¸ãã¾ããï¼ acts_as_ludiaã®æ´æ°æ å ±ãã覧ä¸ããï¼ acts_as_ludiaã®æ¦è¦ã¨æ©è½ Ludiaã«ããPostgreSQLã®é«éå ¨ææ¤ç´¢æ©è½ãRuby on Railsããå©ç¨ããããã®ãã©ã°ã¤ã³ã§ãï¼ååã¯acts_as_ludiaã¨ããâ¦
第åååå æè¿ï¼Ludiaã使ã£ã¦ãã¼ã¿ãã¼ã¹ã®å ¨ææ¤ç´¢ãè¡ã£ã¦ããã®ã§ããï¼Sennaã®ã¯ã¨ãªæ¸å¼ãããåããã¾ããï¼ã¨ãããï¼MySQLã®BOOLEAN MODEãããåãã£ã¦ãªãã®ããããã¾ããï¼ test=# select *from table1; col1 | col2 ----------------------â¦
PostgreSQL 8.1.4 èµ·åã¨èªåèµ·åè¨å®ãã¸ããåèã«PostgreSQLãèµ·åããä¸ã§ï¼Ludiaã®READMEã«ãããµã³ãã«ã試ãã¦ã¿ãï¼ su - postgres createdb test psql -f /usr/local/src/ludia-0.8.0/pgsenna2.sql test psql testpsql testã§PostgreSQLã®ã¿ã¼ããâ¦
cd /usr/local/src wget http://keihanna.dl.sourceforge.jp/ludia/22126/ludia-0.8.0.tar.gz tar xvfz ludia-0.8.0.tar.gz cd ludia-0.8.0 chmod a+x install-sh ./configure make sudo make installããã§ã¤ã³ã¹ãã¼ã«å®äºï¼æå¾ã«RailsããPostgreSQLããâ¦