| Package | Description |
|---|---|
| org.dspace.app.statistics |
Defines usage event instrumentation points and provides implementations for
testing.
|
| org.dspace.discovery |
| Modifier and Type | Method and Description |
|---|---|
static Integer |
LogAnalyser.getNumItems(Context context)
get the total number of items in the archive at time of execution,
ignoring all other constraints
|
static Integer |
LogAnalyser.getNumItems(Context context,
String type)
get the number of items in the archive which were accessioned between
the provided start and end dates, with the given value for the DC field
'type' (unqualified)
|
static String |
LogAnalyser.processLogs(Context context,
String myLogDir,
String myFileTemplate,
String myConfigFile,
String myOutFile,
Date myStartDate,
Date myEndDate,
boolean myLookUp)
using the pre-configuration information passed here, analyse the logs
and produce the aggregation file
|
| Modifier and Type | Method and Description |
|---|---|
void |
SolrServiceImpl.buildSpellCheck() |
void |
IndexingService.buildSpellCheck() |
String |
SolrServiceImpl.calculateExtremeValue(Context context,
String valueField,
String sortField,
DiscoverQuery.SORT_ORDER sortOrder) |
String |
SearchService.calculateExtremeValue(Context context,
String valueField,
String sortField,
DiscoverQuery.SORT_ORDER sortOrder)
This method returns us either the highest or lowest value for the field that we give to it
depending on what sortOrder we give this method.
|
void |
FacetYearRange.calculateRange(Context context,
List<String> filterQueries,
IndexableObject scope,
SearchService searchService,
DiscoverQuery parentQuery) |
protected static void |
IndexClient.checkRebuildSpellCheck(org.apache.commons.cli.CommandLine line,
IndexingService indexer)
Check the command line options and rebuild the spell check if active.
|
void |
SolrServiceImpl.cleanIndex(boolean force)
Iterates over all documents in the Lucene index and verifies they are in
database, if not, they are removed.
|
void |
IndexingService.cleanIndex(boolean force) |
void |
SolrServiceImpl.cleanIndex(boolean force,
int type) |
void |
IndexingService.cleanIndex(boolean force,
int type) |
void |
SolrServiceImpl.commit() |
void |
IndexingService.commit() |
FacetYearRange |
SolrServiceImpl.getFacetYearRange(Context context,
IndexableObject scope,
DiscoverySearchFilterFacet facet,
List<String> filterQueries,
DiscoverQuery parentQuery) |
FacetYearRange |
SearchService.getFacetYearRange(Context context,
IndexableObject scope,
DiscoverySearchFilterFacet facet,
List<String> filterQueries,
DiscoverQuery parentQuery) |
void |
SolrServiceImpl.indexContent(Context context,
IndexableObject dso,
boolean force,
boolean commit) |
void |
IndexingService.indexContent(Context context,
IndexableObject dso,
boolean force,
boolean commit) |
static void |
IndexClient.main(String[] args)
When invoked as a command-line tool, creates, updates, removes content
from the whole index
|
void |
IndexingService.optimize() |
protected boolean |
SolrServiceImpl.requiresIndexing(String handle,
Date lastModified)
Is stale checks the lastModified time stamp in the database and the index
to determine if the index is stale.
|
protected org.apache.solr.client.solrj.SolrQuery |
SolrServiceImpl.resolveToSolrQuery(Context context,
DiscoverQuery discoveryQuery,
boolean includeUnDiscoverable) |
DiscoverResult |
SolrServiceImpl.search(Context context,
DiscoverQuery query) |
DiscoverResult |
SearchService.search(Context context,
DiscoverQuery query)
Convenient method to call @see #search(Context, DSpaceObject,
DiscoverQuery) with a null DSpace Object as scope (i.e.
|
DiscoverResult |
SolrServiceImpl.search(Context context,
DiscoverQuery discoveryQuery,
boolean includeUnDiscoverable) |
DiscoverResult |
SearchService.search(Context context,
DiscoverQuery query,
boolean includeWithdrawn) |
DiscoverResult |
SolrServiceImpl.search(Context context,
IndexableObject dso,
DiscoverQuery query) |
DiscoverResult |
SearchService.search(Context context,
IndexableObject dso,
DiscoverQuery query)
Convenient method to call @see #search(Context, DSpaceObject,
DiscoverQuery, boolean) with includeWithdrawn=false
|
DiscoverResult |
SolrServiceImpl.search(Context context,
IndexableObject dso,
DiscoverQuery discoveryQuery,
boolean includeUnDiscoverable) |
DiscoverResult |
SearchService.search(Context context,
IndexableObject dso,
DiscoverQuery query,
boolean includeWithdrawn) |
Copyright © 2019 DuraSpace. All rights reserved.