l.a.m.q.SimilarQuestionsSearch(QuestionSearch) : class documentation

Part of lp.answers.model.question View In Hierarchy

Search questions in a context using a similarity search algorithm.

This search object is used to implement IQuestionTarget.findSimilarQuestions().

Method __init__ Undocumented

Inherited from QuestionSearch:

Method getTargetConstraints Return the constraints related to the IQuestionTarget context.
Method getTableJoins Return the tables that should be joined for the constraints.
Method getMessageJoins Create the joins needed to select constraints on the messages by a
Method getProductJoins Create the joins needed to select constraints on projects by a
Method getActivePillarJoins Create the joins needed to select constraints on active pillars.
Method getConstraints Return a list of SQL constraints to use for this search.
Method getPrejoins Return a list of tables that should be prejoined on this search.
Method getPrejoinClauseTables Return a list of tables that are in the contraints
Method getOrderByClause Return the ORDER BY clause to use for this search's results.
Method getResults Return the questions that match this query.
def __init__(self, title, product=None, distribution=None, sourcepackagename=None):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.