tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/13212-search-for-blocksCascade CMS: Discussion 2014-07-01T15:38:13Ztag:help-archives.hannonhill.com,2010-02-09:Comment/335990042014-07-01T13:14:10Z2014-07-01T13:14:10ZSearch for blocks<div><p>Hi,</p>
<p>I was performing some search tests in my local instance and
believe I was running into similar behavior with regards to assets
with a dash (<code>-</code>) in their name. Specifically, if the
asset name is <strong>form-display</strong> and I search for
<strong>display</strong>, the asset would not be returned under
advanced, but would be under basic (although buried within the many
results).</p>
<p>I believe the behavior may be due to the <code>-</code>
character being a reserved character with our search library,
because this is the <a href=
"http://www.hannonhill.com/kb/Advanced-Search/index.html#boolean-operators">
not operator</a>.</p>
<p>That being said, let's try the following to see if you are able
to return results:</p>
<ul>
<li><a href=
"http://www.hannonhill.com/kb/Administrator/#managing-the-search-indices">
Rebuild your Search Index</a></li>
<li>Go to Advanced Search</li>
<li>Under asset name enter <code>*\-wufoo</code></li>
</ul>
<p>This should locate all pages with their name ending in
<code>-wufoo</code>.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/335990042014-07-01T13:32:59Z2014-07-01T13:32:59ZSearch for blocks<div><p>Hi,</p>
<p>If you are interested in searching assets using web services,
check out my <a href=
"http://www.upstate.edu/cascade-admin/projects/web-services/oop/recipes/asset-tree-recipes.php">
AssetTree Recipes</a>.</p>
<p>Wing</p></div>Wing Ming Chantag:help-archives.hannonhill.com,2010-02-09:Comment/335990042014-07-01T15:35:47Z2014-07-01T15:35:47ZSearch for blocks<div><p>Thanks Ryan! That worked!</p></div>a-vennerstromtag:help-archives.hannonhill.com,2010-02-09:Comment/335990042014-07-01T15:38:12Z2014-07-01T15:38:12ZSearch for blocks<div><p>Thank you for following up, I am glad to hear the wildcard
character and escaping the dash did the trick.</p>
<p>I'm going to go ahead and close this discussion, please feel
free to comment or reply to re-open if you have any additional
questions.</p>
<p>Have a great day!</p></div>Ryan Griffith