FS Search
Author: marcfr
Publication Date: 9/27/2011 15:35
Hallo zusammen,
ich beschäftige mich gerade mit der Standard-Suche.
Meine fs-search.xml sieht folgendermaßen aus:
<?xml version="1.0" encoding="UTF-8"?>
<service class="de.espirit.firstspirit.opt.search.service.proxy.MultiServiceProxy">
<attribute name="services" type="list">
<service class="de.espirit.firstspirit.opt.search.service.adapter.ServerService">
<server class="de.espirit.firstspirit.opt.search.server.SimpleServer">
<engine name="myspider" class="de.espirit.firstspirit.opt.search.engine.spider.SpiderEngine">
<attribute name="urls" type="list">
<attribute>http://localhost:8080/de/holding/form.jsp</attribute>
</attribute>
<attribute name="index">C:/Search/</attribute>
<attribute name="maxThreads">2</attribute>
<attribute name="threadPriority">1</attribute>
<attribute name="allowed" type="list">
<attribute class="de.espirit.firstspirit.opt.search.engine.spider.link.RegexWebLinkFilter">http://localhost</attribute>
</attribute>
<attribute name="maxDocuments">1000</attribute>
<attribute name="maxTime">60m</attribute>
</engine>
</server>
<attribute name="localName">mysearch</attribute>
<attribute name="bindTo">local</attribute>
<attribute name="createRMI">false</attribute>
</service>
<service class="de.espirit.firstspirit.opt.search.service.RebuildIndexTimerService">
<attribute name="engineURL">mysearch[myspider]</attribute>
<attribute name="startTime">6:00</attribute>
<attribute name="period">24h</attribute>
<attribute name="startNow">true</attribute>
</service>
</attribute>
</service>
Wenn ich auf http://localhost:8080/de/holding/form.jsp das Formular abschicken, dann wird an das SearchServlet weitergeleitet:
<form action="do.search" method="post">..</form>
Leider kommt nach Abschicken des Formulars jedes Mal die Meldung:
HTTP Status 400 - no urls specified!
type Status report
message no urls specified!
description The request sent by the client was syntactically incorrect (no urls specified!).
Kann mir da jemand weiterhelfen?
-
Author: marcfr - 9/28/2011 10:20
Hat sich mittlerweile erledigt. Mit der entsprechenden Modul-Version und der korrekten Config läuft nun alles
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire