Author Topic: Windows 7 Indexing  (Read 12347 times)

Offline asummerf

  • Junior Member
  • **
  • Posts: 19
    • View Profile
Windows 7 Indexing
« on: August 20, 2009, 03:47:16 PM »
Is anyone else having problems with the index and not being able to find entries by search.

I had this after the initial setup and performed a rebuild through the control panel.  This fixed things for a while but I noticed that the search was failing again the other day.

I have edited the ice tv batch file and added "net stop wsearch" before and a "net start wsearch" after the loadmxf program to see if this helps in any way.

Any other suggestions?

Adam



Offline Russell at IceTV

  • Guru
  • *****
  • Posts: 444
    • View Profile
Re: Windows 7 Indexing
« Reply #1 on: August 21, 2009, 01:50:52 AM »
This tip from the first Readme file in this board might help:

Tip: Searching in Media Center
After loading new guide data, it may take some time before Windows indexes everything. Until that happens, searching in Media Center by Title or Keyword may not find what you want. You can either wait for Windows to re-index everything on its own schedule, or you can force it to re-index everything immediately:

  • In Windows 7, go to Start / Control Panel / All Control Panel Items / Indexing Options.
  • You should see "Windows Media Center" in the list of "Included Locations".
  • Click Advanced, then click Rebuild, then click OK.  This will rebuild the index and include all the latest guide data.
  • When it says "Indexing complete" at the top, click Close, and then searching in Media Center should include all the latest data.

Russell

Offline CainDavidson

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Windows 7 Indexing
« Reply #2 on: September 02, 2009, 01:11:39 PM »
This tip from the first Readme file in this board might help:

Tip: Searching in Media Center
After loading new guide data, it may take some time before Windows indexes everything. Until that happens, searching in Media Center by Title or Keyword may not find what you want. You can either wait for Windows to re-index everything on its own schedule, or you can force it to re-index everything immediately:

  • In Windows 7, go to Start / Control Panel / All Control Panel Items / Indexing Options.
  • You should see "Windows Media Center" in the list of "Included Locations".
  • Click Advanced, then click Rebuild, then click OK.  This will rebuild the index and include all the latest guide data.
  • When it says "Indexing complete" at the top, click Close, and then searching in Media Center should include all the latest data.

Russell

I am having this problem also. A manual index rebuild fixes it for a while but as new guide data is added it doesn't seem to be indexed automatically. Are you suggesting running a manual rebuild after every guide fetch??

Offline Russell at IceTV

  • Guru
  • *****
  • Posts: 444
    • View Profile
Re: Windows 7 Indexing
« Reply #3 on: September 03, 2009, 09:00:07 AM »
I would have thought that it would rebuild the index automatically every once in a while, since I think that's generally how the search indexing works.  I wonder if maybe your indexing service isn't running?

You can check by going to Start / Control Panel / System and Security / Administrative Tools / Services.  Then check the entry for "Windows Search".  It should be set to a Startup Type of "Automatic (Delayed Start)" and the Status should be "Started".

You can also check the Event Viewer to see if that service is running occasionally.  Go to Start / Control Panel / System and Security / Administrative Tools / Event Viewer.  Then open "Windows Logs" and click on "Application".  Look for entries where the Source is "Search".  You should see quite a few entries where the indexing service starts and stops.

We'll try a test here also and see if our test machine is rebuilding the index automatically.

Russell

Offline asummerf

  • Junior Member
  • **
  • Posts: 19
    • View Profile
Re: Windows 7 Indexing
« Reply #4 on: September 03, 2009, 10:52:54 AM »
Russell,

I can report that stopping and restarting the indexing service had no impact.

For a couple of days I could not search for "Junkyard Wars" and then it fixed itself.

It would be so much easier if you could force a rebuild after loading the new guide, but i have been unable to locate a way to do this.

Adam

Offline CainDavidson

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Windows 7 Indexing
« Reply #5 on: September 03, 2009, 07:14:06 PM »
I have confirmed the indexing service is running and searching does eventually work, like 2-3 days after the data has been added. It's not really a big deal as I mostly use search to initially set up my series recordings and then rarely use it. I don't remember having any trouble with vista but mayby 7 is a lot more responsive becouse background services have very low priority. 

Offline Russell at IceTV

  • Guru
  • *****
  • Posts: 444
    • View Profile
Re: Windows 7 Indexing
« Reply #6 on: September 04, 2009, 04:05:16 AM »
It would be so much easier if you could force a rebuild after loading the new guide, but i have been unable to locate a way to do this.

Yeah, I think there should be a way to do that.  I found one reference to some kind of notification system in Windows, where a program could send a message somehow that the data had changed, and that the index for it should be rebuilt.  But I haven't yet found exactly how to do that.  We'll keep looking for something...

Russell

Offline dgaust

  • Senior Member
  • ****
  • Posts: 85
    • View Profile
Re: Windows 7 Indexing
« Reply #7 on: September 07, 2009, 11:12:21 AM »
You could run the ReindexSearchRoot task which will force a reindex of the guide database. It does say the mediacentre needs to be closed in order to run it, I'm not sure of the consequences if it's run while 7MC is open.

http://msdn.microsoft.com/en-us/library/dd776338.aspx#reindexing_guide_data_after_load_new_guide_data__ykic

You could add a line to the end of the batch file that read something like

C:\windows\system32\schtasks.exe /run /tn ReindexSearchRoot

It should then run the reindex task at the end of every guide upload.

note: I haven't tried to see if the above command would work, but in theory it should.
« Last Edit: September 07, 2009, 11:14:30 AM by dgaust »

Offline asummerf

  • Junior Member
  • **
  • Posts: 19
    • View Profile
Re: Windows 7 Indexing
« Reply #8 on: September 11, 2009, 08:14:06 PM »
The scheduled task runs the following command...

C:\Windows\ehome\ehPrivJob.exe /DoReindexSearchRoot

I have added this to the batch file and will see how it goes...

Adam

Offline dgaust

  • Senior Member
  • ****
  • Posts: 85
    • View Profile
Re: Windows 7 Indexing
« Reply #9 on: September 14, 2009, 09:08:32 AM »
Don't run the command line, run the task. I believe the task runs with different privileges to the local user (uses the System Account) which is required for it to work.

Offline gleggate

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Windows 7 Indexing
« Reply #10 on: September 15, 2009, 11:49:10 AM »
You aren't alone with this problem. For some reason the index doesn't rebuild automatically and appears to need to be updated manually. Very strange and a bit frustrating. Hoping this is fixed in RTM version of Windows7. I have had this problem in bother the RC 7100 and RC7127 build's.

Offline asummerf

  • Junior Member
  • **
  • Posts: 19
    • View Profile
Re: Windows 7 Indexing
« Reply #11 on: September 15, 2009, 07:16:02 PM »
Hoping this is fixed in RTM version of Windows7. I have had this problem in bother the RC 7100 and RC7127 build's.

I hate to tell you but I am running the RTM version and the problem is there.  I am testing the fix detailed a few posts earlier in this thread - so far so good.

Adam

Offline dgaust

  • Senior Member
  • ****
  • Posts: 85
    • View Profile
Re: Windows 7 Indexing
« Reply #12 on: October 20, 2009, 08:34:56 AM »
Russell,

You might be interested in this post from MikeHayton in regards to the indexing of new guide data.

Offline Russell at IceTV

  • Guru
  • *****
  • Posts: 444
    • View Profile
Re: Windows 7 Indexing
« Reply #13 on: October 21, 2009, 07:25:02 AM »
Russell,

You might be interested in this post from MikeHayton in regards to the indexing of new guide data.

Thanks for that.  When our Win7 client loads new guide data, it triggers a re-indexing of the data in Media Center, and the new information appears in searches a few seconds later.  Seems to work pretty well.

We're in the final alpha testing phases now -- a public beta release will be Real Soon Now.

Russell

Offline amandaandjustin

  • Junior Member
  • **
  • Posts: 17
    • View Profile
Re: Windows 7 Indexing
« Reply #14 on: October 21, 2009, 08:04:39 AM »
Russell,

Just curious, how are you dealing with the initial burst of inband data when initially setting up in Windows 7? I've never been able to avoid it all together (i.e. can't choose to disable inband fast enough) & end up having 7-10 days of it on some channels before the IceTV data picks up after it. It's particularly noticeable on channel 9 where they put a copyright message in their descriptions.

It's a problem because series recordings set up based on the inband data are likely to fail after the IceTV data kicks in during the second week (because the inband data naming has no convention & may vary from the IceTV logical naming).

Thanks,

Justin


Share via facebook Share via twitter

xx
WMC running in Windows 10 but IceTV not recording

Started by dataplex on Windows 8 Media Center

2 Replies
617 Views
Last post January 12, 2019, 07:05:54 PM
by dataplex
xx
More Windows 10 updates eating WMC

Started by Dave on Windows 8 Media Center

0 Replies
713 Views
Last post March 20, 2018, 01:35:41 PM
by Dave
xx
Windows 10 Anniversary Update ate my WMC!

Started by a4x4kiwi on Windows 8 Media Center

12 Replies
4853 Views
Last post July 23, 2019, 04:13:34 PM
by raymondjpg
clip
Windows 10 Grrr

Started by csutak40 on XMLTV (General)

5 Replies
2721 Views
Last post July 23, 2016, 01:42:10 PM
by IanL-S