I've been playing with faceted queries and they are the bees knees. Makes working in search fun again :)
-- Jeff Coughlin On Jul 30, 2012, at 9:26, Chris Kent <[email protected]> wrote: Thanks Sean, Already working on this to build a specific SOLR form/webskin for the site. Also going to have a look at faceted queries for categories. If i get anythign useful on this will post back. Chris. On Monday, 30 July 2012 14:17:34 UTC+1, Sean Coyne wrote: > > Those types of searches are up to you. We included a basic site-wide > search feature so you could fairly easily replace the old Solr or Verity > plugins w/o losing functionality. For more complex filtering you could > either override the form component, custom types or webskins and implement > the functionality as you need. We could never build enough filters for > every need so that part is up to the individual developer. You can also > create search forms for a specific content types (think of an ecommerce > site having a product search for example). > > Your example for filtering by category looks spot on though. You could > override the type & method and add that functionality, then override the > webskins and add a category field and you would be done. > > On Monday, July 30, 2012 4:42:52 AM UTC-4, Chris Kent wrote: >> >> Testing farcrysolrpro for a site upgrade and very impressed so far, great >> work Jeff and Sean. >> >> Couple of quick questions that I cannot find answers form looking though >> the code. >> >> Have you implemented filtering results by related content items, e.g. >> allowing search by either UUID or list of UUIDs? >> >> Have you implemented filtering results by categoryID(s)? >> >> I have done some quick tests and by storing the category field as a >> string the following addition in buildQueryString() allows filtering the >> SOLR results by a category ID. >> >> <cfset q = "(" & q & ") AND (catnews_string_stored:” & >> arguments.searchCatID & “)" /> >> >> >> Chris. >> > -- -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -- -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
