[jira] Commented: (SOLR-1541) lowering ranking of certain documents while search

2009-11-03 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773386#action_12773386 ] Avlesh Singh commented on SOLR-1541: Why is a ticket created in the very first p

[jira] Created: (SOLR-1494) Bind highlighting info using SolrJ's DocumentObjectBinder

2009-10-06 Thread Avlesh Singh (JIRA)
ature Components: clients - java Reporter: Avlesh Singh Priority: Minor Fix For: 1.5 The DocumentObjectBinder class should "bind" highlighting info in QueryResponse, if specified by a end user. This can be achieved using an annotated interface {...

Re: Highlighting bean properties using DocumentObjectBinder - New feature?

2009-10-06 Thread Avlesh Singh
Sure! Cheers Avlesh 2009/10/6 Noble Paul നോബിള്‍ नोब्ळ् > go ahead but mark for 1.5 > > On Tue, Oct 6, 2009 at 4:50 PM, Avlesh Singh wrote: > > Does this one deserve a JIRA issue? > > > > Cheers > > Avlesh > > > > On Sun, Oct 4, 2009 at 8:37 PM, A

Re: Highlighting bean properties using DocumentObjectBinder - New feature?

2009-10-06 Thread Avlesh Singh
Does this one deserve a JIRA issue? Cheers Avlesh On Sun, Oct 4, 2009 at 8:37 PM, Avlesh Singh wrote: > Like most others, I use SolrJ and bind my beans with @Field annotations to > read responses from Solr. > For highlighting these properties in my bean, I always write a separate >

Highlighting bean properties using DocumentObjectBinder - New feature?

2009-10-04 Thread Avlesh Singh
Like most others, I use SolrJ and bind my beans with @Field annotations to read responses from Solr. For highlighting these properties in my bean, I always write a separate piece - Get the list of highlights from response and then use the Map> to put them back in my original bean. This evening, I

Re: [jira] Closed: (SOLR-1408) Classes in ${solr.home}/lib are not able to extend classes loaded by solr war - ClassCastException

2009-09-04 Thread Avlesh Singh
It is generally a good idea to cross check for a bug on the user/dev mailing list and then create the issue, Luke. Cheers Avlesh On Sat, Sep 5, 2009 at 9:37 AM, Luke Forehand (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/SOLR-1408?page=com.atlassian.jira.plugin.system.issuetabp

[jira] Commented: (SOLR-1408) Classes in ${solr.home}/lib are not able to extend classes loaded by solr war - ClassCastException

2009-09-04 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751684#action_12751684 ] Avlesh Singh commented on SOLR-1408: bq. I am starting the jetty server from with

[jira] Commented: (SOLR-1387) Add more search options for filtering facets.

2009-08-26 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748061#action_12748061 ] Avlesh Singh commented on SOLR-1387: {quote} facet.iPrefix : this would act like

[jira] Commented: (SOLR-1129) SolrJ cannot bind dynamic fields to beans

2009-08-26 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747968#action_12747968 ] Avlesh Singh commented on SOLR-1129: There is already as issue for the above An

Re: Multiple facet.prefix?

2009-08-20 Thread Avlesh Singh
t.field={!prefix=foo prefix=bar}myfield Filtering within facets is a good idea but lets limit the scope of this enhancement to multiple "facet.prefix" values for any facet.field. Cheers Avlesh On Fri, Aug 21, 2009 at 11:54 AM, Yonik Seeley wrote: > On Fri, Aug 21, 2009 at 2:18 AM, Av

Re: Multiple facet.prefix?

2009-08-20 Thread Avlesh Singh
21, 2009 at 11:46 AM, Yonik Seeley wrote: > On Fri, Aug 21, 2009 at 2:10 AM, Avlesh Singh wrote: > > Different ways to look at it Yonik. For things that I have needed this > for, > > so far (field:A* OR field:B*) was just as fine. > > So if you asked for the top 10, yo

Re: Multiple facet.prefix?

2009-08-20 Thread Avlesh Singh
Different ways to look at it Yonik. For things that I have needed this for, so far (field:A* OR field:B*) was just as fine. Anyways, for me to file the ticket, what usage are we looking for? As underneath? facet.field=myField&f.foo.facet.prefix=foo&f.foo.facet.prefix=bar How would sort, limit and

Re: Multiple facet.prefix?

2009-08-20 Thread Avlesh Singh
Hmmm ... it went a long way than I thought :) i think Avlesh is just suggesting that... > facet.field=foo & f.foo.facet.prefix=a & f.foo.facet.prefix=z > You are absolutely right, Hoss. Until Yonik mentioned the "sort" behavior of facets, it never came into my mind. My SQL analogy was .. "select

Re: Multiple facet.prefix?

2009-08-20 Thread Avlesh Singh
Or, may be just multiple facet.prefix values, Yonik; exactly the same as facet.field works. Cheers Avlesh On Fri, Aug 21, 2009 at 7:39 AM, Yonik Seeley wrote: > On Thu, Aug 20, 2009 at 9:53 PM, Avlesh Singh wrote: > > Should multiple values for facet.prefix be supported? > > I h

Multiple facet.prefix?

2009-08-20 Thread Avlesh Singh
Should multiple values for facet.prefix be supported? I have come across several use-cases on the user mailing list where such a functionality could have helped (The latest one being - http://www.lucidimagination.com/search/document/2a9c44d4f015b5e5/facet_filtering). I ran into one such use last ni

[jira] Commented: (SOLR-1357) SolrInputDocument cannot process dynamic fields

2009-08-11 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741915#action_12741915 ] Avlesh Singh commented on SOLR-1357: My point is that when a user has already annot

[jira] Commented: (SOLR-1357) SolrInputDocument cannot process dynamic fields

2009-08-11 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741910#action_12741910 ] Avlesh Singh commented on SOLR-1357: Well, I don't see a reason behind the

[jira] Created: (SOLR-1357) SolrInputDocument cannot process dynamic fields

2009-08-11 Thread Avlesh Singh (JIRA)
Reporter: Avlesh Singh Adding data via {{SolrInputDocument}} is normally done by calling the {{addField}} method with a field name, field value and an optional boost. In case of dynamic fields, if field names are known upfront, then caller of this method just passes in the right

[jira] Commented: (SOLR-1348) JdbcDataSource does not import Blob values correctly by default

2009-08-09 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741050#action_12741050 ] Avlesh Singh commented on SOLR-1348: I have used "cast()" function in My

[jira] Commented: (SOLR-1352) DIH: MultiThreaded

2009-08-09 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741047#action_12741047 ] Avlesh Singh commented on SOLR-1352: Thanks, once again :), for creating the ti

Re: structure preservation for solr

2009-08-09 Thread Avlesh Singh
First of all, why this is a solr-dev question? Second it seems you have some strong misconceptions regarding what Solr is, and what it is supposed to do. Read up a bit on Solr wiki and text analyzers. If you still have questions, ask them on solr-user mailing list. Cheers Avlesh On Sun, Aug 9, 2

[jira] Commented: (SOLR-247) Allow facet.field=* to facet on all fields (without knowing what they are)

2009-08-06 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740397#action_12740397 ] Avlesh Singh commented on SOLR-247: --- I haven't tested this patch yet. But my

Re: Queries regarding a "ParallelDataImportHandler"

2009-08-03 Thread Avlesh Singh
Sure Noble. I'll do it pretty soon. Cheers Avlesh 2009/8/3 Noble Paul നോബിള്‍ नोब्ळ् > On Mon, Aug 3, 2009 at 5:02 PM, Avlesh Singh wrote: > > We are generally talking about two things here - > > > > 1. Speed up indexing in general by creating separate thread(s

Re: Queries regarding a "ParallelDataImportHandler"

2009-08-03 Thread Avlesh Singh
n, Aug 2, 2009 at 9:39 PM, Avlesh Singh wrote: > >>> There can be a batch command (which) will take in multiple commands in > one > >>> http request. > >> > >> You seem to be obsessed with this approach, Noble. Solr-1093 also echoes > the > >

Re: Queries regarding a "ParallelDataImportHandler"

2009-08-02 Thread Avlesh Singh
rces where batching might be difficult to achieve in an abstract way, the user might choose to configure different data-config.xml's (for different DIH instances) altogether. Cheers Avlesh 2009/8/2 Noble Paul നോബിള്‍ नोब्ळ् > On Sun, Aug 2, 2009 at 8:56 PM, Avlesh Singh wrote: > >

Re: Queries regarding a "ParallelDataImportHandler"

2009-08-02 Thread Avlesh Singh
nces, task assignment scheduling is done by "injecting" limit and offset values in the import query for each DIH instance. And this is, one of the reasons, why I call it a ParallelDataImportHandler. Cheers Avlesh On Sun, Aug 2, 2009 at 8:39 PM, Avlesh Singh wrote: > run the a

Re: Queries regarding a "ParallelDataImportHandler"

2009-08-02 Thread Avlesh Singh
lelDataImportHandler. I believe > it can be done in DIH itself > > you may not need to create a project in google code. you can open a > JIRA issue and start posting patches and we can put it back into Solr. > > . > > On Sun, Aug 2, 2009 at 7:33 PM, Avlesh Singh wrot

Queries regarding a "ParallelDataImportHandler"

2009-08-02 Thread Avlesh Singh
In my quest to improve indexing time (in a multi-core environment), I tried writing a Solr RequestHandler called ParallelDataImportHandler. I had a few lame questions to begin with, which Noble and Shalin answered here - http://www.lucidimagination.com/search/document/22b7371c063fdb06/using_dih_for

[jira] Commented: (SOLR-1129) SolrJ cannot bind dynamic fields to beans

2009-07-06 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727919#action_12727919 ] Avlesh Singh commented on SOLR-1129: Good to go, Noble. I have tried and tested

Re: [Fwd: Re: Time to rationalize SolrJS Docs???]

2009-06-25 Thread Avlesh Singh
I am ready to extend my helping hand Eric and Matthias for fixing the docs and the js-code base (if need be). I have recently started using SolrJS and I feel that this contrib is unable to keep pace with enhancements in Solr. I would have been an author, if not a programmer. Lemme know what all to

[jira] Updated: (SOLR-1129) SolrJ cannot bind dynamic fields to beans

2009-05-28 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Avlesh Singh updated SOLR-1129: --- Attachment: SOLR-1129.patch Just realized that the usage of {{field.matches("^"fieldName

[jira] Updated: (SOLR-1129) SolrJ cannot bind dynamic fields to beans

2009-05-21 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Avlesh Singh updated SOLR-1129: --- Attachment: SOLR-1129.patch All the changes as discussed earlier, have been implemented. SolrJ can

[jira] Commented: (SOLR-1129) SolrJ cannot bind dynamic fields to beans

2009-05-14 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709373#action_12709373 ] Avlesh Singh commented on SOLR-1129: Sorry for the delay. Will submit a patch lates

[jira] Commented: (SOLR-1129) SolrJ cannot bind dynamic fields to beans

2009-04-26 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702987#action_12702987 ] Avlesh Singh commented on SOLR-1129: All you points are taken, Noble. I'll

[jira] Updated: (SOLR-1129) SolrJ cannot bind dynamic fields to beans

2009-04-25 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Avlesh Singh updated SOLR-1129: --- Attachment: SOLR-1129.patch Adding a patch for this enhancement. Existing test cases pass. I'l

[jira] Commented: (SOLR-1129) SolrJ cannot bind dynamic fields to beans

2009-04-25 Thread Avlesh Singh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702675#action_12702675 ] Avlesh Singh commented on SOLR-1129: Thanks for creating this ticket, Noble. I hav

Getting dynamicFields using QueryResponse

2009-04-24 Thread Avlesh Singh
Unless I am missing something, there seems to be no way for mapping my "dynamicFields" in the index to a solrj bean. I am using SolrQuery to fetch a QueryResponse object, and use QueryResponse.getBeans(MyAnnotatedClass.class) to fetch beans mapped to my index. There is no way to map dynamic fields