try
{
FlatSearchRequest request = new FlatSearchRequest( q );
+
request.setContexts( getIndexingContexts( indexingContextIds ) );
FlatSearchResponse response = indexer.searchFlat( request );
<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
- <script type="text/javascript" src="js/jquery-ui-1.9.2.custom.min.js"></script>
+ <script type="text/javascript" src="js/jquery-ui-1.10.3.custom.min.js"></script>
<script type="text/javascript" src="js/sammy.0.7.4.js"></script>
<script type="text/javascript" data-main="js/archiva/archiva.js" src="js/require.min.2.1.9.js"></script>
"jquery.tmpl": "jquery.tmpl",
"utils": "archiva/utils",
"startup": "archiva/startup",
- "jquery.ui": "jquery-ui-1.9.2.custom.min",
+ "jquery.ui": "jquery-ui-1.10.3.custom.min",
"jquery.ui.widget": "jquery.ui.widget-1.9.2",
"jquery.cookie": "jquery.cookie.1.0.0",
"bootstrap": "bootstrap.2.2.2",
name: 'quick-search-result',
remote: 'restServices/archivaServices/searchService/quickSearch?queryString=%QUERY',
valueKey: 'artifactId',
- maxParallelRequests:1,
+ maxParallelRequests:0,
limit: 50
}
);
<h5>${$.i18n.prop('welcome.quick.search')}</h5>
<span class="span2"></span>
<form class="form-search">
- <input type="text" class="search-query" id="quick-search-autocomplete-welcome"
+ <input type="text" class="twitter-typeahead" id="quick-search-autocomplete-welcome"
placeholder="${$.i18n.prop('menu.topbar.quicksearch')}"/>
</form>
</div>
</a>
</li>
<li>
- <div class="ui-widget navbar-search">
- <input type="text" class="ui-autocomplete-input search-query" id="quick-search-autocomplete"
+ <div class="navbar-search">
+ <input type="text" class="twitter-typeahead" id="quick-search-autocomplete"
placeholder="${$.i18n.prop('menu.topbar.quicksearch')}"/>
</div>
</li>