No strange result from here, it looks ok for me now.
https://www.fotoarkiv.no/index.php?/search/6163
I started wondering about the presence of unbreakable space which is not exactly the same as an obvious space char, but this is not the case. If present in your texts, these spaces could be added to $drop_char_... lists
https://en.wikipedia.org/wiki/Non-breaking_space
Offline
TOnin wrote:
No strange result from here, it looks ok for me now.
https://www.fotoarkiv.no/index.php?/search/6163
I started wondering about the presence of unbreakable space which is not exactly the same as an obvious space char, but this is not the case. If present in your texts, these spaces could be added to $drop_char_... lists
https://en.wikipedia.org/wiki/Non-breaking_space
Tried to add emty space to drop_char and it seems to do the trick!
https://www.fotoarkiv.no/index.php?/search/6170
Offline
Well I will have to open this issue again. I get TOTALLY unrelated search hits when searching for simple words like "Oslo"or "oslo". Some of the results hits does noy contain the word "Oslo" or "oslo" in any combination. No tag or keyword either. STRANGE !
Offline
EXAMPLE: a simple search for "Oslo" on selected image description choice. Gives me 7425 hits on ONE album. see for yourself: https://www.fotoarkiv.no/index.php?/search/6159
One hit is https://www.fotoarkiv.no/picture.php?/1 … earch/6159 AND it contains NO word or letter like "Oslo"
HOWEVER the album author decription contains the word Oslo. Is this related?
Last edited by BigIsland270972 (2023-02-03 20:29:44)
Offline
ALSO Is it possible to disable the generation of new CACHE everytime search.php is loaded?
I want to be able to do this manually. This to lower the long loading time of search.php
Offline
The search.php long loading time is probably more due to the over 25000 tags being loaded as option values, each with a count of photos.
Offline
Thanx for answering :-) WELL when I remove TAGS from search.tpl. search.php STILL loads slow so there something more happening i think..
Offline
Found something interesting in /themes/bootstrap_darkroom/template/search.tpl :)
The lines on top:
{footer_script require='jquery'}
jQuery(document).ready(function() {
jQuery("#authors, #tags, #categories").each(function() {
jQuery(this).selectize({
plugins: ['remove_button'],
maxOptions:jQuery(this).find("option").length
if I remove the items #authors, #tags the loading of search.php is much FASTER.
SO actually it's an jQuery PROBLEM??
Offline
Some HINTS :
[Github] chosen issue #2580
Offline
I would try with "Kommune: Flora" because did not see any "Kommune: Sande" in my results.
Offline
creaftomp wrote:
I would try with "Kommune: Flora" because did not see any "Kommune: Sande" in my results.
I got a special customized searh.php here: https://www.fotoarkiv.no/search2.php
And I now got 3440 hits when searching for Kommune: Sande.
https://www.fotoarkiv.no/index.php?/search/6230
Offline
BUT there's MORE to it than that. When I search for a known file (NF-AL_nb-no_10.jpg) in piwigo search.php. i got NO results. But when I search for the same in phpmyadmin it finds my file in a instant. SO there must be something wrong with Piwigo QUERY to the database....
Last edited by BigIsland270972 (2023-02-07 10:48:33)
Offline
I want to be able to do this manually. This to lower the long loading time of search.php
Offline
Just curious, what would be the correct answer for the "Kommune: Sande" search?
I did as above, with quotes and got Search results 3412, tested a view and did contain the string as mentioned above.
Offline
matthys wrote:
Just curious, what would be the correct answer for the "Kommune: Sande" search?
I did as above, with quotes and got Search results 3412, tested a view and did contain the string as mentioned above.
Hello.
"Kommune: Sande" in search.php : 4579 hits
https://www.fotoarkiv.no/index.php?/search/6346
Kommune: Sande in search2.php (EXACT search option) : 3440 hits
https://www.fotoarkiv.no/index.php?/search/6347
Offline