No, updating and optimizing will not delete and regenerate files. At most, they'll create the new segments and, only after everything is written, delete obsolete files.
So whatever happened (and I haven't seen anything like this on the user's list), you're really out of luck. But the question is what the *symptom* is. Can you still fetch documents from the server? Do the fields show up? Is there anything malfunctioning? If not, you may have somehow simply deleted all the docs with stored fields. You also haven't indicated whether the fdt file has anything in it. Bottom line, you have to re-index the source if you've somehow deleted your fdx file AND your application isn't working. Best Erick On Sat, Mar 3, 2012 at 1:33 AM, C.Yunqin <345804...@qq.com> wrote: > yes,the fdt file still is there. can i make new fdx file through fdt file. > is there a posibilty that during the process of updating and optimizing, > the index will be deleted then re-generated? > > > > ------------------ Original ------------------ > From: "Erick Erickson"<erickerick...@gmail.com>; > Date: Sat, Mar 3, 2012 08:28 AM > To: "solr-user"<solr-user@lucene.apache.org>; > > Subject: Re: Fw:how to make fdx file > > > As far as I know, fdx files don't just disappear, so I can only assume > that something external removed it. > > That said, if you somehow re-indexed and had no fields where > stored="true", then the fdx file may not be there. > > Are you seeing problems as a result? This file is used to store > index information for stored fields. Do you have an fdt file? > > Best > Erick > > On Fri, Mar 2, 2012 at 2:48 AM, C.Yunqin <345804...@qq.com> wrote: >> Hi , >> my fdx file was unexpected gone, then the solr sever stop running; what I >> can do to recover solr? >> >> Other files still exist. >> >> Thanks very much >> >> >> </:includetail>