[jira] [Commented] (SOLR-4761) add option to plug in mergedsegmentwarmer

2013-07-29 Thread Markus Jelsma (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13722440#comment-13722440
 ] 

Markus Jelsma commented on SOLR-4761:
-

This option reduces latency but is not enabled by default. Is there any reason 
not to enable it (by default)?
Thanks

 add option to plug in mergedsegmentwarmer
 -

 Key: SOLR-4761
 URL: https://issues.apache.org/jira/browse/SOLR-4761
 Project: Solr
  Issue Type: New Feature
Reporter: Robert Muir
 Fix For: 5.0, 4.4

 Attachments: SOLR-4761.patch, SOLR-4761.patch


 This is pretty expert, but can be useful in some cases. 
 We can also provide a simple minimalist implementation that just ensures 
 datastructures are primed so the first queries aren't e.g. causing norms to 
 be read from disk etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-4761) add option to plug in mergedsegmentwarmer

2013-04-25 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641876#comment-13641876
 ] 

Mark Miller commented on SOLR-4761:
---

+1, patch looks good!

bq.  it won't actually kick in until after the first reopen. 

I think we may want to just ditch our lazy creation of the indexwriter and 
create it upfront. I don't think it saves too much to not create it.

 add option to plug in mergedsegmentwarmer
 -

 Key: SOLR-4761
 URL: https://issues.apache.org/jira/browse/SOLR-4761
 Project: Solr
  Issue Type: New Feature
Reporter: Robert Muir
 Attachments: SOLR-4761.patch


 This is pretty expert, but can be useful in some cases. 
 We can also provide a simple minimalist implementation that just ensures 
 datastructures are primed so the first queries aren't e.g. causing norms to 
 be read from disk etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-4761) add option to plug in mergedsegmentwarmer

2013-04-25 Thread Michael McCandless (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13642056#comment-13642056
 ] 

Michael McCandless commented on SOLR-4761:
--

+1, I like SimpleMergedSegmentWarmer.  Maybe we should put that class in lucene 
core?  It seems generically useful and most users won't know the APIs to enum 
fields / touch the data structures...

 add option to plug in mergedsegmentwarmer
 -

 Key: SOLR-4761
 URL: https://issues.apache.org/jira/browse/SOLR-4761
 Project: Solr
  Issue Type: New Feature
Reporter: Robert Muir
 Attachments: SOLR-4761.patch


 This is pretty expert, but can be useful in some cases. 
 We can also provide a simple minimalist implementation that just ensures 
 datastructures are primed so the first queries aren't e.g. causing norms to 
 be read from disk etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-4761) add option to plug in mergedsegmentwarmer

2013-04-25 Thread Michael McCandless (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13642124#comment-13642124
 ] 

Michael McCandless commented on SOLR-4761:
--

+1, looks great!  Thanks Rob.

 add option to plug in mergedsegmentwarmer
 -

 Key: SOLR-4761
 URL: https://issues.apache.org/jira/browse/SOLR-4761
 Project: Solr
  Issue Type: New Feature
Reporter: Robert Muir
 Attachments: SOLR-4761.patch, SOLR-4761.patch


 This is pretty expert, but can be useful in some cases. 
 We can also provide a simple minimalist implementation that just ensures 
 datastructures are primed so the first queries aren't e.g. causing norms to 
 be read from disk etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-4761) add option to plug in mergedsegmentwarmer

2013-04-25 Thread Commit Tag Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13642519#comment-13642519
 ] 

Commit Tag Bot commented on SOLR-4761:
--

[trunk commit] rmuir
http://svn.apache.org/viewvc?view=revisionrevision=1476026

SOLR-4761: add option to plug in mergedSegmentWarmer

 add option to plug in mergedsegmentwarmer
 -

 Key: SOLR-4761
 URL: https://issues.apache.org/jira/browse/SOLR-4761
 Project: Solr
  Issue Type: New Feature
Reporter: Robert Muir
 Attachments: SOLR-4761.patch, SOLR-4761.patch


 This is pretty expert, but can be useful in some cases. 
 We can also provide a simple minimalist implementation that just ensures 
 datastructures are primed so the first queries aren't e.g. causing norms to 
 be read from disk etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-4761) add option to plug in mergedsegmentwarmer

2013-04-25 Thread Commit Tag Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13642527#comment-13642527
 ] 

Commit Tag Bot commented on SOLR-4761:
--

[branch_4x commit] rmuir
http://svn.apache.org/viewvc?view=revisionrevision=1476030

SOLR-4761: add option to plug in mergedSegmentWarmer

 add option to plug in mergedsegmentwarmer
 -

 Key: SOLR-4761
 URL: https://issues.apache.org/jira/browse/SOLR-4761
 Project: Solr
  Issue Type: New Feature
Reporter: Robert Muir
 Attachments: SOLR-4761.patch, SOLR-4761.patch


 This is pretty expert, but can be useful in some cases. 
 We can also provide a simple minimalist implementation that just ensures 
 datastructures are primed so the first queries aren't e.g. causing norms to 
 be read from disk etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-4761) add option to plug in mergedsegmentwarmer

2013-04-24 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641335#comment-13641335
 ] 

Robert Muir commented on SOLR-4761:
---

One confusing thing is that I think it won't actually kick in until after the 
first reopen. Thats because Solr first opens from the Directory directly, then 
from the writer in the NRT case...

Seems like this would be good to fix, but we can still make progress on this 
issue in spite of it.

 add option to plug in mergedsegmentwarmer
 -

 Key: SOLR-4761
 URL: https://issues.apache.org/jira/browse/SOLR-4761
 Project: Solr
  Issue Type: New Feature
Reporter: Robert Muir

 This is pretty expert, but can be useful in some cases. 
 We can also provide a simple minimalist implementation that just ensures 
 datastructures are primed so the first queries aren't e.g. causing norms to 
 be read from disk etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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