When creating a new index, you need to run /dspace/bin/index-init, not
index-update.
This will cause the indexes to be completely regenerated and the new
index to be created.
--Jeff
Jeffrey Trimble
System LIbrarian
William F. Maag Library
Youngstown State University
330.941.2483 (Office)
[email protected]
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
"I must not fear. Fear is the mind-killer.
I will permit it to pass over me and through me..."
--Litany against fear....
On Nov 25, 2009, at 1:08 PM, Jason Fowler wrote:
I am using DSpace 1.5.2 with xmlui. I am trying to implement a
browse index for advisor. I want to create separate browse indices
for authors and advisors.
I can limit the author browse index to just authors in dspace.cfg by
tweaking the line that says
webui.browse.index.2 = author:metadata:dc.contributor.*:text
to
webui.browse.index.2 = author:metadata:dc.contributor.author:text
I assumed that I could also implement an advisor browse index by
adding the line
webui.browse.index.6 = advisor:metadata:dc.contributor.advisor:text
and then re-indexing using [dspace]/bin/index-update
However, when I run index-update, I get the following
Exception in thread "main" org.dspace.browse.BrowseException:
org.postgresql.util.PSQLException: ERROR: relation "bi_6_dmap" does
not exist
at
org
.dspace
.browse
.BrowseCreateDAOPostgres.deleteByItemID(BrowseCreateDAOPostgres.java:
416)
at org.dspace.browse.IndexBrowse.removeIndex(IndexBrowse.java:
301)
at org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:
455)
at org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:
1106)
at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:661)
Caused by: org.postgresql.util.PSQLException: ERROR: relation
"bi_6_dmap" does not exist
at
org
.postgresql
.core
.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:
1531)
at
org
.postgresql
.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1313)
at
org
.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:
188)
at
org
.postgresql
.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
at
org
.postgresql
.jdbc2
.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:
354)
at
org
.postgresql
.jdbc2
.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:308)
at
org
.apache
.commons
.dbcp
.DelegatingPreparedStatement
.executeUpdate(DelegatingPreparedStatement.java:102)
at
org
.apache
.commons
.dbcp
.DelegatingPreparedStatement
.executeUpdate(DelegatingPreparedStatement.java:102)
at
org
.dspace
.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:390)
at
org
.dspace
.browse
.BrowseCreateDAOPostgres.deleteByItemID(BrowseCreateDAOPostgres.java:
411)
... 4 more
Creating search index
So, the browse index is not created. Can anyone offer any advice
about how to actually implement this?
Jason Fowler, CA, MSLS
Archives and Special Collections Librarian
The Southern Baptist Theological Seminary
[email protected]
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech