Reindexing Lucene Options
ckoiak
Posted: Thursday, March 06, 2008 9:23:47 PM
Rank: Enthusiast

Joined: 8/23/2007
Posts: 11
I have a website that's using lucene, unfortunately I think the index is corrupt. I'm getting an error when I search

Could not find file 'D:\Web\data\umbSearch\_9k7.fnm'.

Does anyone know how I can reindex the full site? I'm hoping there is a config setting that will just clean the full index?

Thanks

Chris
drobar
Posted: Thursday, March 06, 2008 9:34:10 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,285
Location: KY, USA
Hi, Chris,

In your macro for the umbraco utilities search, set the DebugMode="1". Then go to your search page. You'll have a few new controls that will let you force a reindex.

Code:

<?UMBRACO_MACRO macroAlias="uuSearch"   
   .
   .
   .
   DebugMode="1"   
   .
   .
   > 
</?UMBRACO_MACRO> 


You might also look at "Luke" for lucene at http://www.getopt.org/luke/

cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
ckoiak
Posted: Thursday, March 06, 2008 9:43:23 PM
Rank: Enthusiast

Joined: 8/23/2007
Posts: 11
Thanks for the speedy reply.

I've set DebugMode="1" but i'm still receiving No sub-file with id _9k7.fnm found

http://aspria.conscia.co.uk/royal-la-rasante/en/non-members/welcome/search-results.aspx?search=test

ckoiak
Posted: Thursday, March 06, 2008 9:47:51 PM
Rank: Enthusiast

Joined: 8/23/2007
Posts: 11
Sorry.. please ignore my last message. You post helped a lot!

Thanks.

Chris
drobar
Posted: Thursday, March 06, 2008 9:49:06 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,285
Location: KY, USA
I don't know if you or I fixed it. But here's what I did, just in case...

I went to the search page and added "-1" to the "Add node with id to index". -1 is the same as "all nodes".

I then clicked the Debug: Create index button.

25seconds later, the 1630 nodes were reindexed and the search seems to be functioning normally.

cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
tan
Posted: Monday, May 05, 2008 3:45:59 PM
Rank: Newbie

Joined: 4/30/2008
Posts: 6
Location: Belarus
I have add this parameter but don;t see any possibilty to reindex
imayat12
Posted: Tuesday, May 06, 2008 9:44:47 AM

Rank: Addict

Joined: 7/19/2006
Posts: 542
Location: Preston, UK
tan,

The latest version of umbSearch has got a buildindex usercontrol you could add this to your dashboard in developer section thus you have quick way via the umbraco interface to rebuild your index.

Regards

Ismail

Level 2 certified. If it aint broke dont fix.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.