Skip to content

cx0222/MiniAmazonIR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Full-Text Search for MiniAmazon (CS 516 Project)

This component implements full-text search functionality for the "MiniAmazon" project of CS 516. It serves as an extra feature in our e-commerce system, enabling users to search for products by keywords β€” similar to how major search engines like Google or Baidu work.

πŸ“¦ Use Case

Whenever a product is imported, added, or updated, the following fields are passed to the full-text search service:

  • id
  • category_id
  • name
  • description
  • price

Among them, the name and description fields are indexed and made searchable using full-text search techniques.

🌐 API

  • Endpoint: POST http://www.cx0222.cn:8082/document/
  • Request Payload:
    A UserSearchRequest with a query string (5–30 chars) and a limit (5–30 results).
  • Frontend: Integrated into the MiniAmazon UI; search results are shown directly in the result view.

About

Duke CS 516 Project - Extra Features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages