Analytics are being indexed

Project:RUcore dlr/EDIT
Version:6.1
Component:Code
Category:bug report
Priority:critical
Assigned:triggs
Status:closed
Description

Objects with content model = analytic should not be indexed independently. There "information" needs to be subsumed under the index of the object they are related to.

An example of a analytic that is being indexed is the following:

http://rep-test.libraries.rutgers.edu/rucore/search/results.php?key=root&q1=Learning+object+for+%22Ibsen%27s+First+36+Years%22&q1field=object&q1bool=AND&q2=&q2field=object&rtype[]=&orderby=relevance&numresults=10&c[0]=

Comments

#1

Priority:normal» critical

#2

Assigned to:triggs» chadmills

When indexing a video that has an analytic it looks like the Abstract from the Analytic is being pulled into the video's index file Abstract section. All analytic metadata is supposed to be pulled into whatever the equivalent of the OCR/XML index field is.

I found this by going into the manage relationships for a video and added an analytic relationship using hasAnalytic. I then looked at the index file for the video and low and behold the Analytic abstract information is now populating the video abstract field in the index.

#3

Assigned to:chadmills» triggs

#4

Status:active» test

Solrpost should now throw an error like the following if an attempt is made to index an Analytic object:
<?xml version="1.0" encoding="UTF-8"?>
<responses>
<response actiontype="add"><status>Failed</status><message>Error with add action for rutgers-lib:25536. Objects with a content model of 'Analytic' cannot be indexed...</message></response>
</responses>

#5

Status:test» active

Analytics are still found when searching. Here is an example:

http://rep-test.libraries.rutgers.edu/rucore/search/results.php?q1=learning+object&rtype[]=&numresults=1&key=root&start=7

#6

Status:active» test

Those were the old ones. I cleaned them out so no analytics are currently in the index and no others should appear there.

#7

Chad,

Can we ingest a new analytic object and test it? I just want to make sure that the public display is clean.

Thanks,
KA

#8

I have ingested a new analytic on development.

<a href="http://hdl.rutgers.edu/1782.1/rep-devel.Analytic.an.69" title="http://hdl.rutgers.edu/1782.1/rep-devel.Analytic.an.69">http://hdl.rutgers.edu/1782.1/rep-devel.Analytic.an.69</a>

I added this and another, non analytic to a search portal. I will wait for indexing to occur and see what happens.

#9

Status:test» closed

Closing. Indexing cron ran. One item, the non-analytic, was added to my portal as expected and found through searching. The analytic was not found through searching.

Back to top