Re: Fw:how to make fdx file

2012-03-04 Thread Erick Erickson
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 Ericksonerickerick...@gmail.com;
  Date:  Sat, Mar 3, 2012 08:28 AM
  To:  solr-usersolr-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


Re: Fw:how to make fdx file

2012-03-04 Thread Li Li
lucene will never modify old segment files, it just flushes into a new
segment or merges old segments into new one. after merging, old segments
will be deleted.
once a file(such as fdt and fdx) is generated. it will never be
re-generated. the only possible is that in the generating stage, there is
something wrong. or it's deleted by other programs such as wrongly deleted
by human.

On Sat, Mar 3, 2012 at 2:33 PM, 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 Ericksonerickerick...@gmail.com;
  Date:  Sat, Mar 3, 2012 08:28 AM
  To:  solr-usersolr-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



Re: Fw:how to make fdx file

2012-03-02 Thread Erick Erickson
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


Re: Fw:how to make fdx file

2012-03-02 Thread C.Yunqin
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 Ericksonerickerick...@gmail.com;
 Date:  Sat, Mar 3, 2012 08:28 AM
 To:  solr-usersolr-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