Hi,

On 06/08/13 07:13, Alcides Carlos de Moraes Neto wrote:
> It seems removing the line from dspace.cfg resolved the issue. Now
> both items show dc.type.
> (This is a bug right? because my line was setting it to FALSE).

I think we can argue about this being a bug or not :) The dspace.cfg
comments around that setting tell you to set it to true when you want to
hide a metadata field. All fields not mentioned are implicitly set to
"not hidden", so you should never set these lines to false. However,
perhaps this should be mentioned somewhere.

> I'll see now if discovery manages to index it correctly.

It looks like this setting should not affect Discovery -- see here for
documentation on how to tell Discovery to exclude metadata fields:
https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-GeneralDiscoverysettings%28config/modules/discovery.cfg%29
So your Discovery issue may be a separate one.

If you have command line access to your server, could you try querying
solr directly to check how many items have dc.type indexed at all? This
might help determine whether the problem is in the user interface or
somewhere deeper. Something like this should work:

curl --globoff
"http://127.0.0.1:8080/solr/search/select?indent=true&rows=0&q=dc.type:[*+TO+*]";

In the output you should get a line similar to this one:

<result name="response" numFound="12345" start="0"/>

where your numFound should be the "close to 200k" that you're expecting.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to