Re: is there a way to remove deleted documents from index without optimize

2017-10-13 Thread Harry Yoo
egment, it writes the new segment >> according to the luceneMatchVersion in solrconfig.xml. So as long as you are >> on a version long enough for all segments to be merged into new segments, >> you don't have to worry. > > Best, > Erick > > On Thu, Oct 12, 201

Re: is there a way to remove deleted documents from index without optimize

2017-10-12 Thread Harry Yoo
I should have read this. My project has been running from apache solr 4.x, and moved to 5.x and recently migrated to 6.6.1. Do you think solr will take care of old version indexes as well? I wanted to make sure my indexes are updated with 6.x lucence version so that it will be supported when i m

Re: How to use DocValues with TextField

2016-02-18 Thread Harry Yoo
Thanks for the pointer. Please advise me how I can contribute. H > On Jan 27, 2016, at 2:16 AM, Toke Eskildsen wrote: > > Erick Erickson wrote: >> DocValues was designed to support unanalyzed types >> originally. I don't know that code, but given my respect >> for the people who wrote I'd be

Re: How to use DocValues with TextField

2016-02-18 Thread Harry Yoo
t; indexed=true and docValues=true I get _two_ sets of date indexed. > > Best, > Erick > > On Tue, Jan 26, 2016 at 8:50 AM, Harry Yoo wrote: >> Hi, I actually needed this functionality for a long time and I made up an >> extended data type to work around. >>

Re: How to use DocValues with TextField

2016-01-26 Thread Harry Yoo
Hi, I actually needed this functionality for a long time and I made up an extended data type to work around. In my use case, I need a case-insensitive search for a relatively short string and at the same time, I need faceting on the original string. For example, “Human, Home sapiens’ is an ori

Re: serious JSON Facet bug

2015-07-27 Thread Harry Yoo
yes, I see the problem on my production solr. I set 10,240 as max and I see the current size is 228,940. x22 bigger than max. > On Jul 23, 2015, at 8:43 PM, Yonik Seeley wrote: > > On Thu, Jul 23, 2015 at 5:00 PM, Harry Yoo wrote: >> Is there a way to patch? I am using 5.2.1

Re: serious JSON Facet bug

2015-07-23 Thread Harry Yoo
Is there a way to patch? I am using 5.2.1 and using json facet in production. > On Jul 16, 2015, at 1:43 PM, Yonik Seeley wrote: > > To anyone using the JSON Facet API in released Solr versions: > I discovered a serious memory leak while doing performance benchmarks > (see http://yonik.com/facet

Re: Best way to facets with value preprocessing (w/ docValues)

2015-07-14 Thread Harry Yoo
I had a same issue and here is my solution. Basically, option #1 that Konstantin suggested, public class TextDocValueField extends TextField { @Override public List createFields(SchemaField field, Object value, float boost) { if (field.hasDocValues()) { List fields = new ArrayList