对NetCDF文件的Solr索引支持?(Solr indexing support for NetCDF files?)
我是Solr和NetCDF的新手,我正在开展一个远远超出我的专业领域的项目。 所以我不知道在哪里寻找最好的信息。 我目前有一个安装设置,现在我正在浏览目录和配置文件以熟悉。 虽然我找到了一些资源和教程,让我对如何使用Solr有了一般性的了解,但我不知道如何翻译这些特定于使用NetCDF的信息。
是否有任何指南,书籍或资源提供我的案例特定信息? Solr / Lucene甚至自己支持NetCDF索引吗? 如果您有任何意见/建议/意见,我将不胜感激。
提前致谢!
I am brand new to Solr and NetCDF, and am working on a project that is very much out of my realm of expertise. So I don't know where to look for the best information. I currently have an installation setup and for now I am browsing the directories and configuration files to get familiar. Although I found a few resources and tutorials that have given me a general understanding of how to work with Solr, I do not know how to translate this information specific to working with NetCDF.
Are there any guides, books, or resources that provide information specific to my case? Does Solr/Lucene even support NetCDF indexing by itself? I would appreciate any advice/suggestions/input you might have.
Thanks in advance!
原文:https://stackoverflow.com/questions/31345204
最满意答案
最简单的方法是不要将Utilities设为类,除非有一些原因需要创建它的实例。 由于本质上您的实用程序函数是一个没有共同主题的松散集合,因此没有理由尝试强制使用面向对象的范例。 (与Java不同,在基于C的语言中,并非所有内容都必须在类中。)只需将它们定义为传统的C样式函数,并将其称为它们。 如果你真的想在不是对象的东西上使用括号表示法并且不属于任何应该是类的东西,那么你可以像其他人建议的那样使用+表示法。
The easiest way is to not make Utilities a class, unless there is some reason why you need to create instances of it. Since by nature your utility functions are a loose collection with no common theme, there's no reason to try to force an object-oriented paradigm on them. (Unlike Java, in C based languages, not everything has to be in a class.) Just define them as traditional C style functions, and call them as such. If you really want to use the bracket notation on something that isn't an object and doesn't belong to anything that should be a class, then you can use the + notation as others have suggested.
相关问答
更多-
config.namespace :admin do |admin| admin.build_menu :utility_navigation do |menu| menu.add :label => proc{ display_name current_active_admin_user }, :url => proc{ edit_admin_admin_user_path(current_active_admin_user) ...
-
Cocoa实用工具类(Cocoa Utility Class)[2023-03-26]
最简单的方法是不要将Utilities设为类,除非有一些原因需要创建它的实例。 由于本质上您的实用程序函数是一个没有共同主题的松散集合,因此没有理由尝试强制使用面向对象的范例。 (与Java不同,在基于C的语言中,并非所有内容都必须在类中。)只需将它们定义为传统的C样式函数,并将其称为它们。 如果你真的想在不是对象的东西上使用括号表示法并且不属于任何应该是类的东西,那么你可以像其他人建议的那样使用+表示法。 The easiest way is to not make Utilities a class, ... -
我不久前编写了这种类型的实用程序,您需要完成的工作正处于正确的轨道上。 这里有一些代码可以帮助您入门。 它适用于所有.Net项目(VS 2003 - VS 2008),包括部署项目: //get list of all files to be edited/removed SlnFiles = new List
(SelectedDir.GetFiles("*.sln", SearchOption.AllDirectories)); Proj ... -
Cocoa - 捕获鼠标就像screencapture实用程序一样(Cocoa - capture mouse just like screencapture utility)[2022-12-07]
事实证明,使用CGEventTap并在将鼠标事件分发到任何应用程序之前控制鼠标事件。 不幸的是,如果你有一个沙盒应用程序,那么你不能使用CGEventTap。 任何人都知道是否有办法获得与沙盒相同的功能? Turns out that using CGEventTap and controlling mouse events before they are distributed to any app works. Unfortunately if you have a Sandboxed app then ... -
使用Nexus。 它提供了一个其他团队可以用来下载工件的Web界面。 http://nexus.sonatype.org/ Use Nexus. It provides a web interface that other teams can use to download artifacts. http://nexus.sonatype.org/
-
函数的实用类(Utility class for functions)[2022-05-16]
您需要与IIFE一起使用不同的语法,但我认为这是一个很好的做法 var Utils = (function(){ return { test: function () { ... }, test1: function () { ... } ... } }()) You need different syntax to work with an IIFE, but I believe it is good practise to do so var Utils = (func ... -
sorted的key属性如下所述工作: key指定一个参数的函数,该参数用于从每个列表元素提取比较键:key = str.lower。 默认值是None(直接比较元素)。 对dict每个项目sorted调用key的函数,以计算排序后的输出。 该实用程序是让用户定义复杂的排序机制。 sorted's key attribute work as described bellow: key specifies a function of one argument that is used to extract a ...
-
我认为你看起来像WPF的现代UI 。 这个开源项目提供漂亮的控制布局漂亮。 一组控件和样式将您的WPF应用程序转换为一个美观的现代UI应用程序。 这个开源项目是XAML Spy的副产品,它是Silverlight,Windows Phone,Windows Store和WPF的可视化运行时检查器。 I think you are looking something like Modern UI for WPF. This open source project provides nice looking l ...
-
如果您只是想要抛出NPE ,最简单的方法可能是尝试创建一个Guava ImmutableCollection ,它要求所有元素都为非null(例如ImmutableList): ImmutableList.copyOf(collection); 至于检查空元素,番石榴有: boolean allNonNull = Iterables.all(collection, Predicates.notNull()); checkArgument(allNonNull, "collection had null e ...
-
尝试使用这样的grep : grep -F -x -v -f file2 file1 注意: -F FILE takes patterns from FILE -x match whole line -v show non-matching Try to use grep like this: grep -F -x -v -f file2 file1 Note that: -F FILE takes patterns from FILE -x match whole line -v show ...