首页 \ 问答 \ 如何安装linux的桌面?

如何安装linux的桌面?

我装了linux系统,可是无法进入,好像是没装桌面,怎么装呢?
更新时间:2023-09-10 16:09

最新回答

一、插件准备
网上有介绍说可以直接用plugin -install medcl/elasticsearch-analysis-ik的办法,但是我执行下来的效果只是将插件的源码下载下来,elasticsearch只是将其作为一个_site插件看待。
所以只有执行maven并将打包后的jar文件拷贝到上级目录。(否则在定义mapping的analyzer的时候会提示找不到类的错误)。
由于ik是基于字典的分词,所以还要下载ik的字典文件,在medcl的elasticsearch-rtf中有,可以通过这个地址下载:
ElasticSearch是一个基于Lucene的稳定的、分布式、RESTFul的搜索引擎。其实所谓的RestFul就是它提供URL供你调用(建立索引和进行检索),不过直接这样使用实在是太凶残了。所以,它也提供了一系列client包,相当于将curl请求封装了

相关问答

更多
  • 您可以使用针对中文和日文的单独分析器进行索引编制。 对于韩国人来说,他们还没有添加分析仪。 对于中文,您需要安装smartcn-sentence插件并添加到您的映射中。 您可以在smartscn-analyzer中找到smartcn-analyzer 对于日语,您需要安装Kuromoji插件。 你可以在这里找到kuromoji分析仪Kuromoji-analyzer You can do the indexing with separate analyzers for Chinese and Japanes ...
  • 这里是正确的聚合查询(提示:你需要使用reverse_nested跳出嵌套上下文到父节点) { "aggs": { "members": { "nested": { "path": "members" }, "aggs": { "language": { "terms": { "field": "members.language" }, "agg ...
  • WHERE子句只是标准的结构化查询,因此它们转换为Elasticsearch中的查询。 GROUP BY和HAVING松散地转换为Elasticsearch的DSL中的聚合。 count , min max和sum等函数是GROUP BY的函数,因此它也是一个聚合。 您可能需要使用nested对象这一事实,但它会为每个接触它们的部件添加额外的图层。 如果那些nested对象不是数组,那么不要使用nested ; 在这种情况下使用object 。 我可能会将您的查询翻译为: { "query": { ...
  • 问题在于title字段被声明为一个string并且您正尝试访问title.en子字段,就像您在title和object字段中所做的那样。 你需要像这样改变你的映射,然后它会工作: { "mappings": { "title": { "properties": { "title": { "type": "object", <--- change this "properties": { ...
  • 这是我可以想出在ElasticSearch中进行搜索的最简单方法: def search(self, index=None, **kwargs): """ This will use the & syntax with all the kwargs provided. For example: es.search(name="margin", id=4) ==> ?name=margin&id=4. Use as a simplified search to gut che ...
  • 对于age匹配,您可以使用term Query 。 术语查询查找完全匹配。 { "query": { "term": { "age": "25" } } } For age matching you can use term Query. Term Query looks for exact match. { "query": { "term": { "age": "25" } } }
  • query = { "query": {"query_string": {"query": "%s" % q}}, "facets": {"destination": { "terms": {"field": "destination.en"}}}} 为我工作 query = { "query": {"query_string": {"query": "%s" % q}}, "facets": {"destination": { ...
  • 机器对自然语言的理解是一个尚未解决的问题,也是一个活跃的研究领域,所以简短的答案是否定的,弹性研究无法理解人类语言。 NLP通常通过信息提取来进行语义(理解),信息提取是NLP内的子字段。 Elasticsearch是一个很好的工具,但它不是为信息提取而设计的 - 它最好被认为是一个带有一些额外功能的索引工具。 您可能对命名实体识别(NER)和概念识别更感兴趣,以回答您所描述的在Elasticsearch中支持最少的查询类型。 您提出的问题实际上是一个非常难以回答的问题,这就是为什么亚马逊在搜索笔记本电脑时 ...
  • 对于遇到同样问题的人:这里是关于如何使用Django / Haystack和ElasticSearch进行多语言词干的教程: 伸展Haystack的ElasticSearch后端 这是另一个教程,展示了基于Solr的类似实现: Django与Haystack的多语言搜索 For anybody coming across the same problem: Here's a tutorial on how to do multi-language stemming with Django/Haystack ...
  • 如此快速的免责声明,我不是词干/语言形态学的专家,但由于没有其他人回应,这是我的理解。 此外,我的大多数经验都与solr有关。 为了能够使用单个混合结果集查询多种语言,您需要使用多语言词干分析器。 我不确定弹性纤维有什么用。 尝试将针对单一语言设计的多个词干分析器应用于单个索引将踩到彼此的脚趾并且可能不会产生预期结果(词干规则根据语言而有很大差异)。 具有相应词干分析器的每种语言的索引适用于具有单一语言结果的查询。 尝试将来自多个查询的结果与多个索引相结合通常是相当成问题的(您必须尝试规范化相关性并处理分页 ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)