Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Namespace Lucene.Net.QueryParsers.Xml

    Parser that produces Lucene Query objects from XML documents.

    Classes

    CoreParser

    Assembles a IQueryBuilder which uses only core Lucene Query objects

    CorePlusExtensionsParser

    Assembles a Lucene.Net.Util.QueryBuilder which uses Lucene.Net.Search.Query objects from Lucene's sandbox and queries modules in addition to core queries.

    DOMUtils

    Helper methods for parsing XML

    FilterBuilderFactory

    Factory for IFilterBuilder

    ParserException

    Thrown when the xml queryparser encounters invalid syntax/configuration.

    QueryBuilderFactory

    Factory for IQueryBuilder

    QueryTemplateManager

    Provides utilities for turning query form input (such as from a web page or Swing gui) into Lucene XML queries by using XSL templates. This approach offers a convenient way of externalizing and changing how user input is turned into Lucene queries. Database applications often adopt similar practices by externalizing SQL in template files that can be easily changed/optimized by a DBA. The static methods can be used on their own or by creating an instance of this class you can store and re-use compiled stylesheets for fast use (e.g. in a server environment)

    Interfaces

    IFilterBuilder

    Interface for building Lucene.Net.Search.Filters

    IQueryBuilder

    Implemented by objects that produce Lucene Query objects from XML streams. Implementations are expected to be thread-safe so that they can be used to simultaneously parse multiple XML documents.

    • Improve this Doc
    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.