Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reviewing from scratch the steps #21

Merged
merged 1 commit into from
Feb 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ you can use during the class as well, so don't fret if your environment won't le

If you have [Docker](https://www.docker.com/products/docker-desktop) installed and running.

Linux:
Linux/OSX:
> ./docker.sh

Windows:
Expand All @@ -43,34 +43,27 @@ Windows:

3. Run Solr pointing at the TMDB Solr Home directory included in this repo.

Linux:
Linux/OSX:
>bin/solr start -f -s /path/to/solr-tmdb-master/solr_home/

Windows 10:
Windows:
>bin\solr start -f -s \path\to\solr-tmdb-master\solr_home\


Regardless of the option you choose, navigate to [http://localhost:8983/solr/](http://localhost:8983/solr/) to confirm Solr is running.

# Index TMDB movies
We have a movie data corpus sourced from The Movie Database (similar data to IMDB (Internet Movie Database).

Unzip the `tmdb_solr.json.zip` file first.

```
unzip tmdb_solr.json.zip
```

Then send the unzipped `tmdb_solr.json` into Solr.

Linux:
Linux/OSX:
> ./index.sh

Windows 10:
Windows:
> powershell index.ps1

_If you get a permissions error, just open the index.ps1 file and copy and paste the contents into your Powershell console_

You are indexing a *big 100 mb file*, so this will take up to five minutes!
You are indexing a *12 mb JSON file*, so this will take a minute!

# Confirm Solr has TMDB movies

Expand Down