Page 1 of 1

Product Paging Feature

Posted: Mon Jul 30, 2012 12:42 pm
by limebot
Love the new Broadleaf Commerce version.... I was looking to implement a product paging feature. ( I am working on the Demo)
Example: On the Hot Sauce page show only 20 records per page.

Is this something that is included and I just missed it.

Thanks

Re: Product Paging Feature

Posted: Mon Jul 30, 2012 5:23 pm
by aazzolini
Searching (and catalog browsing) utilize the ProductSearchCriteria class as a DTO to back the query.

In this object, there are two attributes, page and pageSize, which you can use to limit your results.

However, please note that the default DatabaseProductSearchServiceImpl does not utilize these two attributes at the moment.

I have marked that as a feature request and we will try to get it in.

Also, the Database based implementation of the search service is only ok for small catalogs. If you have a large catalog, you may want to wait for our solr integration, which will provide much faster and more flexible searches. We are aiming to have this in place soon, but I can't commit to a specific timeframe just yet.

Thanks.

Re: Product Paging Feature

Posted: Tue Aug 07, 2012 12:02 am
by watts
hi aazzolini

would it be possible to give a timeline to expect Solr integration? Its such a powerful feature to have and didn't see support in latest release 2.0.0-M1-4 or maybe I'm mistaken. So any news on this would be great.

thank you.

Re: Product Paging Feature

Posted: Tue Aug 07, 2012 9:16 am
by aazzolini
I can't really give you a firm release date as our priorities change frequently depending on current clients' needs.

However, I can tell you that I'm planning on working on the integration later this week and next week to complete the basic integration and allow a developer to integrate solr.

We haven't quite figured out what we're doing on the admin side for managing searching and search facets, so I can't comment on that just yet.

Re: Product Paging Feature

Posted: Tue Aug 07, 2012 10:18 am
by watts
this is good news :)

Re: Product Paging Feature

Posted: Mon Aug 13, 2012 1:03 pm
by aazzolini
As a follow up for you, I've started work on solr today and most of my week will be dedicated to it.

We should have something in place that you can start to develop against at the end of this week.

I'll give you an update in this thread when that happens.

Re: Product Paging Feature

Posted: Thu Aug 23, 2012 3:04 pm
by aazzolini
I've completed the initial Solr integration

You can check out some documentation here: http://docs.broadleafcommerce.org/curre ... earch.html

And here is a link to the new workspace that builds against M1-6: https://github.com/downloads/BroadleafC ... kspace.zip

Let me know if you run into any issues since this is brand new code! :)

Re: Product Paging Feature

Posted: Sat Aug 25, 2012 10:32 am
by broadleafer
That's awesomeeee news :D ...

Will M1-6 be merged into master branch anytime ?

Re: Product Paging Feature

Posted: Mon Aug 27, 2012 9:51 am
by aazzolini
I wrote a little blurb about our branching strategy: http://docs.broadleafcommerce.org/curre ... ategy.html

2.0 is still in the milestone phase (currently M1-6). We're looking to move to a RC build very soon, followed by a GA after that (somewhere in the 4-6 week timeframe is our latest projection). That will be when we merge into master.