Reputation: 823
I'm learning Apache Lucene and I've some queries regarding the performance of the index,
Upvotes: 0
Views: 144
Reputation: 333
Performance of searching operation in Apache Lucene depends on weight of index file.Keep it as light as possible. Well in your case I recommend to have a time stamp test for both the cases. Take at least 20+ observations. Calculate an average value. Then resultant stats will definitely help you in taking a decision.
Upvotes: 0
Reputation: 604
It really depends, if you are going to have a huge dataset its usually better to keep the index as light as possible and query the database as you described. However if the dataset is small store them as well...
Upvotes: 1