If you would like to sort results by whether they contain some exact string, but the string does not necessarily have to make up the entire title, you can try something like this: boston_data = gis.content.search(query = "title:Boston", item_type='Feature Layer', max_items=1000, outside_org=True) for item in boston_data: if "Boston" in str(item.title): display(item) else: pass This will return only results that have the word "Boston" in them, but not limit your search results to titles that are exactly "Boston".
... View more