- Posts: 29
Question Search function - Searching for Housenumbers
- rascal
- Topic Author
- Offline
- New Member
Less
More
5 years 1 week ago #1
by rascal
Search function - Searching for Housenumbers was created 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
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.
- fisharebest
- Offline
- Administrator
5 years 1 week ago #2
by fisharebest
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
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"
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
Less
More
- Posts: 29
5 years 1 week ago #3
by rascal
Replied by rascal on topic Search function - Searching for Housenumbers
Hey,
thx for your answer.
What is the batch update module, is this an addon? Because i don't find it there.
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
Less
More
- Posts: 29
5 years 1 week ago #4
by rascal
Replied by rascal on topic Search function - Searching for Housenumbers
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
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
Less
More
- Posts: 29
5 years 1 week ago #5
by rascal
Replied by rascal on topic Search function - Searching for Housenumbers
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.
- fisharebest
- Offline
- Administrator
5 years 1 week ago #6
by fisharebest
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
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.
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
Less
More
- Posts: 29
5 years 1 week ago #7
by rascal
Replied by rascal on topic Search function - Searching for Housenumbers
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.
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.