* Creates a CRRequest from the configuration.
*
* @return created CRRequest
*/
public final CRRequest getCRRequest() {
CRRequest req = new CRRequest(filter, start, count, sorting, contentRepository.getAttributeArray(), plinkattributes);
req.setContentid(this.contentid);
req.setRequest(this.request);
req.setResponse(this.response);
req.set(RequestProcessor.META_RESOLVABLE_KEY, this.metaresolvable);
req.set(CRRequest.WORDMATCH_KEY, this.wordmatch);
req.set(CRRequest.PERMISSIONS_KEY, this.permissions);
if (this.highlightquery != null) {
req.set(RequestProcessor.HIGHLIGHT_QUERY_KEY, this.highlightquery);
}
return req;
}