I just released SolrNet 0.2.3. There aren't any significant changes from beta1, I just filled in some missing documentation bits and a couple of tests.
For the next release I'll focus on performance improvements and making multi-core access easier.
Downloads:
Hi Mauricio,
ReplyDeleteI have a question regarding the mappings. In the sample web app, you have the following:
[SolrField("cat")]
public ICollection<string> Categories { get; set; }
Is it possible to also do something like the following? This is more like how my NHibernate objects look and I want to take advantage of the NHibernate integration.
[SolrField("cat")]
public ICollection<Category> Categories { get; set; }
Thanks.
There is a pending issue to implement this, but keep in mind that Solr / Lucene index is actually a flat table. You'd be better off creating a denormalized SolrNet entity (see http://wiki.apache.org/solr/SchemaDesign).
ReplyDeleteI'm also planning a pluggable NHibernate-SolrNet mapper to make the integration more flexible.
Also, please send any further questions to the google group.
Hi Mauricio,
ReplyDeleteI have a question about the sorting (Best Match, Name, Price, Random) in your sample web application.
I'd like to add the functionality to sort a column in ascending and descending order by clicking on the same link. Currently, when you click on a link, it just does a sort in ascending order.
Any help is appreciated.
Regards,
Thanh
@Thanh: when creating the link, detect the current order (asc/desc) and create the link with the opposite order if the selected sort is the one you're generating.
ReplyDeleteAlso, please send any further questions to the google group.
Thanks for the quick reply and your tip. Sure, I will post my questions in Google Code Solr in the future.
ReplyDeleteRegards,
Thanh