This guide provides more detail on the syntax you can use to search EIN to help you create more advanced searches.
Wrap you search term in quotation marks if you are looking for a phrase.
Example:will ensure you receive results containing the phrase 'home office'. Without the quotation marks, the search would merely find results with both the words 'home' and 'office'.
You can combine a phrase with keywords rather than having your whole query as a phrase.
Example:will search for 'family' and 'guidance' as words and for the phrase 'home office'.
The search supports +, -. AND, OR and NOT as operators to build more complex searches.
Plus and minus
By default, the search will require all words to be found if you are searching for 1 to 4 words (unless you perform an OR search). As you add more words, some will be considered optional so that the chances of you receiving no results are lessened. The + operator tells the search that a term is not optional and must be found.
Type + directly before any search term that you require to be present in your results.
Example:will ensure that 'torture' must be present in all search results.
The - operator does the opposite and tells the search that you want to exclude any results containing that term. Type - directly before any search term that you want to exclude.
Example:will only find results that do not contain the term 'torture'.
AND, OR and NOT
The search accepts the commonly used AND, OR and NOT operators. Always type them in CAPITALS so that the search recognises them as operators.
AND narrows a search to find results containing all the terms.
Example:will require all five words to be found.
OR broadens a search to find results containing any of your terms. It can be useful for alternate spellings or for terms that can be expressed in different ways.
NOT excludes a term. It performs the same function as - and tells the search that you only want results without that term.
You can group search terms together in clauses using parentheses. Each grouped clause is handled separately.
Example:will find results that contain 'Pakistan' but not 'Afghanistan' and that also contain either 'Taliban' or 'Taleban'.
Using multiple parentheses will enable you to build complex queries.
You can use proximity searching to specify that you want to find words within close proximity to each other.
Add the tilde character ~ and a numeric value to the end of your terms to perform a proximity search. The numeric value will specify within how many words you want you search terms to appear together. Don't put any spaces between your query and the tilde character or between the tilde character and the numeric value.
Wrap your search terms within quotation marks when performing a proximity search (note that when you are using the proximity syntax, quotations do not denote a phrase).
Example:will find results where the words 'guidance' and 'detention' appear within 10 words of each other.
Example:will search for all four words within 50 words of each other.
Proximity searching can be very useful for increasing the relevancy of your results if you are searching for terms that commonly occur outside of the context you require, or if you are searching for a phrase that might not always be expressed in the same way or order.
You can adjust the numeric value and search again if you receive too many or too few results.
You can apply to a boost an individual terms by typing the caret symbol ^ followed by a numerical boost factor directly after term you are searching. This tells the search that a certain term is more important and should be given a higher priority. The number will determine by how much the term is boosted. For example, 2-10 is a fairly low boost, while going up to 50 will give a much higher boost.
Example:gives a moderate boost to show you want the term 'student' to have a higher priority.
Example:gives a very high boost to favour results that are especially relevant to 'sponsor'.
EIN welcomes any feedback you have on the search. If you find a search that doesn't behave as expected or if you have any requests that you think will assist your searches, please let us know. You can email us at firstname.lastname@example.org.