We have provided 25 fields on which users can do a search,if users do not specify any fields that they want to search on, the default field would be a combination of 5 fields.These fields are the following: name, idOfRegistrarIANA, registrantName, adminName, techName. If users want to specify the field that they want to search on , they should use the field name followed by a colon and the searching keyword. For example if a user want to search domains whose registrant's name is 'jack', the query string seems like this: registrantName:jack. The following is the details about 25 fields(Case sensitive):
field name | field purpose | match model |
name | name of the domain | partial |
idOfRegistrarIANA | iana id of the registrar | exact |
registrantName | name of the registrant | partial |
registrantOrg | organization of the registrant | partial |
registrantStreet | street of the registrant adress | partial |
registrantCity | city of the registrant address | partial |
registrantProvince | province of the registrant address | partial |
registrantPostalCode | postal code of the registrant address | partial |
registrantCountry | country of the registrant address | partial |
adminName | name of the administrative contact | partial |
adminOrg | organization of the administrative contact | partial |
adminStreet | street of the administrative contact address | partial |
adminCity | city of the administrative contact address | partial |
adminProvince | province of the administrative contact address | partial |
adminPostalCode | postal code of the administrative contact address | partial |
adminCountry | country of the administrative contact address | partial |
techName | name of the technical contact | partial |
techOrg | organization of the technical contact | partial |
techStreet | street of the technical contact address | partial |
techCity | city of the technical contact address | partial |
techProvince | province of the technical contact address | partial |
techPostalCode | postal code of the technical contact address | partial |
techCountry | country of the technical contact address | partial |
hostNames | name servers | exact |
hostAddrs | ip addresses of name servers | exact |
When you want to do a search on multiple fields, you may need boolean query.The boolean query can work by using the uppercase keywords "AND","OR" and "NOT".For example if a user want to search domains whose registrant's name is 'jack' and the city of the tech-contact is 'BJ', the query string seems like this,registrantName:jack AND techCity:BJ
Since your query string will be split into many terms based on whitespace by the internal analyzer, so the more terms input, the more records will be matched. Composite search on multiple fields can help you narrow down the results.