Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC: Search algorythm for families doesn't work in my webtrees

Search algorythm has changed ?? 4 months 2 days ago #1

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 560
When searching something in v1.7.x the search looked for individuals & families. That was fine and gave really good results.

Today it's looking only in individuals as default. I have to make a second search in most of the cases. And even the it doesn't find what I'm looking for.

My problem is that I have too much persons with identical first names and last names, so I prefer to look for families to get better results.

Please tell me whether I can adjust the search by default. In which fields does the search filter act ?

Please Log in or Create an account to join the conversation.

Search algorythm has changed ?? 4 months 1 day ago #2

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 12929
I have updated the default search to include families.

If you cannot wait for 2.0.2, then it is a simple change.

github.com/fisharebest/webtrees/commit/9...c6cac61d040ef709d4ae
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Search algorythm has changed ?? 3 months 3 weeks ago #3

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 560
Thank you Greg.

I made a try in V2.0.2 and it is much better.

But, please have a look, why do I get so much results in a first try.

The second try is ok, there are really no families with this search words in my database.
I don't think, that it is caused by the changed language ;-))
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Andreas.

Search algorythm has changed ?? 3 months 3 weeks ago #4

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 560
I seems that allways the first try doesn't give good results.






After refreshing the screen with <F5> the result is better.



Attachments:

Please Log in or Create an account to join the conversation.

How works the search algorythm for families ? 2 months 2 weeks ago #5

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 560

fisharebest wrote: I have updated the default search to include families.

If you cannot wait for 2.0.2, then it is a simple change.

github.com/fisharebest/webtrees/commit/9...c6cac61d040ef709d4ae


There must be still a bug in the search algorytm.

The search for families with Rauhut in the town of Punitz brings only one expected result.

But there are at least three that I linked to this media wt.rauhut.eu/tree/GAC.ged/media/X301/Act...auhut-Punitz-T76-jpg

When I'm looking for persons I can mix first names, last names and places.
How works the search for families exactly ?

Please Log in or Create an account to join the conversation.

Last edit: by Andreas.

How works the search algorythm for families ? 2 months 2 weeks ago #6

There are also a large number of people with the same name in Chinese names. So I made some changes to the code, But there is still room for improvement.
github.com/fisharebest/webtrees/issues/2...suecomment-569044376
Wang Family Website of Suining County, China
https://www.snwsjz.com
A family tree website that is customized, more humanized and convenient for users.

Please Log in or Create an account to join the conversation.

How works the search algorythm for families ? 2 months 1 week ago #7

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 560
I use to search for families by entering the surnames of the two partners and supposed to find them if they are in the database.


in v1.7.16 wt1.rauhut.eu/ this works really quickly


in v.2.0.3 wt.rauhut.eu/ that doesn't give a valid result.


Please try it with the names rauhut marschel
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Andreas.

How works the search algorythm for families ? 2 months 5 days ago #8

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 12929
> Please try it with the names rauhut marschel

I tried it, and it found 4 families with these names.

Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
Attachments:

Please Log in or Create an account to join the conversation.

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

How works the search algorythm for families ? 2 months 5 days ago #9

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 560
Yes, indeed. I'm not able to reproduce this bug, neither.

Sorry, but it happened so many times, that I really mistrusted the search algorithm.

Let's hope that this beheavior continues.

Please Log in or Create an account to join the conversation.

Last edit: by Andreas.

How works the search algorythm for families ? 2 months 5 days ago #10

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 12929
OK. If it happens again, then we can investigate.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

How works the search algorythm for families ? 1 month 1 week ago #11

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 560
It is continuing and it is boring. :-((

Whatever I search I have to do a second hit on the search button, because the initial results of the search couldn't be correct.

I suppose that the initial content of the search string something from a hidden memory.

Because if I hit a second time on the search button or even only change the language the result is OK.


Exemple : I looked for "gogisch" (language=german) and the first answer of the system was four individuals and no family.
When I changed the language to british for to make a screenshot the result was : four individuals and two families.
Starting the search for another try, all is fine, too.

What can I do to find the reason of this behavior ? Does it happens only on my computer ?
I doesn't depend on the browser. I get the same with Firefox, Opera, Edge and Chrome
Attachments:

Please Log in or Create an account to join the conversation.

How works the search algorythm for families ? 1 month 1 week ago #12

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 560
Another exemple :

I searched explicitely for a family "Johann Gottfried Rauhut Johanne Christiane Pannwitz"

First try: no individual no family
changing language : no difference
New hit on "suche =search" : no individual nine families
Attachments:

Please Log in or Create an account to join the conversation.

Search algorythm for families doesn't work in my webtrees 2 weeks 7 hours ago #13

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 560
The search fpr families is definitively not working at wt.rauhut.eu

When I'm looking for the family Käschner Rauhut, the first result is without sense.



after changing the language or clicking on [search] a second time I get the right answer


That happens with all research, when I modify the names to be searched.
see attachments.

As there is no feedback from other installations, I suppose that there must be something wrong with my servers constellation.

How can I proceed to find the problem.
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Andreas.

Search algorythm for families doesn't work in my webtrees 2 weeks 6 hours ago #14

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1859
Testing on your site with search string "Käschner", usually gives 7 individuals & 4 families.
it seems just switching language gives untrusty results. Sometimes it shows only 1 family after switching language.
Re-submitting the search form then gives the expected results again.

So there is a bug somewhere, not in the search but in switching language me thinks....
stamboom.BertKoor.nl runs on webtrees v1.7.13

Please Log in or Create an account to join the conversation.

Search algorythm for families doesn't work in my webtrees 2 weeks 6 hours ago #15

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 560
@bertkoor: Thank you for your feedback.
So it's not my local computer that is the cause. But not only changing language, also a second click on the [search] button gives another result sometimes.

Please Log in or Create an account to join the conversation.

Search algorythm for families doesn't work in my webtrees 2 weeks 2 hours ago #16

FYI: I tested my own site (local version 2 for testing) + the demo site. On both I could not reproduce this behaviour. For instance searching for Mary on the demo server always resulted in 6 individuals and 2 families
Indeed on your site I noticed the same as you described. My first guess was that it might be related to the size of your tree (not a lot of people have such a big tree, so might also not notice the behaviour). But I also tested your second tree which is much smaller. On that version the same behaviour was observed. (Indeed random, not perse related to changing the language). I noticed that the extra hits were caused by some entries to occur twice (see screen shot in attachement).

Maybe it is an option to ask Greg for the Royal Family Gedcom, for you to install and test, just to rule out whether the behaviour is to your data or your installation?
Frans
Attachments:

Please Log in or Create an account to join the conversation.

Search algorythm for families doesn't work in my webtrees 2 weeks 53 minutes ago #17

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 560
Thank you Frans,

That's my big problem too. I can not repeat the mistake with certainty. The log files don't give me an answer neither.
But it's nerrvous to search without confidence in the result.

Greg has a tree with more than 300.000 individuals. I suppose he had tested the algorythm before releasing it.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum