Need help in velocity search UI

2015-06-02 Thread Jeetendra Gangele
Hi All I was trying to modify the facet_fields.vm do anybody know where is the location of the function url_for_facet_filter ? Also where will be log stored ?

Re: Need help in velocity search UI

2015-06-02 Thread Michał B . .
Look at the VM_global_library.vm file. Regards, Michal 2015-06-02 10:47 GMT+02:00 Jeetendra Gangele gangele...@gmail.com: Hi All I was trying to modify the facet_fields.vm do anybody know where is the location of the function url_for_facet_filter ? Also where will be log stored ? --

Re: Need help in velocity search UI

2015-06-02 Thread Jeetendra Gangele
Hi Michael Thanks for your reply. I got this is an macro. I am trying to modify the facet_fields.vm. how it works is like for each $ field.name, $facet.name it gives the result. But now what I want is I want user to select multiple facets from fields and once user hit the filter button which I

Re: Need help in velocity search UI

2015-06-02 Thread Erik Hatcher
Jeetendra - Forget about url_for_facet_filter and any other macros (since these were built for the techproducts /browse UI, not necessarily general purpose and not for use with multi-select facets)… just concern yourself with the actual Solr URL that you need to submit. In the example you

Re: Need help in velocity search UI

2015-06-02 Thread Michał B . .
It's 'Boost by Price' field in default velocity template. You can find it in query.vm. R. Michał 2015-06-02 13:28 GMT+02:00 Jeetendra Gangele gangele...@gmail.com: what is bf field and where can I find? On 2 June 2015 at 15:42, Michał B. . m.bienkow...@gmail.com wrote: HI, Look how bf

Re: Need help in velocity search UI

2015-06-02 Thread Michał B . .
HI, Look how bf field is done. You could simply add hidden field with name 'fq' and in JS append values to it. Regards, Michal 2015-06-02 11:17 GMT+02:00 Jeetendra Gangele gangele...@gmail.com: Hi Michael Thanks for your reply. I got this is an macro. I am trying to modify the

Re: Need help in velocity search UI

2015-06-02 Thread Jeetendra Gangele
Hey Michal thanks for your reply. Actually I am beginner I am listing below steps to perform. 1. add entry in query.vm add hidden field with name 'fq' 2. now through js append in this field My problem is ,facet_fields.vm is another file how can I get 'fq' access this in another file? Can you

Re: Need help in velocity search UI

2015-06-02 Thread Jeetendra Gangele
what is bf field and where can I find? On 2 June 2015 at 15:42, Michał B. . m.bienkow...@gmail.com wrote: HI, Look how bf field is done. You could simply add hidden field with name 'fq' and in JS append values to it. Regards, Michal 2015-06-02 11:17 GMT+02:00 Jeetendra Gangele

Re: Need help in velocity search UI

2015-06-02 Thread Michał B . .
Jeetendra, It doesn't matter if it is a different file it is included in result page so its content is available for you. At the beginning I suggest for you an exercise in which you could at simple html input and find out that it is in URL. Than try to modify it in JS and than name it fq :)

Re: Need help in velocity search UI

2015-06-02 Thread Upayavira
Jeetendra, Just be aware that /browse is great for demo UIs, but shouldn't be used in production, as it has no authentication. Also, from a development perspective, it lacks a controller meaning you may need to use javascript to fix URLs/etc. Upayavira On Tue, Jun 2, 2015, at 02:50 PM, Michał

Re: Need help in velocity search UI

2015-06-02 Thread Erik Hatcher
Jeetendra - First steps - implement what you want with static HTML/JavaScript so that you have the interface in place. It can get hairy with the Velocity/HTML/JavaScript/Solr stuff all intermingled*. By doing things statically (without Velocity, and even without Solr) you’ll get the UI

Re: Need help in velocity search UI

2015-06-02 Thread Jeetendra Gangele
Thanks Erik for reply. I am building some kind of semantic search for one of the google Hackathon project so I need this UI for Demo only. I already have java script which is allowing user to select multiple facets and I am getting all the facets selecting by user in array in java script. Now I