# Setup & Indexing

**URL:** https://community.swiftype.com/c/faq/indexing/5.md?page=1

[Latest](https://community.swiftype.com/latest.md) · [Categories](https://community.swiftype.com/categories.md) · [Tags](https://community.swiftype.com/tags.md)

**Page:** 2

---

## [Can I install Swiftype with Google Tag Manager?](https://community.swiftype.com/t/can-i-install-swiftype-with-google-tag-manager/318)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [February 14, 2017, 8:30pm UTC](https://community.swiftype.com/t/can-i-install-swiftype-with-google-tag-manager/318 "2017-02-14T20:30:01Z")

</div>

Yes! To install Swiftype’s standard embed JavaScript snippet or custom libraries with Google Tag Manager (GTM), you can add the code to a Custom HTML tag and publish the changes. Special Note on Meta Tags In regards…

---

## [Does Swiftype work with Statamic?](https://community.swiftype.com/t/does-swiftype-work-with-statamic/293)

<div class="topic-metadata">

**Author:** [@margaret](https://community.swiftype.com/u/margaret)\
**Replies:** 3\
**Last updated:** [November 30, 2016, 9:59pm UTC](https://community.swiftype.com/t/does-swiftype-work-with-statamic/293 "2016-11-30T21:59:04Z")

</div>

I currently have a website built on a Statamic platform, we implemented swiftype and no matter what I do it only crawls one page. Once we got it to crawl other pages, but then it skipped the one page it crawled initially…

---

## [What are canonical URLs and how do they affect Swiftype?](https://community.swiftype.com/t/what-are-canonical-urls-and-how-do-they-affect-swiftype/284)

<div class="topic-metadata">

**Author:** [@jpearson](https://community.swiftype.com/u/jpearson)\
**Replies:** 0\
**Last updated:** [November 2, 2016, 11:34pm UTC](https://community.swiftype.com/t/what-are-canonical-urls-and-how-do-they-affect-swiftype/284 "2016-11-02T23:34:26Z")

</div>

With the widespread use of content management and e-commerce platforms for building websites, it’s common for the same page content to be found via multiple, unique URLs. A standardized SEO practice for ensuring that on…

---

## [How can I change the sort order of search results?](https://community.swiftype.com/t/how-can-i-change-the-sort-order-of-search-results/61)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 10:15pm UTC](https://community.swiftype.com/t/how-can-i-change-the-sort-order-of-search-results/61 "2015-12-21T22:15:04Z")

</div>

I would like my search results to be sorted differently from the default. How can I do this? By default, Swiftype sorts results by relevance so that the most likely search results are at the top. You can change how r…

---

## [Can I submit search terms wrapped in quotes through your API? (Phrase Queries)](https://community.swiftype.com/t/can-i-submit-search-terms-wrapped-in-quotes-through-your-api-phrase-queries/92)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 11:38pm UTC](https://community.swiftype.com/t/can-i-submit-search-terms-wrapped-in-quotes-through-your-api-phrase-queries/92 "2015-12-21T23:38:55Z")

</div>

Is it possible to send a query request with the search term wrapped in quotes? I am getting an error when trying to do this. For instance if the user types “foo bar” (with the quotes) into our search box I get: "The …

---

## [How can I weight search results based on a URL regular expression?](https://community.swiftype.com/t/how-can-i-weight-search-results-based-on-a-url-regular-expression/105)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 22, 2015, 5:46pm UTC](https://community.swiftype.com/t/how-can-i-weight-search-results-based-on-a-url-regular-expression/105 "2015-12-22T17:46:49Z")

</div>

On our docs site we have many similar pages for multiple versions of the product. I’d like to weight the most recent version the highest and push previous versions down in the list of results. Just going by when the …

---

## [Is it possible to nest document types?](https://community.swiftype.com/t/is-it-possible-to-nest-document-types/180)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 5:47pm UTC](https://community.swiftype.com/t/is-it-possible-to-nest-document-types/180 "2016-04-11T17:47:22Z")

</div>

I want to be able to have a parent and child relationship of my documents? Can I use a nested document type, or is there another solution to this problem? Currently, Swiftype’s document store does not nest documents. …

---

## [How do I exclude parts of my site from being indexed?](https://community.swiftype.com/t/how-do-i-exclude-parts-of-my-site-from-being-indexed/177)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 5:23pm UTC](https://community.swiftype.com/t/how-do-i-exclude-parts-of-my-site-from-being-indexed/177 "2016-04-11T17:23:01Z")

</div>

I do not want my Swiftype to index part of my site. How can I exclude certain pages from being indexed? Swiftype gives you a number of ways to control exactly want you want indexed. 1. To delete a single page result …

---

## [Does the Swiftype crawler follow redirects?](https://community.swiftype.com/t/does-the-swiftype-crawler-follow-redirects/176)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 5:09pm UTC](https://community.swiftype.com/t/does-the-swiftype-crawler-follow-redirects/176 "2016-04-11T17:09:06Z")

</div>

Some URLs on on my site redirect to a different location. Does the crawler handle this? Swiftbot will definitely follow 301 and 302 redirects. In those cases, the origin URL that redirects will not be indexed. Please…

---

## [Can Swiftype index sites that are hosted on Adobe® Business Catalyst?](https://community.swiftype.com/t/can-swiftype-index-sites-that-are-hosted-on-adobe-business-catalyst/175)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 5:05pm UTC](https://community.swiftype.com/t/can-swiftype-index-sites-that-are-hosted-on-adobe-business-catalyst/175 "2016-04-11T17:05:16Z")

</div>

Can Swiftype index sites that are hosted on Adobe® Business Catalyst? It is possible to index sites hosted on Adobe’s Business Catalyst platform, however it will require you to be on a paid plan with Adobe’s service t…

---

## [How can I boost results in relation to the source domain?](https://community.swiftype.com/t/how-can-i-boost-results-in-relation-to-the-source-domain/172)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 4:50pm UTC](https://community.swiftype.com/t/how-can-i-boost-results-in-relation-to-the-source-domain/172 "2016-04-11T16:50:47Z")

</div>

I’ve created an engine from 3 domains, and I offer a search box on each domain/site. I’d like users to be able to find content from each of the domains, but I want to give preference to the site they’re currently visiti…

---

## [How can I search enum field type values with 'search\_fields'?](https://community.swiftype.com/t/how-can-i-search-enum-field-type-values-with-search-fields/150)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 10:02pm UTC](https://community.swiftype.com/t/how-can-i-search-enum-field-type-values-with-search-fields/150 "2016-04-08T22:02:59Z")

</div>

When using the API for a search, you can include the search\_fields parameter to specify additional fields to search for. However, I’m finding that when including a field with the data type of enum, it’s not getting m…

---

## [Does Swiftype have an official Microsoft .NET library?](https://community.swiftype.com/t/does-swiftype-have-an-official-microsoft-net-library/171)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 9, 2016, 12:29am UTC](https://community.swiftype.com/t/does-swiftype-have-an-official-microsoft-net-library/171 "2016-04-09T00:29:39Z")

</div>

Not at this time. However, you can use our REST API with HTTP and JSON. If you happen to or are interested in writing a .NET client, please contact us and let us know!

---

## [Does Swiftype search work on the iPhone and other mobile devices?](https://community.swiftype.com/t/does-swiftype-search-work-on-the-iphone-and-other-mobile-devices/169)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 9, 2016, 12:21am UTC](https://community.swiftype.com/t/does-swiftype-search-work-on-the-iphone-and-other-mobile-devices/169 "2016-04-09T00:21:33Z")

</div>

Definitely! If using our standard JavaScript install code, your search results will be automatically optimized for mobile, including both iPhone and Android phones. You can read more about how this works on our mobile f…

---

## [How do I retrieve all documents (containing location fields) while using a distance filter?](https://community.swiftype.com/t/how-do-i-retrieve-all-documents-containing-location-fields-while-using-a-distance-filter/168)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 9, 2016, 12:06am UTC](https://community.swiftype.com/t/how-do-i-retrieve-all-documents-containing-location-fields-while-using-a-distance-filter/168 "2016-04-09T00:06:54Z")

</div>

I have a document with a field posted\_from of the type location. I want to search all the documents posted from 25km radius. This is what I am using: { “auth\_token”: “myauthtoken”, “q”: “”, “filters”: { “mydocume…

---

## [Is it possible to filter my analytics data by specific IP(s)?](https://community.swiftype.com/t/is-it-possible-to-filter-my-analytics-data-by-specific-ip-s/162)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 10:49pm UTC](https://community.swiftype.com/t/is-it-possible-to-filter-my-analytics-data-by-specific-ip-s/162 "2016-04-08T22:49:26Z")

</div>

Is there any way to either exclude an IP address from registering in the search analytics, or filter out an IP address source in the analytic reports? There is currently no way to prevent searches from an IP address f…

---

## [Is the .env file used in the Swiftype Rails example application necessary?](https://community.swiftype.com/t/is-the-env-file-used-in-the-swiftype-rails-example-application-necessary/157)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 10:29pm UTC](https://community.swiftype.com/t/is-the-env-file-used-in-the-swiftype-rails-example-application-necessary/157 "2016-04-08T22:29:51Z")

</div>

A little more detail for this portion of the Rails tutorial would be helpful: Create a \`.env\` file with the Swiftype API Key and your engine slug: SWIFTYPE\_API\_KEY=your\_api\_key SWIFTYPE\_ENGINE\_SLUG=your\_engine\_slug…

---

## [Does swiftype search work with .htaccess files?](https://community.swiftype.com/t/does-swiftype-search-work-with-htaccess-files/156)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 10:25pm UTC](https://community.swiftype.com/t/does-swiftype-search-work-with-htaccess-files/156 "2016-04-08T22:25:01Z")

</div>

I would like to use Swiftype for a search engine on my site but my site is pass word protected. Is that an issue when submitting my domain for indexing? Swiftype does work with .htaccess files, but you’ll need to ope…

---

## [How can I use Swiftype with my site built in Adobe Muse CC?](https://community.swiftype.com/t/how-can-i-use-swiftype-with-my-site-built-in-adobe-muse-cc/153)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 10:11pm UTC](https://community.swiftype.com/t/how-can-i-use-swiftype-with-my-site-built-in-adobe-muse-cc/153 "2016-04-08T22:11:36Z")

</div>

I’m building my site with Adobe Muse CC. How can I install Swiftype search? There are two ways to install Swiftype into your site built with Adobe Muse CC once you’ve created an engine in Swiftype and crawled your sit…

---

## [Do I have to do something to update my search engine after I edit my website?](https://community.swiftype.com/t/do-i-have-to-do-something-to-update-my-search-engine-after-i-edit-my-website/146)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 9:34pm UTC](https://community.swiftype.com/t/do-i-have-to-do-something-to-update-my-search-engine-after-i-edit-my-website/146 "2016-04-08T21:34:13Z")

</div>

How do I update my results in Swiftype after I edit my website content? I have noticed that after I update my website and try to search it, the new items are not recognized right away. Crawler based engines… Our sear…

---

## [How often can I recrawl my site?](https://community.swiftype.com/t/how-often-can-i-recrawl-my-site/73)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 10:52pm UTC](https://community.swiftype.com/t/how-often-can-i-recrawl-my-site/73 "2015-12-21T22:52:37Z")

</div>

I made changes to my site and I need to recrawl it, but it is disabled. How often can I recrawl my site? How can I recrawl my site right now? Swiftype recrawls sites periodically to keep your search index up-to-date. …

---

## [How can I use Google Analytics with Swiftype?](https://community.swiftype.com/t/how-can-i-use-google-analytics-with-swiftype/76)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 10:59pm UTC](https://community.swiftype.com/t/how-can-i-use-google-analytics-with-swiftype/76 "2015-12-21T22:59:09Z")

</div>

I want to set up Google Analytics to track Swiftype search queries as site search. How do I do this? With some configuration updates in the Google Analytics dashboard, it’s possible to pass Swiftype search query data.…

---

## [Does Swiftype respect robots.txt files?](https://community.swiftype.com/t/does-swiftype-respect-robots-txt-files/75)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 10:58pm UTC](https://community.swiftype.com/t/does-swiftype-respect-robots-txt-files/75 "2015-12-21T22:58:02Z")

</div>

Absolutely! You can use a robots.txt file to limit what parts of your site the Swiftype search agent will crawl for engine indexing. For additional details about robots.txt support, you can refer to our documentation.

---

## [How can I change the data-type of a field in my document type?](https://community.swiftype.com/t/how-can-i-change-the-data-type-of-a-field-in-my-document-type/25)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 4:52pm UTC](https://community.swiftype.com/t/how-can-i-change-the-data-type-of-a-field-in-my-document-type/25 "2015-12-21T16:52:38Z")

</div>

I am using your API and I made a mistake in one of my field types. I made the URL field a string but it should actually be an enum. How can I change it? You can always add new fields to a document type on the fly, but…

---

## [Can you add custom fields to crawled pages?](https://community.swiftype.com/t/can-you-add-custom-fields-to-crawled-pages/46)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 8:34pm UTC](https://community.swiftype.com/t/can-you-add-custom-fields-to-crawled-pages/46 "2015-12-21T20:34:21Z")

</div>

I’m working on building a search engine for a site where the bulk of the site will be content of a particular nature, and so it seems simpler to use the crawling features of Swiftype. However, I also want to store so…

---

## [How do I get images to display with my search results?](https://community.swiftype.com/t/how-do-i-get-images-to-display-with-my-search-results/70)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 10:46pm UTC](https://community.swiftype.com/t/how-do-i-get-images-to-display-with-my-search-results/70 "2015-12-21T22:46:34Z")

</div>

I see in your demos that some search engines have image thumbnails in the results. How can I add images to my search results? Swiftbot recently learned how to intelligently detect and index the featured image of your …

---

## [Where do I add meta tags for my Shopify Store?](https://community.swiftype.com/t/where-do-i-add-meta-tags-for-my-shopify-store/98)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 22, 2015, 4:10pm UTC](https://community.swiftype.com/t/where-do-i-add-meta-tags-for-my-shopify-store/98 "2015-12-22T16:10:33Z")

</div>

I am using Swiftype’s crawler to index my Shopify store. How do I add meta tags? Adding meta tags to your Shopify store template allows for greater customization of your search experience. Here’s some pointers on how …

---

## [How is the value of the "published\_at" field determined?](https://community.swiftype.com/t/how-is-the-value-of-the-published-at-field-determined/104)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 22, 2015, 5:41pm UTC](https://community.swiftype.com/t/how-is-the-value-of-the-published-at-field-determined/104 "2015-12-22T17:41:12Z")

</div>

If I don’t add a “published\_at” meta tag for the crawler to detect, what value does the crawler set the field do? In my result details view I see some pages have a published\_at value, but I did not define a meta tag …

---

## [How can I use meta tags to index special characters like quotation marks?](https://community.swiftype.com/t/how-can-i-use-meta-tags-to-index-special-characters-like-quotation-marks/110)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 22, 2015, 6:03pm UTC](https://community.swiftype.com/t/how-can-i-use-meta-tags-to-index-special-characters-like-quotation-marks/110 "2015-12-22T18:03:52Z")

</div>

In order to index special characters with meta tags, you’ll want to ensure the content attribute value of your tags are escaped. More specifically, to set a custom title with a quotation mark in it, you’ll need to make …

---

## [Is there a way to prioritize domains?](https://community.swiftype.com/t/is-there-a-way-to-prioritize-domains/112)

<div class="topic-metadata">

**Author:** [@system](https://community.swiftype.com/u/system)\
**Replies:** 0\
**Last updated:** [December 22, 2015, 6:21pm UTC](https://community.swiftype.com/t/is-there-a-way-to-prioritize-domains/112 "2015-12-22T18:21:59Z")

</div>

Is there a good way to organize my search results depending on the site field? My engine contains pages from three different domains and I would like to get all results from one of the domains first (preferably without …

[Previous page](https://community.swiftype.com/c/faq/indexing/5.md)

[Next page](https://community.swiftype.com/c/faq/indexing/5.md?page=2)
