Re: UpdateRequestProcessor to avoid documents of being indexed

2009-12-10 Thread Marc Sturlese
Yes, it did Cheers Chris Male wrote: > > Hi, > > Yeah thats what I was suggesting. Did that work? > > On Thu, Dec 10, 2009 at 12:24 PM, Marc Sturlese > wrote: > >> >> Do you mean something like?: >> >>@Override >>public void processAdd(AddUpdateCommand cmd) throws IOException { >>

Re: UpdateRequestProcessor to avoid documents of being indexed

2009-12-10 Thread Chris Male
Hi, Yeah thats what I was suggesting. Did that work? On Thu, Dec 10, 2009 at 12:24 PM, Marc Sturlese wrote: > > Do you mean something like?: > >@Override >public void processAdd(AddUpdateCommand cmd) throws IOException { >boolean addDocToIndex > =dealWithSolrDocFields(cmd.getSol

Re: UpdateRequestProcessor to avoid documents of being indexed

2009-12-10 Thread Marc Sturlese
Do you mean something like?: @Override public void processAdd(AddUpdateCommand cmd) throws IOException { boolean addDocToIndex =dealWithSolrDocFields(cmd.getSolrInputDocument()) ; if (next != null && addDocToIndex) { next.processAdd(cmd); } else {

Re: UpdateRequestProcessor to avoid documents of being indexed

2009-12-10 Thread Chris Male
Hi, If your UpdateRequestProcessor does not forward the AddUpdateCommand onto the RunUpdateProcessor, I believe the document will not be indexed. Cheers On Thu, Dec 10, 2009 at 12:09 PM, Marc Sturlese wrote: > > Hey there, > I need that once a document has been created be able to decide if I wa