Skip to content

Commit

Permalink
enhanced search speed
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Mar 5, 2014
1 parent 6842276 commit e21065d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/modules/search_getResults.xql
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ declare function local:searchFullText($coll,$query,$docType) as element()* {
: @return the resulting sequence of documents
:)
declare function local:createSearchField($docType,$searchFilter,$query) {
let $coll := core:getOrCreateColl($docType, 'indices', false())
let $coll := core:data-collection($docType)
return
if($searchFilter='fullText') then local:searchFullText($coll,$query,$docType)
else if($searchFilter='persName') then local:searchForPersName($coll,$query,$docType)
Expand Down

0 comments on commit e21065d

Please sign in to comment.