Re: Dynamic facets during runtime
Use "appends" instead of "defaults". > On May 11, 2017, at 23:23, Jeyaprakash Singarayar> wrote: > > Hi, > > Our application has a facet select admin screen UI that would allow the > users to add/update/delete the facets that has to be returned from Solr. > > Right now we have the facet fields defined in the defaults of > requestHandler. > > So if a user wanted a new facet, I know sending that newly selected facet > with the query would override the list in the solrconfig.xml > > If there any better way rather than making all the facets sent through > querytime. > > Thanks, > Jeyaprakash
Dynamic facets during runtime
Hi, Our application has a facet select admin screen UI that would allow the users to add/update/delete the facets that has to be returned from Solr. Right now we have the facet fields defined in the defaults of requestHandler. So if a user wanted a new facet, I know sending that newly selected facet with the query would override the list in the solrconfig.xml If there any better way rather than making all the facets sent through querytime. Thanks, Jeyaprakash
Dynamic Facets
Hi, guys, We have more than 1000 attributes scattered around 700K docs. Each doc might have about 50 attributes. I would like Solr to return up to 20 facets for every searches, and each search can return facets dynamically depending on the matched docs. Anyone done that before? That'll be awesome if the facets returned will be changed after we drill down facets. I have looked at the following docs: http://wiki.apache.org/solr/SimpleFacetParameters http://www.lucidimagination.com/devzone/technical-articles/faceted-search-solr Wondering what's the best way to accomplish that. Any advice? Thanks, YH
Re: Dynamic Facets
YH - One technique (that the Smithsonian employs, I believe) is a technique to index the field names for the attributes into a separate field, facet on that first, and then facet on the fields you'd like from that response in a second request to Solr. There's a basic hack here so the indexing client doesn't need to add the fields used field: https://issues.apache.org/jira/browse/SOLR-1280 Ideally, this could all be made part of one request to Solr - and I can envision a pre-faceting component (post querying) to dynamically figure out the best fields to facet on, set those into the request context, and the rest is magic. Erik On Jul 5, 2011, at 13:15 , Way Cool wrote: Hi, guys, We have more than 1000 attributes scattered around 700K docs. Each doc might have about 50 attributes. I would like Solr to return up to 20 facets for every searches, and each search can return facets dynamically depending on the matched docs. Anyone done that before? That'll be awesome if the facets returned will be changed after we drill down facets. I have looked at the following docs: http://wiki.apache.org/solr/SimpleFacetParameters http://www.lucidimagination.com/devzone/technical-articles/faceted-search-solr Wondering what's the best way to accomplish that. Any advice? Thanks, YH
Re: Dynamic Facets
You can issue a new facet search as you drill down from your UI. You have to specify the fields you want to facet on and they can be dynamic. Take a look at recent threads here on taxonomy faceting for help. Also, look here[1] [1] http://wiki.apache.org/solr/SimpleFacetParameters On Tue, 5 Jul 2011 11:15:51 -0600, Way Cool way1.wayc...@gmail.com wrote: Hi, guys, We have more than 1000 attributes scattered around 700K docs. Each doc might have about 50 attributes. I would like Solr to return up to 20 facets for every searches, and each search can return facets dynamically depending on the matched docs. Anyone done that before? That'll be awesome if the facets returned will be changed after we drill down facets. I have looked at the following docs: http://wiki.apache.org/solr/SimpleFacetParameters http://www.lucidimagination.com/devzone/technical-articles/faceted-search-solr Wondering what's the best way to accomplish that. Any advice? Thanks, YH
Re: Dynamic Facets
Thanks Erik and Darren. A pre-faceting component (post querying) will be ideal as though maybe a little performance penalty there. :-) I will try to implement one if no one has done so. Darren, I did look at the taxonomy faceting thread. My main concern is that I want to have dynamic facets to be returned because I don't know what facets I can specify as a part of query ahead of time, and there are too many search terms. ;-) Thanks for help. On Tue, Jul 5, 2011 at 11:49 AM, dar...@ontrenet.com wrote: You can issue a new facet search as you drill down from your UI. You have to specify the fields you want to facet on and they can be dynamic. Take a look at recent threads here on taxonomy faceting for help. Also, look here[1] [1] http://wiki.apache.org/solr/SimpleFacetParameters On Tue, 5 Jul 2011 11:15:51 -0600, Way Cool way1.wayc...@gmail.com wrote: Hi, guys, We have more than 1000 attributes scattered around 700K docs. Each doc might have about 50 attributes. I would like Solr to return up to 20 facets for every searches, and each search can return facets dynamically depending on the matched docs. Anyone done that before? That'll be awesome if the facets returned will be changed after we drill down facets. I have looked at the following docs: http://wiki.apache.org/solr/SimpleFacetParameters http://www.lucidimagination.com/devzone/technical-articles/faceted-search-solr Wondering what's the best way to accomplish that. Any advice? Thanks, YH
Dynamic facets?
Hi, I was wondering if there is a way to retrieve the facets from a query based on their mincount without specifying facet.field? I submit a query and want to retrieve all the faceted fields with mincounts 2, but don't know what they might be since I also use dynamic fields. Is this possible? thanks, Darren
Re: Dynamic facets?
On Mon, Dec 28, 2009 at 7:55 PM, Darren Govoni dar...@ontrenet.com wrote: Hi, I was wondering if there is a way to retrieve the facets from a query based on their mincount without specifying facet.field? I submit a query and want to retrieve all the faceted fields with mincounts 2, but don't know what they might be since I also use dynamic fields. Is this possible? No, one must specify the field name on which one wants to facet. It seems that you don't care about the field names, just the individual term and count. If so, you can create a copy field for all the dynamic fields you have. -- Regards, Shalin Shekhar Mangar.
SMILE/Rails/Babel and Dynamic Facets?
Erik: You are doing some pretty cool stuff with flare! I am amazed! Now I have some questions :-) - Smile and Babel does everything and its so easy so I wonder why you need ruby/rails for flare? What I mean is that one could get XML feed directly from Solr to smile if the xml is formatted correctly correct? no? I am guessing you have bigger plans :-) .. I am just curious - A different question regarding dynamic facets, I wonder if its possible to do facets based on term frequency? I mean what one need to do lets say you decide that show automatically the top 10 medium_facets or top 10 genra_facets.. or just the top 10 term frequency facet .. and then show where this sub facets.. For lack of better term I am using the word dynamic facets as the index will change.. how will one go about doing that? I hope I am able to explain correctly.. Regards - Stava rätt! Stava lätt! Yahoo! Mails stavkontroll tar hand om tryckfelen och mycket mer! Få den på http://se.mail.yahoo.com
Re: SMILE/Rails/Babel and Dynamic Facets?
On Feb 8, 2007, at 7:23 PM, Antonio Eggberg wrote: You are doing some pretty cool stuff with flare! I am amazed! Now I have some questions :-) Thanks! - Smile and Babel does everything and its so easy so I wonder why you need ruby/rails for flare? What I mean is that one could get XML feed directly from Solr to smile if the xml is formatted correctly correct? no? I am guessing you have bigger plans :-) .. I am just curious Oh sure, you could totally map Solr directly into SIMILE Exhibit, via JSON. However, the Flare Rails application does maintain state so the current query and filter state are taken into consideration for the data sent to Exhibit. It was really just a glorious hack to tie the two together that easily. More is needed. Flare has a few hard- coded spots that need to be factored out into configuration, and also the Exhibit controller only sends out a maximum of 10 items at the moment. So its a proof-of-concept, and whether its a keeper in Flare remains to be seen. I would like to see SIMILE Timeline support get added eventually too and see how that fits. - A different question regarding dynamic facets, I wonder if its possible to do facets based on term frequency? I mean what one need to do lets say you decide that show automatically the top 10 medium_facets or top 10 genra_facets.. or just the top 10 term frequency facet .. and then show where this sub facets.. For lack of better term I am using the word dynamic facets as the index will change.. how will one go about doing that? I hope I am able to explain correctly.. I'm sure this could be done. Flare can evolve into a UI that adjusts based on the state of the index, for sure. I haven't contemplated this far yet, but I think you're on the right track. Erik