Web based family history software

Question Search function - Searching for Housenumbers

  • rascal
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 week ago #1 by rascal
Hey,
i got a question. I want to use the extended search for searching for adresses.
Now i got the problem, that when i look for an adress like "xyz 2" it also gives me adresses "xyz 20", "xyz 21", "xyz231",... you got the idea.

I tried regular expressions with "/xyz 2/", "xyz 2$", and a few others, none worked.

How do i have to formulate the search string so it gives me just the wanted adress of "xyz 2"?

Thx
Martin

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

More
5 years 1 week ago #2 by fisharebest
Replied by fisharebest on topic Search function - Searching for Housenumbers
> I want to use the extended search

Do you mean the "Batch update" module?
This is the only place that you can use regular expressions.

The pattern to match a word-break is "\b", so try searching for "xyz 2\b"

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • rascal
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 week ago #3 by rascal
Hey,
thx for your answer.

What is the batch update module, is this an addon? Because i don't find it there.

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

  • rascal
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 week ago #4 by rascal
well.... found the batch update module.

regular expressions work, it now shows me the exact address.

Only thing is that it's not very... showable
Would be better to have such a function for the normal search-results where you can sort them and stuff like this

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

  • rascal
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 week ago #5 by rascal
Maybe it would be possible to add to the extended search/address an choice with "exact term" ?

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

More
5 years 1 week ago #6 by fisharebest
Replied by fisharebest on topic Search function - Searching for Housenumbers
You keep saying "the extended search"

There is no "extended search" in webtrees. What exactly do you mean by this?

> Only thing is that it's not very... showable

The "batch update" module is intentionally restricted to administrators. You probably do not want your average users doing bulk-updates with regular expresssions.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • rascal
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 week ago #7 by rascal
changed my language: it's under search/advanced search
there you can add under "add more fields" a field for Address

For fields like "Surename" you can choose if you want the search term to be "exact" or "sounds like".
It would be great to have the option "exact" for the address field too.

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

Powered by Kunena Forum
}