This project is read-only.

Extension points configuration file

The extension points configuration file is used to register custom extension points. The name of the file must be ExtensionPointsConfiguration.xml.
File should be located under the Extension points directory, which can be set from the Sando settings page:
Tools->Options->Sando->General -> Extension points directory.

Sample file

<?xml version="1.0" encoding="utf-8"?>
<ExtensionPointsConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PluginDirectoryPath>C:\Plugins</PluginDirectoryPath>
  <ParsersConfiguration>
    <ParserExtensionPointsConfiguration>
      <FullClassName>Sando.CSharpParser</FullClassName>
      <LibraryFileRelativePath>ExtensionPoints.dll</LibraryFileRelativePath>
      <SupportedFileExtensions>
        <string>.cs</string>
      </SupportedFileExtensions>
    </ParserExtensionPointsConfiguration>
    <ParserExtensionPointsConfiguration>
      <FullClassName>Sando.CppParser</FullClassName>
      <LibraryFileRelativePath>CppParser.dll</LibraryFileRelativePath>
      <SupportedFileExtensions>
        <string>.h</string>
        <string>.cpp</string>
        <string>.cxx</string>
      </SupportedFileExtensions>
    </ParserExtensionPointsConfiguration>
    <ParserExtensionPointsConfiguration>
      <FullClassName>Sando.TestCppParser</FullClassName>
      <LibraryFileRelativePath>TestExtensionPoints.dll</LibraryFileRelativePath>
      <SupportedFileExtensions>
        <string>.cs</string>
      </SupportedFileExtensions>
      <ProgramElementsConfiguration>
        <BaseExtensionPointConfiguration>
          <FullClassName>Sando.TestElement</FullClassName>
          <LibraryFileRelativePath>TestElement.dll</LibraryFileRelativePath>
        </BaseExtensionPointConfiguration>
      </ProgramElementsConfiguration>
    </ParserExtensionPointsConfiguration>
  </ParsersConfiguration>
  <WordSplitterConfiguration>
    <FullClassName>Sando.TestExtensionPoints.TestWordSplitter</FullClassName>
    <LibraryFileRelativePath>WordSplitter\WordSplitter.dll</LibraryFileRelativePath>
  </WordSplitterConfiguration>
  <ResultsReordererConfiguration>
    <FullClassName>Sando.TestExtensionPoints.ResultsReorderer</FullClassName>
    <LibraryFileRelativePath>TestExtensionPoints.dll</LibraryFileRelativePath>
  </ResultsReordererConfiguration>
  <QueryWeightsSupplierConfiguration>
    <FullClassName>Sando.TestExtensionPoints.QueryWeightsSupplier</FullClassName>
    <LibraryFileRelativePath>TestExtensionPoints.dll</LibraryFileRelativePath>
  </QueryWeightsSupplierConfiguration>
  <QueryRewriterConfiguration>
    <FullClassName>Sando.TestExtensionPoints.QueryRewriter</FullClassName>
    <LibraryFileRelativePath>TestExtensionPoints.dll</LibraryFileRelativePath>
  </QueryRewriterConfiguration>
</ExtensionPointsConfiguration>

Description

Extension points configuration file consist of 5 main sections:
  • ParsersConfiguration - contains configuration of all custom parsers
  • WordSplitterConfiguration - contains configuration of a custom word splitter (for details see: Splitter EP)
  • ResultsReordererConfiguration - contains configuration of a custom results reorderer
  • QueryWeightsSupplierConfiguration - contains configuration of a custom query weights supplier
  • QueryRewriterConfiguration - contains configuration of a custom query rewriter

Last edited Jul 16, 2012 at 8:42 PM by lordlothar, version 2

Comments

No comments yet.