Trie Based field (long) value parsing on query time

2012-09-28 Thread Clecio Varjao
HI All, I was wondering if someone could point to a direction on how to implement a "rewrite" for the value on trie field (long) on query time. Example, considering the query: q=reference:"4-1.2" the value is a text, but the following is indexed as a number (e.g.: 004001002, where "4" becomes "

Re: Sorting

2011-06-03 Thread Clecio Varjao
Because when browsing through legislation, people want to browse in the same order as it is actually printed in the hard copy volumes. It did work by using a copyfield to a lowercase field. On Fri, Jun 3, 2011 at 2:29 AM, pravesh wrote: > BTW, why r u sorting on this field? > You could also index

Sorting

2011-06-02 Thread Clecio Varjao
Hi, When using the following URL: http://localhost:8080/solr/StatReg/select?version=2.2&sort=path+asc&fl=path&start=0&q=paths%3A%222%2Froot%2FStatReg%2F--+C+--%22&hl=off&rows=500 I get the result in the following order: [...] /-- C --/Community Care Facility Act [RSBC 1996] c. 60/00_96060REP_01.