[fess-user 906] Re: 検索結果のスニペットについて

Back to archive index

畠山真一 hatak****@n2sm*****
2014年 10月 7日 (火) 12:05:08 JST


webapps/fess/WEB-INF/classes/s2robot_transformer.dicon
にdescriptionLengthプロパティは設定しないでください。

webapps/fess/WEB-INF/classes/app.diconのviewHelperの
<property name="descriptionLength">200</property>
のコメントを外し、設定してください。

よろしくお願いいたします。

2014年10月7日 9:56 bilig****@gmail***** <bilig****@gmail*****>:

> I had some errors:
> --------------------------------------
> 2014-10-07 09:42:45,348 [main] INFO
> org.seasar.framework.container.factory.SingletonS2ContainerFactory -
> Version of s2-framework is 2.4.46.
> 2014-10-07 09:42:45,353 [main] INFO
> org.seasar.framework.container.factory.SingletonS2ContainerFactory -
> Version of s2-extension is 2.4.46.
> 2014-10-07 09:42:45,354 [main] INFO
> org.seasar.framework.container.factory.SingletonS2ContainerFactory -
> Version of s2-tiger is 2.4.46.
> 2014-10-07 09:42:46,739 [main] INFO
> jp.sf.fess.db.allcommon.DBFluteInitializer - ...Initializing DBFlute
> components
> 2014-10-07 09:42:47,517 [main] WARN
> org.seasar.framework.container.assembler.BindingTypeShouldDef - Skip
> setting property, because property(clientConnectionManager) of
> org.codelibs.solr.lib.server.SolrLibHttpSolrServer not found
> 2014-10-07 09:42:47,526 [SuggestIndexUpdater] INFO
> jp.sf.fess.suggest.index.IndexUpdater - Start indexUpdater
> 2014-10-07 09:42:48,091 [main] INFO
> org.codelibs.robot.db.allcommon.DBFluteInitializer - ...Initializing
> DBFlute components
> 2014-10-07 09:42:48,114 [main] ERROR jp.sf.fess.exec.Crawler - Crawler
> does not work correctly.
> org.seasar.framework.beans.PropertyNotFoundRuntimeException:
> [ESSR0065]Property(descriptionLength) of
> class(jp.sf.fess.transformer.FessXpathTransformer) not found
> at
> org.seasar.framework.beans.impl.BeanDescImpl.getPropertyDesc(BeanDescImpl.java:137)
> at
> org.seasar.framework.container.assembler.AccessTypePropertyDef.bind(AccessTypePropertyDef.java:48)
> at
> org.seasar.framework.container.assembler.AccessTypePropertyDef.bind(AccessTypePropertyDef.java:41)
> at
> org.seasar.framework.container.assembler.AutoPropertyAssembler.assemble(AutoPropertyAssembler.java:56)
> at
> org.seasar.framework.container.deployer.SingletonComponentDeployer.assemble(SingletonComponentDeployer.java:68)
> at
> org.seasar.framework.container.deployer.SingletonComponentDeployer.deploy(SingletonComponentDeployer.java:48)
> at
> org.seasar.framework.container.deployer.SingletonComponentDeployer.init(SingletonComponentDeployer.java:76)
> at
> org.seasar.framework.container.impl.ComponentDefImpl.init(ComponentDefImpl.java:236)
> at
> org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:563)
> at
> org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:560)
> at
> org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:560)
> at
> org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:560)
> at
> org.seasar.framework.container.factory.SingletonS2ContainerFactory.init(SingletonS2ContainerFactory.java:167)
> at
> org.seasar.framework.container.servlet.SingletonS2ContainerInitializer.initialize(SingletonS2ContainerInitializer.java:55)
> at jp.sf.fess.exec.Crawler.main(Crawler.java:220)
>
> 2014-10-06 22:43 GMT+09:00 畠山真一 <hatak****@n2sm*****>:
> > 畠山です。
> >
> > クロール対象コンテンツがhtmlですと、デフォルトで
> > descriptionのmetaタグから抽出しております。
> >
> > デフォルトから変更したい場合は、
> > webapps/fess/WEB-INF/classes/s2robot_transformer.dicon
> > のファイル内の
> > <property
> >
> name="digestXpath">"/HTML/HEAD/META[@name='description']/@content"</property>
> > のコメントを外し、修正して頂く必要があります。
> >
> > 長さに関しては
> > webapps/fess/WEB-INF/classes/app.dicon
> > の
> > <property name="descriptionLength">200</property>
> > コメントを外し、設定して頂くと検索結果の
> > descriptionの長さを変更出来るかと思います。
> >
> > 2014年10月1日 10:15 bilig****@gmail***** <bilig****@gmail*****>:
> >>
> >> バトジャルガルです。
> >>
> >> 検索結果のスニペットについてですが、<digest>をどうやって抽出していますか。
> >> 検索キーワードにあわせるダイナミックな抽出でしょうか。スニペットの長さの設定がどこでしょうか。
> >>
> >> 以上、よろしくお願いします
> >> _______________________________________________
> >> Fess-user mailing list
> >> Fess-****@lists*****
> >> http://lists.sourceforge.jp/mailman/listinfo/fess-user
> >
> >
> >
> >
> > --
> > ---------------------------------------------------------
> > 株式会社エヌツーエスエム 畠山 真一
> > 〒101-0024
> > 東京都千代田区神田和泉町1-3-10 第一西川ビル3F
> > Tel:03-5835-0020 Fax:03-5835-0021
> > hatak****@n2sm*****
> > http://www.n2sm.net
> > ---------------------------------------------------------
>



-- 
---------------------------------------------------------
株式会社エヌツーエスエム 畠山 真一
〒101-0024
東京都千代田区神田和泉町1-3-10 第一西川ビル3F
Tel:03-5835-0020 Fax:03-5835-0021
hatak****@n2sm***** <manab****@n2sm*****>
http://www.n2sm.net
---------------------------------------------------------
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
다운로드 



Fess-user メーリングリストの案内
Back to archive index