If i have one pdf file in solr, how do i know page number of search result in original pdf file?
It means there is pdf file.
Contents of 1page are 'abc mart's other name is abc'.
Contents of 2page are 'abc song is good'.
Contents of 3page are 'I like google'.
After i search 'abc', there are list of 'abc'.
Do i represent page number?
ex ) i want list '1page abc / 1page abc / 2page abc'.
Thanks.
Asked
Active
Viewed 217 times
0

장현수
- 373
- 1
- 3
- 9
2 Answers
0
You will need to index every page as a separate document in order to do this.
Additionally, check this SO post for more details.

Community
- 1
- 1

Binoy Dalal
- 866
- 10
- 25
0
You have to index it seprately in multi valued field with main id and doc id seprat so that ou can serch to a perticular page

jai dutt
- 780
- 6
- 13