
It gives you more flexibility and greater control over the ranking of your search results. It is appropriate for developers who want to create advanced search engines with bells and whistles.

You cannot refer to another Programmable Search Engine file, and this is not the best option for programmatically created search engines.Ī complex and heavily customized search engine However, they are mostly for your own use Programmable Search Engine does not do anything with them. You can take advantage of many advanced features, such as applying labels, associating scores, adding comments. You can create and manage the annotations in a more readable format. You cannot directly fine-tune the ranking of search results.Ī search engine that does not need all the advanced features You can upload the existing file directly to the Control Panel. You do not need to recreate annotations if you already have OPML files with URL patterns. Use the following table to pick the appropriate format: To createĪ search engine with an existing OMPL file (feed-based search engine) Programmable Search Engine combines all the annotations files in all your search engines into a single XML annotations file. For example, you can upload OPML annotations files generated by other sites and XML annotations files you created. If your search engine increases in complexity, you can consider using multiple annotations files, even files of different formats. For details about file limits, see the Annotations Limits section.īefore you start creating annotations, determine which file format best suits your needs. You can upload the annotations file to the Control Panel.

When you get the results that you expect, incrementally add more annotations. It's easier to test and troubleshoot your search engine with a handful of annotations. When you start editing your annotations file, start out with a small number of annotations, and then test some search queries in the Preview tab of the Control Panel. Text files with tab-separated values (TSV).Outline Processor Markup Language (OPML).In the context file, you define labels in the annotations file, you tag sites with the appropriate labels.Īnnotations files can be in any of the following formats:
ANNOTATIONS DEFINITION HOW TO
The label tells Programmable Search Engine how to handle a site that is, whether a site should be included, excluded, promoted, or demoted. Each annotation has two components: the site and its associated labels.

In addition, annotations files-particularly XML ones-give you far greater control over the ranking of search results.Īn annotations file is simply a list of annotations. Instead, you can add and manage a lot of sites by listing them in an annotations file and uploading it. In addition, managing a large collection of sites in the Control Panel isn't fun either. Using the Programmable Search XML FormatĪdding sites individually using the Programmable Search Engine Control Panel can be tedious if you're building a large search engine.This page describes how to define the coverage of your search engine using a TSV file or XML annotations file.
