Get Recently Added/Updated Documents

2016-03-15 Thread Lyuba Romanchuk
Hi, I have the following scenario: - there are 2 machines running solr 4.8.1 - there are different time zones on both machines - the clock is not synchronized on both machines Autorefresh query running each X-2 seconds should return documents for last X seconds and the performance impac

adding support for deleteInstanceDir from solrj

2013-08-26 Thread Lyuba Romanchuk
Hi all, Did anyone have a chance to look at the code? It's attached here: https://issues.apache.org/jira/browse/SOLR-5023. Thank you very much. Lyuba

Re: [Solr 4.2] deleteInstanceDir is added to CoreAdminHandler but is not supported in Unload CoreAdminRequest

2013-07-09 Thread Lyuba Romanchuk
oad(false); > ((ModifiableSolrParams) req.getParams()).set("deleteInstanceDir", true); > req.process(server); > > On Thu, Jul 4, 2013 at 12:50 PM, Lyuba Romanchuk > wrote: > > Hi, > > > > I need to unload core with deleting instance directory of the core. &

[Solr 4.2] deleteInstanceDir is added to CoreAdminHandler but is not supported in Unload CoreAdminRequest

2013-07-04 Thread Lyuba Romanchuk
Hi, I need to unload core with deleting instance directory of the core. According to code of Solr4.2 I don't see the support for this parameter in solrj. Is there the fix or open issue for this? Best regards, Lyuba

Re: [Solr 4.2.1] LotsOfCores - Can't query cores with loadOnStartup="true" and transient="true"

2013-05-22 Thread Lyuba Romanchuk
RA and assign it to me to > investigate? You should definitely be able to define cores this way. > > Thanks, > Erick > > On Sun, May 19, 2013 at 9:27 AM, Lyuba Romanchuk > wrote: > > Hi, > > > > It seems like in order to query transient cores they must be de

[Solr 4.2.1] LotsOfCores - Can't query cores with loadOnStartup="true" and transient="true"

2013-05-19 Thread Lyuba Romanchuk
Hi, It seems like in order to query transient cores they must be defined with loadOnStartup="false". I define one core loadOnStartup="true" and transient="false", and another cores to be loadOnStartup="true" and transient="true", and transientCacheSize=Integer.MAX_VALUE. In this case CoreContai

Re: Solr 4.0 - timeAllowed in distributed search

2013-01-21 Thread Lyuba Romanchuk
r the response > to be returned, or use rows=0. > > The timeAllowed feature is very misleading. It only applies to a small > portion of the query (which in my experience is usually not the part of the > query that is actually slow). Do not depend on timeAllowed doing anything >

[Solr 4.0] what is stored in .tim index file format?

2012-04-17 Thread Lyuba Romanchuk
Hi, I have index ~31G where 27% of the index size is .fdt files (8.5G) 20% - .fdx files (6.2G) 37% - .frq files (11.6G) 16% - .tim files (5G) I didn't manage to find the description for .tim files. Can you help me with this? Thank you. Best regards, Lyuba

Re: [Solr 4.0] Is it possible to do soft commit from code and not configuration only

2012-04-12 Thread Lyuba Romanchuk
ed to try to do soft commit after adding documents with "not-main" type from code. I searched in wiki documents but found only commit without parameters and commit with parameters that don't seem to be what I need. Best regards, Lyuba * * * * On Thu, Apr 12, 2012 at 6:55 PM, Mark

[Solr 4.0] Is it possible to do soft commit from code and not configuration only

2012-04-12 Thread Lyuba Romanchuk
Hi, I need to configure the solr so that the opened searcher will see a new document immidiately after it was adding to the index. And I don't want to perform commit each time a new document is added. I tried to configure maxDocs=1 under autoSoftCommit in solrconfig.xml but it didn't help. Is

[Solr 4.0] soft commit with API of Solr 4.0

2012-04-10 Thread Lyuba Romanchuk
Hi All, Is there way to perform soft commit from code in Solr 4.0 ? Is it possible only from solrconfig.xml through enabling autoSoftCommit with maxDocs and/or maxTime attributes? Thank you in advance. Best regards, Lyuba

Re: [Solr 3.5] Facets and stats become a lot slower during concurrent inserts

2011-12-27 Thread Lyuba Romanchuk
AM, Lyuba Romanchuk > wrote: > > I test facets and stats in Solr 3.5 and I see that queries are running a > > lot slower during inserts into index with more than 15M documents . > > Are you also doing commits (or have autocommit enabled)? > The first time a facet command

[Solr 3.5] Facets and stats become a lot slower during concurrent inserts

2011-12-27 Thread Lyuba Romanchuk
Hi, I test facets and stats in Solr 3.5 and I see that queries are running a lot slower during inserts into index with more than 15M documents . If I stop to insert new documents facet/stats queries run 10-1000 times faster than with concurrent inserts. I don't see this degradation in Lucene. Cou