That's an odd problem, I've never run into anything like that before.

You can rebuild the resource index with the script 
$FEDORA_HOME/server/bin/fedora-rebuild.sh (for Unix).  Make sure your 
Fedora server is shutdown before you run it.  That won't reindex 
specific PIDs -- it recreates the whole resource index.

-- Scott

On 01/30/2012 09:02 AM, Jonathan Green wrote:
> Hello.
>
> I was wondering if anyone has seen this before. I am having trouble
> where a query for fedora label is returning multiple different labels.
>
> Query:
> select $title from <#ri>where <info:fedora/test:object>
> <fedora-model:label> $title
>
> Results:
> <sparql xmlns="http://www.w3.org/2001/sw/DataAccess/rf1/result";>
> <head>
> <variable name="object"/>
> <variable name="title"/>
> </head>
> <results>
> <result>
> <object uri="info:fedora/test:object"/>
> <title>
> -test
> </title>
> </result>
> <result>
> <object uri="info:fedora/test:object"/>
> <title>test:object</title>
> </result>
> <result>
> <object uri="info:fedora/test:object"/>
> <title>
> test
> </title>
> </result>
> </results>
> </sparql>
>
> It only seems to happen sporadically its like the other labels aren't
> getting deleted when a new label is created, but it is happening often
> enough that it is causing some problems.
>
> As a short term solution: Is there a way to reindex specific pids into
> the resource index?
>
> Thanks.
>
> --
> Jonathan Green
> DiscoveryGarden Inc.
> Sims Office Suites Building, 3rd Floor, 118 Sydney Street
> Charlottetown, PE C1A 1G4
> 902.367.3851 discoverygarden.ca <http://discoverygarden.ca/>
> jonat...@discoverygarden.ca <mailto:jonat...@discoverygarden.ca>
> skype: jonathan.edwards.green
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
>
>
>
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users


-- 
Scott Prater
Library, Instructional, and Research Applications (LIRA)
Division of Information Technology (DoIT)
University of Wisconsin - Madison
pra...@wisc.edu
5-5145

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to