// * Returns the maximum similarity value between the query context and a result document
// *
// * @return the maximum similarity value between the query context and a result document
// */
// public float getMaxContextSimilarity()
// {
// return m_fMaxContextSimilarity;
// }
// /**
// * Returns the maximum merged similarity value between the query and a result document. This is the weighted sum out of the context and the user
// * given query.
// *
// * @return the maximum merged similarity value between the query and a result document
// */
// public float getMaxMergedSimilarity()
// {
// return m_fMaxMergedSimilarity;
// }
// /**
// * Returns the maximum similarity value between the user given query and a result document
// *
// * @return the maximum similarity value between the user given query and a result document
// */
// public float getMaxUserQuerySimilaity()
// {
// return m_fMaxQuerySimilaity;
// }
/**
* Returns an Iterable over the result list. It is generally no good idea to iterate over all documents inside the result list, because the creation of a single
* Document object needs a lookup into the persistent index - so be carefull because of performance issues.
@@ -786,10 +684,8 @@ public class DynaQResultList implements Iterable<ScoredDynaQDocument>
/**
* Recalculates the result list according to the given query. In the case something has changed inside the origin, given query (e.g. a re-weighting of the user query
* terms), this is a convenience method that can be invocated instead of creating of a new ResultList Object. The sorting criteria will be the standard dynaq sorting
*
* @throws Exception
*/
publicvoidrecalculateFromQuery()throwsException
publicvoidrecalculateFromQuery()
{
this.recalculateFromQuery(null,false);
}
...
...
@@ -804,10 +700,9 @@ public class DynaQResultList implements Iterable<ScoredDynaQDocument>
* @param strFieldName4Sorting a field name for the field that will be used for sorting. After sorting against the soecified fieldname, the standard dynaq sorting
* will be performed. This value can be null, in this case only tha DynaQ standard sorting is enabled
* @param bReverse specifies whether the sorting against the soecified fieldname will be in ascending or descending order
@@ -861,13 +756,13 @@ public class DynaQResultList implements Iterable<ScoredDynaQDocument>
/**
* Enables or disables the termrelevance explanations for the next recalculateFromQuery(..). Disable it in the case you doesn't need termrelevance explanations because of
* Enables or disables the termrelevance explanations for succeeding recalculateFromQuery(..) invocations. Disable it in the case you doesn't need termrelevance explanations because of
* performance issues. Currently only the DynaQ result view needs term relevance explanations. In the case you created this DynaQResultList Object with disabled
* explanations, you doesn't have to disable it again.