exec ctx_ddl.create_stoplist('webstop','BASIC_STOPLIST');
exec ctx_ddl.add_stopword('webstop','index');
exec ctx_ddl.add_stopword('webstop','http');
exec ctx_ddl.add_stopword('webstop','asp');
exec ctx_ddl.add_stopword('webstop','aspx');
exec ctx_ddl.add_stopword('webstop','cgi');
exec ctx_ddl.add_stopword('webstop','php');
exec ctx_ddl.add_stopword('webstop','shtml');
exec ctx_ddl.add_stopword('webstop','html');
exec ctx_ddl.add_stopword('webstop','htm');
exec ctx_ddl.add_stopword('webstop','dtl');
exec ctx_ddl.add_stopword('webstop','www');
exec ctx_ddl.add_stopword('webstop','w3c');
exec ctx_ddl.add_stopword('webstop','webmaster');
exec ctx_ddl.add_stopword('webstop','jsp');
exec ctx_ddl.add_stopword('webstop','id');
exec ctx_ddl.add_stopword('webstop','ind');
exec ctx_ddl.add_stopword('webstop','sid');
--exec ctx_ddl.add_stopword('webstop','au');
exec ctx_ddl.add_stopclass('webstop','NUMBERS');
Cuma, Şubat 11, 2005
Kaydol:
Kayıt Yorumları (Atom)
3 yorum:
au kelimesini kaldırdım çünkü au'nun ülke kodu olarak mevcut olduğunu farkettim.
exec ctx_ddl.remove_stopword('webstop','au');
Bunu çıkarınca tabii olarak indeksi kaldırıp yeniden yaratmak zorunda kaldım. Halbuki ekleme durumunda buna gerek yok. Şu siteden okunabilir.
Even though you can dynamically add stopwords to an index, you cannot dynamically remove stopwords. To remove a stopword, you must use CTX_DDL.REMOVE_STOPWORD , drop your index and re-create it.
Sadece NUMBERS stopclass destekleniyor ve kendiniz yaratamıyorsunuz :(
Yorum Gönder