performance optimization in library view
This commit is contained in:
@@ -9,7 +9,6 @@ public class StorySearchDto {
|
||||
private UUID id;
|
||||
private String title;
|
||||
private String description;
|
||||
private String contentPlain;
|
||||
private String sourceUrl;
|
||||
private String coverPath;
|
||||
private Integer wordCount;
|
||||
@@ -65,13 +64,6 @@ public class StorySearchDto {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getContentPlain() {
|
||||
return contentPlain;
|
||||
}
|
||||
|
||||
public void setContentPlain(String contentPlain) {
|
||||
this.contentPlain = contentPlain;
|
||||
}
|
||||
|
||||
public String getSourceUrl() {
|
||||
return sourceUrl;
|
||||
|
||||
@@ -563,7 +563,7 @@ public class TypesenseService {
|
||||
dto.setId(UUID.fromString((String) doc.get("id")));
|
||||
dto.setTitle((String) doc.get("title"));
|
||||
dto.setDescription((String) doc.get("description"));
|
||||
dto.setContentPlain((String) doc.get("contentPlain"));
|
||||
// contentPlain excluded for performance - not needed in search results
|
||||
|
||||
String authorId = (String) doc.get("authorId");
|
||||
if (authorId != null && !authorId.trim().isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user