Attempting to use Sphinx to build an Acronym library however I am finding that if I for instance make
NYC > New York City
then I match all of these:
NYC
New York City
I live in New York State but grew up in Kansas City
Which is wholly useless to me. I tried
NYC > "New York City"
to no avail. Am I correct in assuming that Sphinx is not the engine to do this with?
If you ONLY want phrase matches do
New York City > NYC
Related
I have multiple data sources that have city, state and country information.
Example -
Source 1:
ID City State Country
12345 New York New York USA
12344 Cebu City PHL
12232 Bengaluru Karnataka IND
Source 2:
ID City State Country
12345 Dallas Texas USA
12344 London UK
I would like to create a filter to show drill down option into country, state and city using both the databases. I cannot combine the source due to few sourcing issues. Not sure if a set can be created like union of the columns from the data sources to be able to show a filter that will have values from all the data sources.
Like..
Country = USA, PHL, IND, UK and then filter state and city and so on. Can someone please advise how I can achieve this?
The city, state and country columns are dynamic in my data sources
Quote from Tableau's online help.
You can union your data to combine two or more tables by appending values (rows) from one table to another. To union your data in Tableau data source, the tables must come from the same connection.
If your data source supports union, the New Union option displays in the left pane of the data source page after you connect to your data.
It's pretty easy to do inside Tableau Desktop.
https://onlinehelp.tableau.com/current/pro/desktop/en-us/union.html
I have a workflow which i am using to remove comma sign , from the data. However its is not working.
Edit: I am adding new screenshots
tMap properties
sample data
id
Shenzhen City, Guangdong, China
Rest of Hunan, China
China
Wuxi City, Jiangsu, China
Jinshan District, Shanghai, China
JingÕan District, Shanghai, China
Yangpu District, Shanghai, China
Try disabling checkbox "Whole word". If then not working as expected, follow below approach.
Instead of using treplace component, use the code like below in tMap component
row1.id.replaceAll(",","-");
The above will give you the expected result
Hope this would help you out.
I have a table of records with two fields: City and ImportDate
Example records:
London - 13/06/2016
Paris - 14/06/2016
Paris - 15/06/2016
London - 19/06/2016
London - 20/06/2016
New York - 13/06/2016
New York - 17/06/2016
I need to have a Filemaker layout where I display only the most recent entry for each city, so we know what imports to concentrate on as we can look down the list and see what is the oldest. In other words I want to group by City, and then display only the most recent date.
So, my layout with the above data would show:
London - 20/06/2016
New York - 17/06/2016
Paris - 15/06/2016
What's the best way to accomplish this?
Thanks.
Use a layout in list view with a sub-summary part (when sorted by City) and no body part. When asked, set the sub-summary part to print below the records it summarizes. Place the two fields in this part.
Sort your records by City and by ImportDate (ascending).
I have a table called Employee(EmployeeNo,name,Address).Employee number is integer. Employee numbers
prefix is changes according to employees working location. for example
EmployeeNumber - Location
12323 - London prefix "1" says that employee location is in London
24343 - Newyork prefix "2" says that employee location is in Newyork
38989 - Moscow prefix "3" says that employee location is in Moscow.
Now my problem is I don't have separate field to group employee by there location in crystal reports. so I have to get each employee's location using his employee number and group it according to that.
example
London
12323 Thomas sx
13434 Ray xx
14343 Frank uy
NewYork
24545 Alan oo
26656 Robin op
29098 Hayden lp
Moskow
35424 gustov lo
38967 Levshev ol
any idea is appreciated..
Here compulsory scenario should be "Prefix" should be first letter of the location
Use the below code in a formula
Left (<database field>,1 )
Now use the formula to group.
You should be able to group according to lcoation
I'm trying to geocode an international airport in Berlin, Germany, but the Geocoding API returns ZERO_RESULTS.
The airport in question is Berlin Schönefeld Airport with IATA code SXF. It is the smallest of the two Berlin airports. It is impossible to geocode this airport using any address query I have checked, some of which are:
http://maps.googleapis.com/maps/api/geocode/json?address=SXF&sensor=false
http://maps.googleapis.com/maps/api/geocode/json?address=Sch%C3%B6nefeld&sensor=false
http://maps.googleapis.com/maps/api/geocode/json?address=Berlin%20Airport,%20Germany&sensor=false
The funny part is that it was possible to geocode it two or three months ago.
You can also geocode another airport that is now not in use: Tempelhof (THF), because it was replaced by Schönefeld few years ago.
How can I report issues like that?
Google Maps is able to find it without any problems.
EDITED:
For some strange reason Tegel airport is nwo not working by its IATA code either, which is TXL.
http://maps.googleapis.com/maps/api/geocode/json?address=TXL&sensor=false
When I try to search for it using "Tegel Airport" query one of the results is "Sixt Airport Berlin Tegel, 13405 Berlin, Germany" with the following types: "airport", "transit_station" and"establishment", whereas Sixt is a car rental company.
http://maps.googleapis.com/maps/api/geocode/json?address=Tegel%20Airport&sensor=false
What's going on?