Skip to content
Snippets Groups Projects
Commit ae133552 authored by Demian Katz's avatar Demian Katz
Browse files

Updated and reformatted TODO comments.

parent c353d982
No related merge requests found
...@@ -240,10 +240,8 @@ class Results extends BaseResults ...@@ -240,10 +240,8 @@ class Results extends BaseResults
*/ */
protected function basicSpelling() protected function basicSpelling()
{ {
// TODO: There might be a way to run the // TODO: There might be a way to run the search against both dictionaries
// search against both dictionaries from // from inside Solr. Investigate. Currently submitting a second search.
// inside solr. Investigate. Currently
// submitting a second search for this.
// Create a new search object // Create a new search object
$newParams = clone($this->getParams()); $newParams = clone($this->getParams());
...@@ -302,8 +300,8 @@ class Results extends BaseResults ...@@ -302,8 +300,8 @@ class Results extends BaseResults
$inToken = false; $inToken = false;
$targetTerm = ""; $targetTerm = "";
foreach ($tokens as $token) { foreach ($tokens as $token) {
// TODO - Do we need stricter matching here? // TODO - Do we need stricter matching here, similar to that in
// Similar to that in replaceSearchTerm()? // \VuFind\Search\Base\Params::replaceSearchTerm()?
if (stripos($token, $term) !== false) { if (stripos($token, $term) !== false) {
$inToken = true; $inToken = true;
// We need to replace the whole token // We need to replace the whole token
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment