Examples we find on web are usually to import csv files into Solr, here I want to to show how to import CSV string into Solr. Why we want to import CSV string? 1 Compared to importing csv files: importing csv string would be much faster, as no unnecessary I...
The main logic is at solr.servlet.SolrRequestParsers.parse(SolrCore, String, HttpServletRequest) public SolrQueryRequest parse( SolrCore core, String path, HttpServletRequest req ) throws Exception
To reduce index size, we should try best to understand the application’s requirement, what each field means, what type it should be(for example, tlong or tint), what tokenizer or filter should be used, what what queries user may make. Indexed and Stored If ...
Part 3: Use Pack200 to Shrink Solr Application Size
Part 1: Shrink Solr Application Size Part 2: Use Proguard to Shrink Solr Application Size Part 3: Use Pack200 to Shrink Solr Application Size In order to continue to reduce the installation file, I decide to use pack200 to shrink jar size. Please refer to h...
It is important to write test cases to automate tests - even your company doesn't require to check in test cases, as it can save you a lot of time to rerun manual tests whenever you change something, also it's very common that you make some change, you thin...
Recently I am trying to package embedded jetty, solr.war, and solr.home in one package, and start and shut the embedded jetty server dynamically. About how to package embedded jetty, solr.war, and solr.home in one package, and reduce the size, please refer ...
Bug 422908 - [organize imports] Add 'Skip' to Organize Import dialog
It's very useful to be able to skip some classes when adding import.
Also when we select one class to import, the import statement should be added into code immediately. So we don't have to resolve all missing import in one operation.