上一页 1 2 3 4 5 6 7 8 ··· 21 下一页
摘要: 2,向索引中写入数据 阅读全文
posted @ 2019-09-20 17:09 小啊菜鸡 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 简介 Elasticsearch(简称ES)是一个分布式、可扩展、实时的搜索与数据分析引擎。ES不仅仅只是全文搜索,还支持结构化搜索、数据分析、复杂的语言处理、地理位置和对象间关联关系等。 ES的底层依赖Lucene,Lucene可以说是当下最先进、高性能、全功能的搜索引擎库。但是Lucene仅仅只 阅读全文
posted @ 2019-09-20 16:35 小啊菜鸡 阅读(2702) 评论(0) 推荐(0) 编辑
摘要: 我们生活中的数据总体分为两种:结构化数据 和 非结构化数据。 结构化数据:也称作行数据,是由二维表结构来逻辑表达和实现的数据,严格地遵循数据格式与长度规范,主要通过关系型数据库进行存储和管理。指具有固定格式或有限长度的数据,如数据库,元数据等。 非结构化数据:又可称为全文数据,不定长或无固定格式,不 阅读全文
posted @ 2019-09-20 16:34 小啊菜鸡 阅读(6299) 评论(1) 推荐(1) 编辑
摘要: 1、term vector介绍 获取document中的某个field内的各个term的统计信息 term information: term frequency in the field, term positions, start and end offsets, term payloads term statistics: 设置term_statistics=true; total ... 阅读全文
posted @ 2019-06-08 14:54 小啊菜鸡 阅读(593) 评论(0) 推荐(0) 编辑
摘要: select deptno ,wm_concat(ename) from emp GROUP BY deptno;--行转列 阅读全文
posted @ 2019-06-07 17:10 小啊菜鸡 阅读(756) 评论(0) 推荐(0) 编辑
摘要: set serveroutput on; declare cursor c1 is select dno,dname from dep; pdno dep.dno%TYPE; pdname dep.dname%type; cursor c2(aa varchar2,bb number) is select grade from sc where cno=(select cno from... 阅读全文
posted @ 2019-06-07 16:53 小啊菜鸡 阅读(513) 评论(0) 推荐(0) 编辑
摘要: declare cursor cemp is select empno ,sal from emp order by sal; --定义参数 pempno emp.empno%type; psal emp.sal%type; countEmp number :=0; salTotal number; begin --得到工资总额的初始值 ... 阅读全文
posted @ 2019-06-07 16:30 小啊菜鸡 阅读(545) 评论(0) 推荐(0) 编辑
摘要: set serveroutput on DECLARE cursor cemp is select to_char(hiredate,'yyyy') from emp ; phiredate varchar2(8); count80 number :=0; count81 number:=0; count82 number:=0; count87 number:=0; begin ope... 阅读全文
posted @ 2019-06-07 16:10 小啊菜鸡 阅读(486) 评论(0) 推荐(0) 编辑
摘要: set serveroutput on DECLARE cursor cemp is select ename from emp where deptno=50; pename emp.ename%type; --自定义异常 no_emp_found exception; begin open cemp; fetch cemp into pename; if cemp%n... 阅读全文
posted @ 2019-06-07 12:43 小啊菜鸡 阅读(551) 评论(0) 推荐(0) 编辑
摘要: set serveroutput on DECLARE pename emp.ename%type; begin select ename into pename from emp where ename='1213'; exception when no_data_found then dbms_output.put_line('没有该数据'); when others th... 阅读全文
posted @ 2019-06-07 12:09 小啊菜鸡 阅读(296) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 21 下一页