Hello everyone,
I have a Solr related issue as below:
When searching a key word, it has to be precisely matching a word in out-of-box DSpace. Otherwise, no result is in the list. (without using the wild cards)
Steps to reproduce the issue:
Desired results examples:
Search Term: sta
Desired Results:
Texas State University Stanford University
Search Term: stan
Desired Results:
Stanford University
Search Term: st un
Desired Results:
Texas State University
Stanford University
This is what I've tried so far:
This tokenizer splits the text field into tokens, treating whitespace and punctuation as delimiters. Delimiter characters are discarded, with the following exceptions:
Periods (dots) that are not followed by whitespace are kept as part of the token, including Internet domain names.
The "@" character is among the set of token-splitting punctuation, so email addresses are not preserved as single tokens.
Note that words are split at hyphens.
File Directory:
\solr-8.11.1\server\solr\configsets\search\conf\schema.xml
\DSpace\solr\search\conf\schema.xml
Code:
Re-index: https://wiki.lyrasis.org/display/DSPACE/Re-index+DSpace If you just want to do a quick update of the index (just updates your existing index, without first wiping it clean), do the following:
dspace index-update
If you want to run a full re-index (which actually removes your existing index and rebuilds it from scratch), do the following: