0

I want to do a comparison and performance benchmarking between the old token stream API and the newer one in the Lucene.net framework. I want to write a single console application for that and want to avoid writing two different applications, each bound to different version of lucene.

When I tried to add references of the older and newer version of Lucene.net dll in the .net application, VS 2010 complains that the reference has already been added. What is the solution? How can I refer to both the versions of the same dll in a same .net project?

Thanks.

4

1 回答 1

0

让它更复杂可能会使它实际上更简单。我会将它分成 3 个程序——一个用于比较新旧 API 的控制台应用程序,以及 2 个输入到控制台应用程序的无用户 I/O 程序,一个绑定到 2.x Lucene,一个绑定到3.x Lucene。(您甚至可以编写 2.x 无用户 I/O 程序,然后从中派生 3.x 无用户 I/O 程序(取决于您制作的 2.x 版本)与 -- 2.9.x 的比较非常接近 3.0)。)

[编辑...]

您还应该查看在同一文件夹中使用同一程序集的不同版本,因为它解决了类似的问题。

于 2012-12-15T15:27:01.890 回答