Skip to content

End-to-end example of querying magazine articles, including indexing, highlighting, and UI controls

License

Notifications You must be signed in to change notification settings

vectara/magazine-search-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Semantic search demonstration over quantamagazine.org content.

Requirements

  1. JDK 11 or above
  2. Maven

Before you run

  1. Create an account and a corpus in Vectara Console.
  2. Go to Vectara Console Authentication menu and create an App Client
  3. Note down the following three things from App Client page in Console.
    1. App Client ID
    2. App Client Secret
    3. Auth URL (This is available near the top of the page)
  4. Also note down your Vectara customer/account ID and the Corpus ID (of the corpus you want to index data to, or query.)

How to run the demo locally

  1. Update the configuration file at src/main/resources/vectara.properties
  2. To crawl and index Quanta Magazine articles for year 2020 (you only need to do this once).

mvn package -P index

  1. To run the server

mvn package -P server

  1. Open a browser and go to http://localhost:8080

About

End-to-end example of querying magazine articles, including indexing, highlighting, and UI controls

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •