You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by jmlucjav <jm...@gmail.com> on 2012/03/13 17:32:26 UTC

solritas 'timestamp' parameter in call to /terms

Hi,

I am studying solristas with its browse UI that comes in 3.5.0 example. I
have noticed the calls to /terms in order to get autocompletion terms have a
'timestamp' parameter.

What is it for? I did not find any such param in solr docs.

Can be safely be removed? 

thanks

--
View this message in context: http://lucene.472066.n3.nabble.com/solritas-timestamp-parameter-in-call-to-terms-tp3822734p3822734.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: solritas 'timestamp' parameter in call to /terms

Posted by jmlucjav <jm...@gmail.com>.
I suspected it was to avoid caching, but I thought what was the harm of
caching at http level taking place if it's just suggestions, I would say it
would be even better.

So I can remove it...

thanks

--
View this message in context: http://lucene.472066.n3.nabble.com/solritas-timestamp-parameter-in-call-to-terms-tp3822734p3823244.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: solritas 'timestamp' parameter in call to /terms

Posted by Erik Hatcher <er...@gmail.com>.
It's just a function of the jquery suggest component being used, if I recall correctly, to ensure that HTTP caching doesn't get involved since the request changes by the timestamp for every request.  I imagine it can be "safely" (at the risk of getting cached results, I suppose) removed.

	Erik

On Mar 13, 2012, at 12:32 , jmlucjav wrote:

> Hi,
> 
> I am studying solristas with its browse UI that comes in 3.5.0 example. I
> have noticed the calls to /terms in order to get autocompletion terms have a
> 'timestamp' parameter.
> 
> What is it for? I did not find any such param in solr docs.
> 
> Can be safely be removed? 
> 
> thanks
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/solritas-timestamp-parameter-in-call-to-terms-tp3822734p3822734.html
> Sent from the Solr - User mailing list archive at Nabble.com.