Skip to content

Commit cebee92

Browse files
authored
Update README.md
1 parent 9649268 commit cebee92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ import com.meilisearch.sdk.SearchRequest;
147147

148148
// ...
149149

150-
SearchResult results = (SearchResult) orderIndex.search(
150+
SearchResult results = (SearchResult) index.search(
151151
new SearchRequest("of")
152152
.setShowMatchesPosition(true)
153153
.setAttributesToHighlight(new String[]{"title"})

0 commit comments

Comments
 (0)