Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Use Solr OCR Highlighting Plugin in Search in Document Plugin #587
Use Solr OCR Highlighting Plugin in Search in Document Plugin #587
Changes from 46 commits
89ac389
20ff3ad
4b52a83
d831064
731acf8
ca977c0
e9f0770
4dc9b01
0148e0c
2654ea9
56bfda7
af2f241
7dbc609
af562b7
22d6477
e0be8b2
9a84da5
c34bbfa
9497f6a
7a15695
d838dc0
2af9f70
864e802
f6c7ae5
b3a35bf
50e95c3
16e27eb
431f980
f65ed44
5af13b5
a8edd04
13a2f1b
3460992
becc697
edeec94
0022831
f0547d3
aa7086e
32c5eb7
35849de
b819ef3
5f943be
8949104
11bf791
d5728bf
1582cf7
ee2b704
11b500e
d115ef4
8448869
399dbef
d983735
11a796e
10fb2f6
66bbed3
c2d6517
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work either. But I found no way to test this. I think, there is another issue in
Search:makeFacetsMenuArray()
. So I can't get the available facets from Solr and show the facets menu.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have taken look to this method. Do you think that it needs to be adjusted now or it can be done later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The addFilterQuery() above has to be fixed. But before doing this, I'm looking for working facets. Currently, the Solr has no facets available and I still don't know, why.
A query like
/solr/dlfCore0/select?facet=on&q=*%3A*&rows=0
Should return something like
In my case - with this PR working - I get
That's why no facetting is shown.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The faceting is solved (see other commit suggest).
With selecting a facet, we get the (expected) exception:
"A filterquery must have a key value" in Line 283.
The used GET-parameter are:
tx_dlf[fq][0]=collection_faceting:("Projekt: Illustrierte Magazine der Klassischen Moderne")&tx_dlf[fq][1]=type_faceting:("volume")&tx_dlf[query]=*
So please rewrite Line 283.