Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

검색은 범위를 점점 좁혀가며 원하는 문서를 찾아가는 과정입니다.

  • 검색필터 : 수많은 아이템중 필요한 아이템 컬렉션으로 줄이기 위한 검색 옵션
  • 키워드검색 : 제공되는 필터만으로는 검색 결과를 줄이는것에 한계가 있다. 키워드 검색은 쿼리 검색으로 간주할수 있다.
  • 검색결과 : 검색 필터와 키워드검색 조합에 의해 반환된 아이템 컬렉션
  • 검색내 재검색 : 검색 결과를 줄여주는 Tip(Summay)를 제공함으로 원하는 범위로 줄일수 있는 기능을제공 ( 키워드 → 필터A(카테고리) → 필터B(가격범위한정)
  • 검색결과 오더순서 : 검색 결과의 정렬 즉 첫번째아이템이 검색결과에의한 추천 아이템으로 간주할수 있다.



Image Added


검색 옵션(필터)

Code Block
themeEmacs
namespace SearchApi.Models.Filter
{

    public class Paging
    {
        public int page { get; set; }   // 0 base
        public int limit { get; set; }
    }

    public class Sort
    {
        public string price { get; set; }

        public string viewCnt { get; set; }

        public string saleCnt { get; set; }

    }

    public class Filters
    {
        public int minPrice { get; set; }

        public int maxPrice { get; set; }

        public string category1 { get; set; }

        public string category2 { get; set; }

        public string category3 { get; set; }

        public string tag { get; set; }
    }

    public class SearchFilter
    {
        public Paging paging { get; set; }

        public Sort sort { get; set; }

        public Filters filters { get; set; }

        public string keyword { get; set; }
    }
}

...