# Index File Contents for Search

**URL:** <https://meta.discourse.org/t/index-file-contents-for-search/31884>\
**Category:** Feature\
**Tags:** ai, ai-search\
**Created:** [8월 7, 2015, 6:37오후 UTC](https://meta.discourse.org/t/index-file-contents-for-search/31884 "2015-08-07T18:37:32Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![dennisjbr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dennisjbr/32/444916_2.png) [@dennisjbr](https://meta.discourse.org/u/dennisjbr)\
**Post date:** [9월 23, 2025, 5:45오전 UTC](https://meta.discourse.org/t/index-file-contents-for-search/31884/10 "2025-09-23T05:45:07Z")

</div>

이것은 특히 PDF, 스캔본, 이미지 등을 통해 많은 문서를 다루는 포럼들에게 엄청난 개선이 될 것입니다. 범위가 검색으로만 제한된다면, 이상적으로는 텍스트를 추출하거나 생성한 후 그 텍스트를 PostgreSQL의 한 열에 저장하면 됩니다. 그렇게 하면 이미 존재하는 PostgreSQL의 전체 텍스트 검색 기능을 활용할 수 있습니다.

예를 들어 Linux에서는 pdftotext를 사용해 PDF에서 텍스트를 추출한 후 데이터베이스에 저장할 수 있습니다. 또 다른(비용이 더 많이 드는) 아이디어는 AI 비전을 사용해 PDF나 이미지를 설명하거나 텍스트를 추출하여 데이터베이스에 저장하는 것입니다.

여러분의 생각은 어떨까요?

---

_[View the full topic](https://meta.discourse.org/t/index-file-contents-for-search/31884)._
