question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

search_names removed space

See original GitHub issue

Trying to search “san jose” but doesn’t get any result, the search_names look like removed all spaces.

sqlite> select search_names from cities_light_city where "cities_light_city"."search_names" LIKE '%sanjose%';
sanjoseamerica sanjosecaliforniaamerica sanjosecaliforniarepublicamerica sanjosecaliforniarepublicunitedstates sanjosecaliforniarepublicunitedstatesofamerica sanjosecaliforniaunitedstates sanjosecaliforniaunitedstatesofamerica sanjosegoldenstateamerica sanjosegoldenstateunitedstates sanjosegoldenstateunitedstatesofamerica sanjosestateofcaliforniaamerica sanjosestateofcaliforniaunitedstates sanjosestateofcaliforniaunitedstatesofamerica sanjoseunitedstates sanjoseunitedstatesofamerica
southsanjosehillscaliforniaunitedstates southsanjosehillsunitedstates

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
max-arnoldcommented, Jul 26, 2017
0reactions
max-arnoldcommented, Jul 11, 2017

This is fixed, just need to allocate some time for review and PR: https://github.com/greenday2/django-cities-light/commit/17d531f3d87e4c56234d2671663ec04eb21626a6

Read more comments on GitHub >

github_iconTop Results From Across the Web

Removing spaces in complex names - sql - Stack Overflow
I am trying to insert complex names like Juan Carlos but I want to remove all the spaces except the one between Juan...
Read more >
Remove extra spaces behind names - Microsoft Community Hub
I have this list of machines, where some have a group of spaces behind the names, and I'm trying to use this list...
Read more >
Removing Spaces from a Text String in Excel - Dummies.com
The TRIM function is relatively straightforward. Simply give it some text and it removes all spaces from the text except for single spaces...
Read more >
StringUtils (Apache Commons Lang 3.12.0 API)
Centers a String in a larger String of size size using the space character (' '). ... This feature will be removed in...
Read more >
Trim Spaces in Criteria and Expression - CodeRanch
criteria.add( Expression.ilike( "styleCd" , searchName ) ); ... update statement on the data currently in the database to remove the spaces?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found