lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject New LuSolr trunk (was: RE: (LUCENE-2297) IndexWriter should let you optionally enable reader pooling)
Date Mon, 22 Mar 2010 12:27:48 GMT
Hi all,

the discussion where to do the development after the merge, now gets actual:

Currently a lusolr test-trunk is done as a branch inside solr (https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk).
The question is, where to put the main development and how to switch, so non-developers that
have checkouts of solr and/or lucene will see the change and do not send us outdated patches.

I propose to do the following:

- Start a new top-level project folder inside /lucene root svn folder: https://svn.apache.org/repos/asf/lucene/lusolr
(please see "lusolr" as a placeholder name) and add branches, tags subfolders to it. Do not
create trunk and do this together with the next step.
- Move the branch from https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk to this
new directory as "trunk"
- For lucene flexible indexing, create a corresponding flex branch there and svn copy it from
current new trunk. Merge the lucene flex changes into it. Alternatively, land flex now. Or
simply do svn copy of current flex branch instead of merging (may be less work).
- Do the same for possible solr branches in development
- Create a tag in the lucene tags folder and in the solr tags folder with the current state
of each trunk. After that delete all contents from old trunk in solr and lucene and place
a readme file pointing developers to the new merged trunk folder (for both old trunks). This
last step is important, else people who checkout the old trunk will soon see a very outdated
view and may send us outdated patches in JIRA. When the contents of old-trunk disappear it's
obvious to them what happened. If they had already some changes in their checkout, the svn
client will keep the changed files as unversioned (after upgrade). The history keeps available,
so it's also possible to checkout an older version from trunk using @rev or -r rev. I did
a similar step with some backwards compatibility changes in lucene (add a README).

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Monday, March 22, 2010 11:37 AM
> To: java-dev@lucene.apache.org
> Subject: Re: (LUCENE-2297) IndexWriter should let you optionally enable
> reader pooling
> 
> I think we should.
> 
> It (newtrunk) was created to test Hoss's side-by-sdie proposal, and
> that approach looks to be working very well.
> 
> Up until now we've been committing to the old trunk and then
> systematically merging over to newtrunk.  I think we should now flip
> that, ie, commit to newtrunk and only merge back to the old trunk if
> for some strange reason it's needed.
> 
> Mike
> 
> On Mon, Mar 22, 2010 at 6:32 AM, Uwe Schindler <uwe@thetaphi.de> wrote:
> > Are we now only working on newtrunk?
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >> -----Original Message-----
> >> From: Michael McCandless (JIRA) [mailto:jira@apache.org]
> >> Sent: Monday, March 22, 2010 11:22 AM
> >> To: java-dev@lucene.apache.org
> >> Subject: [jira] Resolved: (LUCENE-2297) IndexWriter should let you
> >> optionally enable reader pooling
> >>
> >>
> >>      [ https://issues.apache.org/jira/browse/LUCENE-
> >> 2297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-
> tabpanel
> >> ]
> >>
> >> Michael McCandless resolved LUCENE-2297.
> >> ----------------------------------------
> >>
> >>     Resolution: Fixed
> >>
> >> Fixed on newtrunk.
> >>
> >> > IndexWriter should let you optionally enable reader pooling
> >> > -----------------------------------------------------------
> >> >
> >> >                 Key: LUCENE-2297
> >> >                 URL: https://issues.apache.org/jira/browse/LUCENE-
> >> 2297
> >> >             Project: Lucene - Java
> >> >          Issue Type: Improvement
> >> >            Reporter: Michael McCandless
> >> >            Priority: Minor
> >> >             Fix For: 3.1
> >> >
> >> >         Attachments: LUCENE-2297.patch
> >> >
> >> >
> >> > For apps using a large index and frequently need to commit and
> >> resolve deletes, the cost of opening the SegmentReaders on demand
> for
> >> every commit can be prohibitive.
> >> > We an already pool readers (NRT does so), but, we only turn it on
> if
> >> NRT readers are in use.
> >> > We should allow separate control.
> >> > We should do this after LUCENE-2294.
> >>
> >> --
> >> This message is automatically generated by JIRA.
> >> -
> >> You can reply to this email to add a comment to the issue online.
> >>
> >>
> >> --------------------------------------------------------------------
> -
> >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-dev-help@lucene.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message