# Swiftype - Multi search - search query length more than 64 characters

**URL:** https://community.swiftype.com/t/swiftype-multi-search-search-query-length-more-than-64-characters/911
**Category:** Helpline
**Created:** [October 30, 2018, 10:05am UTC](https://community.swiftype.com/t/swiftype-multi-search-search-query-length-more-than-64-characters/911 "2018-10-30T10:05:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vinothinibj\_3](https://avatars.discourse-cdn.com/v4/letter/v/dbc845/32.png) [@vinothinibj\_3](https://community.swiftype.com/u/vinothinibj_3)
#### Post date: [October 30, 2018, 10:05am UTC](https://community.swiftype.com/t/swiftype-multi-search-search-query-length-more-than-64-characters/911/1 "2018-10-30T10:05:15Z")

</div>

We are integrating Swiftype app search in our Ruby on Rails application. [GitHub - swiftype/swiftype-app-search-ruby: Swiftype App Search Ruby Client](https://github.com/swiftype/swiftype-app-search-ruby) - Using this gem. Sample query structure is

`[{:query=&gt;""Accounting Manager" OR "Audit/Compilance" OR "Bookkeeper" OR "Controller" OR "Director of Finance" OR "Finance Manager" OR "Finance Analyst" OR "Financial Reporting / SEC" OR "Principal Analyst" OR "Payroll" OR "Revenue" OR "Senior Accountant" OR "Senior Financial Analyst" OR "Staff accountant" OR "Tax"", :options=&gt;{:page=&gt;{:size=&gt;1000}, :search_fields=&gt;{:roles_intersted_in=&gt;{}}, :result_fields=&gt;{:id=&gt;{:raw=&gt;{}}, :email=&gt;{:raw=&gt;{}}}}}, {:query=&gt;"", :options=&gt;{:search_fields=&gt;{:company_size=&gt;{}}, :result_fields=&gt;{:id=&gt;{:raw=&gt;{}}, :email=&gt;{:raw=&gt;{}}}}}, {:query=&gt;"", :options=&gt;{:search_fields=&gt;{:software_experience=&gt;{}}, :result_fields=&gt;{:id=&gt;{:raw=&gt;{}}, :email=&gt;{:raw=&gt;{}}}}}, {:query=&gt;"", :options=&gt;{:search_fields=&gt;{:certifications=&gt;{}}, :result_fields=&gt;{:id=&gt;{:raw=&gt;{}}, :email=&gt;{:raw=&gt;{}}}}}, {:query=&gt;"", :options=&gt;{:search_fields=&gt;{:company_size_interested_in=&gt;{}}, :result_fields=&gt;{:id=&gt;{:raw=&gt;{}}, :email=&gt;{:raw=&gt;{}}}}}, {:query=&gt;"", :options=&gt;{:search_fields=&gt;{:desired_location=&gt;{}}, :result_fields=&gt;{:id=&gt;{:raw=&gt;{}}, :email=&gt;{:raw=&gt;{}}}}}, {:query=&gt;"", :options=&gt;{:search_fields=&gt;{:full_time_role=&gt;{}}, :result_fields=&gt;{:id=&gt;{:raw=&gt;{}}, :email=&gt;{:raw=&gt;{}}}}}, {:query=&gt;"", :options=&gt;{:page=&gt;{:size=&gt;1000}, :search_fields=&gt;{:type_of_employment=&gt;{}}, :result_fields=&gt;{:id=&gt;{:raw=&gt;{}}, :email=&gt;{:raw=&gt;{}}}}}, {:query=&gt;"", :options=&gt;{:page=&gt;{:size=&gt;1000}, :search_fields=&gt;{:years_experience=&gt;{}}, :result_fields=&gt;{:id=&gt;{:raw=&gt;{}}, :email=&gt;{:raw=&gt;{}}}}}, {:query=&gt;"", :options=&gt;{:page=&gt;{:size=&gt;1000}, :search_fields=&gt;{:industry_experience=&gt;{}}, :result_fields=&gt;{:id=&gt;{:raw=&gt;{}}, :email=&gt;{:raw=&gt;{}}}}}]`

While query string exceeds 64 character getting error. Is it happening due to using trial version? or paid version also have this restriction? Please clarify us before get paid engines.

---

<div class="post-metadata">

### Author: ![jason.stoltzfus](https://sea1.discourse-cdn.com/flex019/user_avatar/community.swiftype.com/jason.stoltzfus/32/171_2.png) [@jason.stoltzfus](https://community.swiftype.com/u/jason.stoltzfus)
#### Post date: [October 30, 2018, 2:27pm UTC](https://community.swiftype.com/t/swiftype-multi-search-search-query-length-more-than-64-characters/911/2 "2018-10-30T14:27:16Z")

</div>

Hey @vinothinibj_3. I believe there is a character limit on the “query” parameter for all accounts, whether it is a paid or trial account makes no difference.

---

<div class="post-metadata">

### Author: ![jason.stoltzfus](https://sea1.discourse-cdn.com/flex019/user_avatar/community.swiftype.com/jason.stoltzfus/32/171_2.png) [@jason.stoltzfus](https://community.swiftype.com/u/jason.stoltzfus)
#### Post date: [October 30, 2018, 3:19pm UTC](https://community.swiftype.com/t/swiftype-multi-search-search-query-length-more-than-64-characters/911/3 "2018-10-30T15:19:46Z")

</div>

@vinothinibj_3 Is it possible for you to use filters instead of a search query?

```
query = ""
engine_name = "your_engine"
options = {
  filters: {
    roles_intersted_in: ["Accounting Manager", "Audit/Compilance", "Bookkeeper"]
  }
}
client.search(engine_name, query, options)

```

---

<div class="post-metadata">

### Author: ![vinothinibj\_3](https://avatars.discourse-cdn.com/v4/letter/v/dbc845/32.png) [@vinothinibj\_3](https://community.swiftype.com/u/vinothinibj_3)
#### Post date: [October 31, 2018, 12:24pm UTC](https://community.swiftype.com/t/swiftype-multi-search-search-query-length-more-than-64-characters/911/4 "2018-10-31T12:24:32Z")

</div>

Thanks @joson.stoltzfus will try this solution and come back to you.
