Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaasonen committed Aug 23, 2018
1 parent bff5b3a commit 3fe16e7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Usage:
node index.js <a path to the catalogue directory> <MongoDB URI> <MongoDB database>
```

The catalogue directory should contain "csv" files with the following format:
The catalogue directory should contain "csv" files with the following formats:

```
"Search Results"
Expand Down Expand Up @@ -42,6 +42,20 @@ The catalogue directory should contain "csv" files with the following format:
```

```
"Search Results"
"Summary"
"Saved on";"27.07.2018 12:19:10"
"Searched for";"K 14021"
"In index(es)";"X:\\yyy\\yyy\\_OA\\Indice\\Index.pdx"
"Number of document(s) found";"1"
"Number of instance(s) found";"1"
"File name";"Title";"Page";"Search Instance"
"BC 3.pdf";"";"467";"houses, etc. [K. 14021] Left-hand corner, 1ain. by 1lin.; ......... + 6 "
```

The fragment ID is parsed from the file name:
- `<number>.csv` => `K.<number without leading zeroes>`
- `Sm <number>.csv` => `Sm.<number without leading zeroes>`
Expand Down

0 comments on commit 3fe16e7

Please sign in to comment.