Skip to content

Commit

Permalink
feat: removed all from unfielded search and also from copyField in sc…
Browse files Browse the repository at this point in the history
…hema.xml
  • Loading branch information
romanchyla committed Feb 3, 2022
1 parent 7aa2d9d commit 33dcb9a
Show file tree
Hide file tree
Showing 5 changed files with 216 additions and 554 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ protected static HashSet<String> generateSynonymVariations(
HashMap<String,String> parsedAuthor,
HashSet<String> variations) {

String last = parsedAuthor.get("last");
String first = parsedAuthor.get("first");
String middle = parsedAuthor.get("middle");
String last = parsedAuthor.get("Last");
String first = parsedAuthor.get("First");
String middle = parsedAuthor.get("Middle");

if (parsedAuthor.size() == 1 && last != null) {
variations.add(String.format("%s,.*", last)); // all we got was last name
Expand Down
Loading

0 comments on commit 33dcb9a

Please sign in to comment.