fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f7ea05
)
ignore abstrakt tags when indexing book
author
Jan Szejko
<janek37@gmail.com>
Thu, 21 Dec 2017 10:59:38 +0000
(11:59 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Thu, 21 Dec 2017 10:59:38 +0000
(11:59 +0100)
src/search/index.py
patch
|
blob
|
history
diff --git
a/src/search/index.py
b/src/search/index.py
index
0bd5c05
..
bfb1739
100644
(file)
--- a/
src/search/index.py
+++ b/
src/search/index.py
@@
-271,14
+271,14
@@
class Index(SolrIndex):
'dramat_wierszowany_lp',
'dramat_wspolczesny', 'liryka_l', 'liryka_lp',
'wywiad',
-
]
+ ]
ignore_content_tags = [
- 'uwaga', 'extra', 'nota_red',
+ 'uwaga', 'extra', 'nota_red',
'abstrakt',
'zastepnik_tekstu', 'sekcja_asterysk', 'separator_linia', 'zastepnik_wersu',
'didaskalia',
'naglowek_aktu', 'naglowek_sceny', 'naglowek_czesc',
-
]
+ ]
footnote_tags = ['pa', 'pt', 'pr', 'pe']