I accessing only the recently added data.

20 views
Skip to first unread message

Üsame Kaldrım

unread,
Aug 21, 2015, 11:18:41 AM8/21/15
to Luke - Lucene Index Toolbox
I am using Lucene on Asp.Net platform. And i am using Lucene.Net.Linq . I wrote a WebAPI using lucane.

I'm adding data. And also I am accessing this data.But i can access only last data. I can not find other data in my search. I looked at the file directory.
Lucene creating a new commit on each add. (Ex:_0.cfs , _2.cfs , _3.cfs).  I look in segments.gen file. And I opened the file using the Lucene Index Toolbox. Likewise, here I try to do the search, just accessing the latest data. But it seems all data in program interface.

How i can fix this problem

Dmitry Kan

unread,
Sep 17, 2015, 5:22:33 AM9/17/15
to luke-d...@googlegroups.com
Hi Üsame,

Sorry to reply this late. Could you share a bit more detail and perhaps code repository, if your project is open source. If luke shows that all the data is available, could it be that your WebAPI is querying only latest segments? You can optimize your index down to a single segment and try viewing it with your tool again to see if all the data is available.

--
Otrzymujesz tę wiadomość, bo subskrybujesz grupę „Luke - Lucene Index Toolbox” w Grupach dyskusyjnych Google.
Aby anulować subskrypcję tej grupy i przestać otrzymywać od niej wiadomości, wyślij e-maila na luke-discuss...@googlegroups.com.
Więcej opcji znajdziesz na https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages