Hello!

You want it to be written into logs ? If that is the case you can just
add additional parameter, that is not recognized by Solr, for example
'userId' and send a query like this:

http://localhost:8983/solr/select?q=*:*&userId=user1

In the logs you should see something like that:
INFO: [collection1] webapp=/solr path=/select
params={q=*:*&userId=user1} hits=0 status=0 QTime=1

-- 
Regards,
 Rafał Kuć
 Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

> Hi All,

> Do anyone have an idea how to use user session id / cookie to record 
> search query from that particular user. 

> Thanks and regards,
> Romita

Reply via email to