This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 8 - Pages: 1 - Last Post: 24 Jun 22, 19:23 Last Post By: justinhow Threads: [ Previous | Next ]
justinhow

Posts: 56
Registered: 3-Apr-2020
Search question
Posted: 13 Jun 22, 21:23
 
  Click to reply to this thread Reply
I understand that a search with quotes will ONLY find that EXACT syntax match in the complete Comment (Title etc) field.
This will mean a search for "John Smith" will not match a comment field that has "John Smith, Mick Jagger", and yet if I just search for John Smith without quotes it will also find any record that has a comment field such as "John Tindle", "Eric Smith" etc
Is there no way round this issue?

Edited by: justinhow on 13 Jun 2022, 20:23
Laza

Posts: 2,034
Registered: 6-Sep-2005
Re: Search question
Posted: 14 Jun 22, 16:14   in response to: justinhow in response to: justinhow
 
  Click to reply to this thread Reply
The search is supposed to work like this:

If you search for "John Smith" it will find:
"John Smith and Mick Jagger"
but not
"John Jagger and Mick Smith"

A simple search for John Smith will find all the items that have either John or Smith in the related fields.

There's no such mode that matches the whole comment. (Similarly to other search engines.)
justinhow

Posts: 56
Registered: 3-Apr-2020
Re: Search question
Posted: 14 Jun 22, 20:12   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
So on my site if I search for "Ted" (with quotes) it comes up with completely different results (no results) than if I search for Ted (without quotes) and returns results as expected. According to what you say above it should show the same results shouldn't it?
See both examples below:
https://www.howpics.com/index.html#search=%22Ted%22
https://www.howpics.com/index.html#search=Ted

If I search for "Ted Wickes" (with quotes) it just returns 1 result (the only photo with just Ted Wickes in the comment field) even though there are many photos with "Ted Wickes" in the comments field (along with other names). You can see these photos by just searching for Ted.
Laza

Posts: 2,034
Registered: 6-Sep-2005
Re: Search question
Posted: 15 Jun 22, 13:20   in response to: justinhow in response to: justinhow
 
  Click to reply to this thread Reply
Okay, that's not expected. I will look into this issue.
justinhow

Posts: 56
Registered: 3-Apr-2020
Re: Search question
Posted: 15 Jun 22, 13:21   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
FYI This is running on a Windows 2019 IIS server.

Edited by: justinhow on 15 Jun 2022, 19:07
justinhow

Posts: 56
Registered: 3-Apr-2020
Re: Search question
Posted: 23 Jun 22, 20:31   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Laza
Any idea when you may have time to look at this?

P.S. If you need access to my photo album, please let me know when you need it as normally I geo restrict this as I don't want my family photos to be able to be accessed from all around the world
Justin
Laza

Posts: 2,034
Registered: 6-Sep-2005
Re: Search question
Posted: 24 Jun 22, 08:17   in response to: justinhow in response to: justinhow
 
  Click to reply to this thread Reply
I tried, but whatever I do, it works as it should. I will need your settings at the first round and two or three images' titles, comments, and keywords in order to reproduce the error first.

Also, check if you are using ordinary quote marks ("..."). In some languages, they got automatically replaced by 6699 or other characters.
justinhow

Posts: 56
Registered: 3-Apr-2020
Re: Search question
Posted: 24 Jun 22, 13:37   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
I have emailed you various files and opened up access to my photo website again.
Let me know if you need anything else.
justinhow

Posts: 56
Registered: 3-Apr-2020
Re: Search question
Posted: 24 Jun 22, 19:23   in response to: justinhow in response to: justinhow
 
  Click to reply to this thread Reply
I have also done tests using the built in jAlbum browser/server and I get the same results as from my main IIS server.
Easiest test is search for:
  • "Ted" - with quotes - gets 0 results - incorrect - should get 17
  • Ted - without quotes - gets 17 results - seems correct
  • "Ted Wickes" - with quotes , gets 1 result - incorrect - should get 17. The 1 returned is where "Ted Wickes" makes up the complete comment without any other names.
  • Ted Wickes - without quotes - gets 35 results - seems correct
The name "Ted Wickes" appears 17 times (approx) in the whole album, usually comma delimited with other peoples names e.g. "Ted Wickes, Mary Wickes, Nicholas"
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums