Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
We are using D-Space for the internal document repository of Belgium
There is now nearly 44 thousands records mostly selected from MedLine:
often 5 authors per article and 20 MeSH subjects. Authors and subjects
browsing are unusable now (I still have to test the new browsing mechanism).
Hopefully my users are used to the type of interface like the one
proposed by "advanced search" BUT they are very upset that the result is
not sorted by reverse order of publication date.
To solve this, I began to modify doQuery within DSQuery.java
(org.dspace.search) to add the sort field parameter to the call to
Hits hits = searcher.search(myquery,"publication",true);
wher "publication" is a new search index (the 13th ! ) defined in
I also recreated Lucene indexes and added "publication" to the index
listed in advanced.jsp : searching by "publication" works very well.
But not sorting: the hits are absolutely not sorted.
Does anyone had experimented with this before?
Do we have any way to turn debugging on for Lucene so I could see what
is happening inside searcher.search ?
I will publish a patch with the result (when it works) with added
parameterization within dspace.cfg.
THANKS A LOT FOR YOUR HELP!