en, but what i want to do is really understand its API and extend its simple demo into a more flexible and powerful testbed. for example, how to extend Similarity class etc. if u do play on it, i hope i can discuss with u.
The process of creating index and searching is sort of standard, you can't make too many changes on them. Most work is done to create your own document reader. Here the document means an item of record, is pretty abstract thing. I'm not sure what is the Similarity Class you mentioned. If you want to search within class, you have to design such reader to parse what you want to search. What does Lecene to is create index for the source you provide(Lecenu also provides the reader for txt and html f
【在 G*********a 的大作中提到】 : en, but what i want to do is really understand its API and extend its simple : demo into a more flexible and powerful testbed. : for example, how to extend Similarity class etc. if u do play on it, i hope i : can discuss with u. : : 。