Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spotlight indexing, mdutil, and nested folder searching...



Hi Andre,

I'm having the same problems as you with Spotlight not working and was wondering if you were able to figure out the solution? If so, do you mind sharing?

Thanks,
Ed Wu


>Message: 12
>Date: Mon, 2 Jun 2008 17:48:33 -0500
>From: Andre Andrepont <email@hidden>
>Subject: Fwd: Spotlight indexing, mdutil, and nested folder
>	searching...
>To: MacOS X Server List <email@hidden>
>Message-ID:
>	<email@hidden>
>Content-Type: text/plain; charset="us-ascii"
>
>
>
>> From: Andre Andrepont <email@hidden>
>> Date: June 2, 2008 3:26:30 PM CDT
>> To: MacOS X Server List <email@hidden>
>> Subject: Re: Spotlight indexing, mdutil, and nested folder  
>> searching...
>>
>>
>> On Jun 2, 2008, at 10:47 AM, Simon Slavin wrote:
>>
>>>
>>> On 2 Jun 2008, at 2:20pm, Andre Andrepont wrote:
>>>
>>>> Maybe there's something about this configuration that Spotlight  
>>>> doesn't like?
>>>
>>> Not that I know of, but try issuing
>>>
>>> mdutil -sav
>>>
>>> while sitting at the server.  Then you could read
>>>
>>> 'man mdutil'
>>>
>>> looking for the '-s' switch, the '-i' switch and the '-v' switch.   
>>> You could also try
>>>
>>> 'man mdls'
>>>
>>> just to see what files are and aren't indexed, to see if you can  
>>> see a pattern.
>>>
>>
>> Okay, just ran mdutil -av -i and saw something interesting:
>>
>> server:~ admin$ mdutil -av -i /Volumes/Online_Job_Library
>> Error: unexpected indexing state (/Volumes/Online_Job_Library)
>> Usage: mdutil -pEsa -i (on|off) volume ...
>> 	Utility to manage Spotlight indexes.
>> 	-p		Publish metadata.
>> 	-i (on|off)	Turn indexing on or off.
>> 	-E		Erase and rebuild index.
>> 	-s		Print indexing status.
>> 	-a		Apply command to all volumes.
>> 	-v		Display verbose information.
>>
>> Relevant line highlighted in red above.  Not quite sure what to make  
>> of this "unexpected indexing state" as I've never seen this before.   
>> Also the first time I've tried being verbose with that mdutil  
>> command, also.
>
>Please disregard that last comment, I just realized that I got the  
>"unexpected indexing state" response because I had not specified on or  
>off after the -i command.  In other news, I just completed a fresh  
>reindex of that volume, and sitting at the server I'm still returning  
>no results via Finder search or Spotlight itself.  Tried running mdls  
>on a few files, but spaces in the file or folder names seems to cause  
>that to not work.
>
>
>>
>>> Simon
>>> -- 
>>> Simon Slavin                               Fylde Building Room C11
>>> Computing Development Officer              01524 65201 x 93569
>>> Psychology Department
>>> University of Lancaster
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Macos-x-server mailing list      (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/macos-x-server/email@hidden
>>>
>>> This email sent to email@hidden
>>>
>>
>> Andre Andrepont
>> email@hidden
>>
>>
>>
>
>Andre Andrepont
>email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.