In this section we walk through the sources used to construct the
template web application. Please note the template application is designed to highlight
features of Lucene and is not an example of best practices. (One would hopefully
use MVC architecture such as provided by Jakarta Struts and taglibs, or better yet XML
with stylesheets, but showing you how to do that would be WAY beyond the scope of this
demonstration. Additionally once could cache results, and perform other performance
optimizations, but those are beyond the scope of this demo).
この章では、テンプレートウェブアプリケーションを構築するために使われたソースを見ます。
テンプレートアプリケーションは、Luceneの特徴的な機能を活かして設計されていますが、
必ずしも一番良い例ではないということに注意してください。
(Jakarta Strutsやtaglibsで提供されているMVCアーキテクチャーを使ったり、
スタイルシート付きのXMLを使ったりするのを好む人もいますが、
Luceneの使い方を示すという点から考えると、このドキュメントの守備範囲を超えてしまうでしょう。
また、一度結果をキャッシュしたり、他のパフォーマンスの最適化を行ったりもできますが、
これもこのデモの範囲を超えてしまいます)
This section is intended for developers and those wishing to customize the template web
application to their needs. The sections useful to developers only are clearly delineated.
この章は、必要に応じてテンプレートウェブアプリケーションをカスタマイズしようと考えている開発者向けに書かれています。
開発者にのみ役立つように、明確に書かれています。