awskrug / kendra-button

Custom search engine using Kendra
http://button.kendra.fun/sample.html
Apache License 2.0
20 stars 2 forks source link

켄드라에서 멀티테넌시 지원 가능 여부 #1

Closed wesky93 closed 4 years ago

wesky93 commented 4 years ago

sass형태로 제공 하려면 특정 사이트의 검색 결과만 노출 되야합니다.(멀티테넌시) 이를 위해 아래 사항을 확인할 필요가 있어 보입니다

마지막의 경우 가령 s3 오브젝트에 메타데이터를 추가 하면 켄드라 인덱싱에 반영 되는지 여부를 의미 합니다. 만약 불가능 하다면 초기 s3에 html 페이지 원본을 넣을때 원본에 임의의 코드를 추가해야 할 수도 있을거 같습니다.

wesky93 commented 4 years ago

Document metadata files that contain information such as the document access control information, source URI, document author, and custom attributes. Each metadata file contains metadata about a single document. 라는것을 봐서는 도큐먼트 별로 별도의 메타데이터 파일이 있으면 필터링이 가능해보입니다. 다만, 원하는 기능이 맞는지 확인해볼 필요가 있을거 같습니다. 또한, 원본 데이터와 다른 공간에 메타데이터를 배치 가능 한것으로 예상되는데, 필요할 경우 원본 문서를 넣는 시점 혹은 문서를 넣고 별도 트리거를 통해 해당 메타데이터를 생성하는 로직이 필요할거 같습니다.

wesky93 commented 4 years ago

https://docs.aws.amazon.com/kendra/latest/dg/s3-metadata.html s3 메타데이터 양식을 보면 원하는 정보를 넣고 쿼리하는데 전혀 문제가 없을거 같습니다.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.