自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 Solr.IndexWriter源码分析.7

2021SC@SDUSC/** 将段文件按原样复制到 IndexWriter 的目录中。 */ private SegmentCommitInfo copySegmentAsIs(SegmentCommitInfo info, String segName, IOContext context) throws IOException { // 与以前相同的 SI,但我们更改了目录和名称 SegmentInfo newInfo = new SegmentInfo(directo

2021-12-25 13:18:34 248

原创 Solr.AttributeSourcey源码分析

2021SC@SDUSC/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this f

2021-12-25 13:08:07 277

原创 Solr.AttributeImpl源码分析

2021SC@SDUSC/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this f

2021-12-25 13:00:58 279

原创 Solr.AttributeFactory源码分析

2021SC@SDUSC/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this f

2021-12-25 12:56:21 172

原创 Solr.IndexWriter源码分析.6

2021SC@SDUSC/** * 删除索引中的所有文档。 * * <p> * 此方法将删除所有缓冲的文档并删除所有段 * 来自索引。直到 {@link #commit()} * 已被调用。可以使用 {@link #rollback()} 回滚此方法。 * </p> * * <p> * 注意:此方法比使用 deleteDocuments( new * MatchAllDocsQuery() )。然而,这种方

2021-12-25 12:50:50 331

原创 Solr.IndexWriter源码分析.5

2021SC@SDUSC/** * 将文档的 DocValues 字段更新为给定的值。 每场更新应用于与 * {@link Term} 到相同的值。 所有更新都以原子方式应用,并且 * 冲在一起。 如果文档值字段数据为 <code>null</code> 现有的 * 值从与该术语匹配的所有文档中删除。 * * * @param updates * the updates to apply * *

2021-12-25 12:45:21 303

原创 Solr.IndexWriter源码分析.4

2021SC@SDUSC

2021-12-09 20:38:50 97

原创 Solr.IndexWriter源码分析.3

2021SC@SDUSC

2021-12-09 20:38:03 101

原创 Solr.IndexWriter源码分析.2

2021SC@SDUSC

2021-12-09 20:36:29 275

原创 Solr.IndexWriter源码分析.1

2021SC@SDUSC

2021-12-09 20:34:50 101

原创 Solr.Field源码分析

2021SC@SDUSC

2021-12-09 20:34:13 90

原创 Solr.Document源码分析

2021SC@SDUSC/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this f

2021-10-17 23:53:31 126

原创 Solr.分词器总览

2021SC@SDUSC 分词器概述代码分析代码概述TokenStream抽象类中的import包分析分词器概述首先我们需要明确的是Solr 是一个基于 Apache Lucene 之上的搜索服务器,这也意味着Lucene相当于solr的底层,Solr中的源代码包含着Lucene的源代码,所以本次博客首先分析的代码为Lucene中analyzer的代码。所谓Analyzer就是词法分析器,分词器。分词器是Lucene以及Solr中极其重要的一个部分,在创建索引时需要分词器,在检索时同样需要分词器,

2021-10-10 21:38:12 1160 3

原创 Solr综述

2021SC@SDUSC项目名称:SolrSolr简单介绍:Solr 是一个基于 Apache Lucene 之上的搜索服务器,它是一个开源的、基于 Java 的信息检索库。它旨在驱动功能强大的文档检索应用程序 - 无论您需要根据用户的查询将数据服务到何处,Solr 都可以为您服务。安装说明:Solr 可从 Solr 网站获取。您可以在此下载最新版本的Solr:https://lucene.apache.org/solr/mirrors-solr-latest-redir.html。

2021-09-30 20:03:27 119

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除