mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
Add matchType to getPositionSearchQuery #634
This commit is contained in:
parent
9be4fda56b
commit
14de6cbd10
@ -136,6 +136,7 @@ export class GalleryPhotoComponent implements IRenderable, OnInit, OnDestroy {
|
|||||||
getPositionSearchQuery(): string {
|
getPositionSearchQuery(): string {
|
||||||
return JSON.stringify({
|
return JSON.stringify({
|
||||||
type: SearchQueryTypes.position,
|
type: SearchQueryTypes.position,
|
||||||
|
matchType: TextSearchQueryMatchTypes.exact_match,
|
||||||
text: this.getPositionText(),
|
text: this.getPositionText(),
|
||||||
} as TextSearch);
|
} as TextSearch);
|
||||||
}
|
}
|
||||||
@ -194,4 +195,3 @@ export class GalleryPhotoComponent implements IRenderable, OnInit, OnDestroy {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user