RE: Starts with Query

2012-06-14 Thread Afroz Ahmad
If you are not searching for the specific digit and want to match all documents that start with any digit, you could as part of the indexing process, have another field say startsWithDigit and set it to true if it the title begins with a digit. All you need to do at query time then is query for sta

Re: Regarding number of documents

2012-06-13 Thread Afroz Ahmad
Could it be that you are getting records that are not unique. If so then SOLR would just overwrite the non unique documents. Thanks Afroz On Wed, Jun 13, 2012 at 4:50 PM, Swetha Shenoy wrote: > Note: I don't see any errors in the logs when I run the index. > > On Wed, Jun 13, 2012 at 5:48 PM, S

Re: edismax and untokenized field

2012-06-12 Thread Afroz Ahmad
In the example above your schema is applying the tokenizers and filter only during index time. For your query terms to also pass through the same pipeline you need to modify the field type and add a section. I believe this should fix your problem. Thanks Afroz :

Re: How to do custom sorting in Solr?

2012-06-11 Thread Afroz Ahmad
You may want to look at http://sujitpal.blogspot.com/2011/05/custom-sorting-in-solr-using-external.html. While it is not the same requirement, this should give you an idea of how to do custom sorting. Thanks Afroz On Sun, Jun 10, 2012 at 4:43 PM, roz dev wrote: > Yes, these documents have lots

Re: Problem with field collapsing of patched Solr 1.4

2011-03-23 Thread Afroz Ahmad
Have you enabled the collapse component in solconfig.xml? Thanks afroz On Fri, Mar 18, 2011 at 8:14 PM, Kai Schlamp-2 wrote: > Unfortunately I have to use Solr 1.4.x or 3.x as one of the interfaces to > access Solr uses Sunspot (a Ruby Solr library), which doesn't seem to be > compatible with