Closed Fibinacci closed 9 years ago
I'm not sure I understand what you are trying to do. Are you saying that you are adding many documents but when you query you can only retrieve the most recently added document?
Can you provide example code that is inserting documents and then also example code of how you are querying?
I am trying to use Lucene.Net.Linq when i am writing C# Web.Api. I can insert data. But ,while searching, I can reaches only recently added data. Not find previously added data. In the file directory, and commit occurs after all the data I added. Like (_0.cfs , _0_1.del ,_1.cfs , _1_1.del _2.cfs , _2_1.del,.... ,segments.gen,segments_7).
I looked at the Lucene Index Toolbox program to this file. But when I tried to make a call, you can access only the recently data in the same way. That is the database example on Luke I can acccess only "kemal". This word type = "NameWord".
I noticed that, taking the same Id(Id=0) of data I was each added. How to assign values automatically id.