>
> I have used a callback (setSearchStartingCallback) to set the date
> range like this (hard coded for now, indicates year 2009) -
> searcher.setQueryAddition("daterange:2454837-2455141");
>
> But this doesn't seem to be working for refinements...i.e. the
> tabs...is it creating a new searcher object when i click on a
> refinement? How can I apply this date range to all tabs?
>
> I am an absolute new bee to this API so please forgive me if my
> queries are naive...
>
> On Nov 6, 4:36 pm, Jeremy Geerdes <
jrgeer...@gmail.com> wrote:
>
> > I would echo everything that visionjinx said in his post and add a
> > couple of details. First, if you're using the Custom Search Control
> > (i.e., the one that overlays the results on the page) or the default
> > SearchControl, you're probably going to need to build your own control
> > to accomplish this. This isn't really as difficult as it would seem if
> > you have some knowledge of HTML, Javascript, and CSS, and there are a
> > number of samples that you can look at in the documentation and play
> > with in the API Playground. And second, you will need to use a regex
> > or replace method to find the search term(s) in the url. When the AJAX
> > Search API returns the results, the search terms are not highlighted
> > in any way in anything except the result's title property.
>
> > Jeremy R. Geerdes
> > Effective website design & development
> > Des Moines, IA
>
> > For more information or a project quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://jgee...