javasoze / clue Goto Github PK
View Code? Open in Web Editor NEWcommand line tool for Apache Lucene
License: Apache License 2.0
command line tool for Apache Lucene
License: Apache License 2.0
reconstruct document from index fields
lucene upgrade
Similar to mysqldump
Consider using airline: https://github.com/airlift/airline
print out the following commands:
min docid,
max docid,
density: docFreq / (maxdoc-mindocid)
docid->percentile, e.g. which docid represents percent of docs visited
histogram
Hi thanks for this tool!
Is it possible to inspect deleted docs with this?
I see a __soft_deletes
field in my index, but it doesn't appear to be indexed or stored.
Adding mechanism for providing custom implementations, e.g. IndexReader factory, query builder etc.
I want to do a fuzzy grep on a collection of files.
It is my impression that Lucene is a decent searcher even for approximate searches.
So I would really love an example of:
Given your car example I can probably botch something together, but I have the feeling that if the input is a list of files then there will be a much cleaner implementation than converting all those files into a single JSON file.
Maybe CLue could be extended to also being able to do 'doc.add' from the command line?
support for view norm values on a field
Terms and Payloads are stored as BytesRef
It would be useful to make printing these BytesRef configurable.
the info command is not listing all fiends
Exception in thread "main" org.apache.lucene.index.IndexFormatTooNewException: Format version is not supported (resource BufferedChecksumIndexInput(MMapIndexInput(path="index/_17p.cfs") [slice=_17p.fnm])): 2 (needs to be between 0 and 1) at org.apache.lucene.codecs.CodecUtil.checkHeaderNoMagic(CodecUtil.java:216) at org.apache.lucene.codecs.CodecUtil.checkHeader(CodecUtil.java:198) at org.apache.lucene.codecs.CodecUtil.checkIndexHeader(CodecUtil.java:255) at org.apache.lucene.codecs.lucene60.Lucene60FieldInfosFormat.read(Lucene60FieldInfosFormat.java:117) at org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:108) at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:82) at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:65) at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:57) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:688) at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:80) at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:63) at io.dashbase.clue.api.DefaultIndexReaderFactory.refreshReader(DefaultIndexReaderFactory.java:27) at io.dashbase.clue.api.DefaultIndexReaderFactory.initialize(DefaultIndexReaderFactory.java:19) at io.dashbase.clue.ClueContext.<init>(ClueContext.java:74) at io.dashbase.clue.ClueApplication.newContext(ClueApplication.java:38) at io.dashbase.clue.ClueApplication.<init>(ClueApplication.java:48) at io.dashbase.clue.ClueApplication.main(ClueApplication.java:121) Suppressed: org.apache.lucene.index.CorruptIndexException: checksum passed (8d57aea2). possibly transient resource issue, or a Lucene or JVM bug (resource=BufferedChecksumIndexInput
allow clue to directly interact with indexes on hdfs, e.g.
clue.sh hdfs:///index/myidx@/etc/hadoop/config/mycfg
Consider use jsch for writing a SshDirectory:
http://www.jcraft.com/jsch/examples/
support term vectors
Currently only support numeric docvalues. Lucene 4.3 now supports more docvalue types, we should have support for them.
Add support for explain.
Fresh build, ran mvn package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for io.dashbase.clue:clue:jar:7.6.0-2.0.0
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.lucene:lucene-backward-codecs:jar -> duplicate declaration of version ${lucene.version} @ line 151, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] -----------------------< io.dashbase.clue:clue >------------------------
[INFO] Building clue 7.6.0-2.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ clue ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ clue ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ clue ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/doug/dev/clue/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ clue ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ clue ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ clue ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.855 s
[INFO] Finished at: 2019-08-28T14:08:44-07:00
[INFO] ------------------------------------------------------------------------
Then ran:
./bin/build_sample_index.sh my-idx
Error: Unable to initialize main class io.dashbase.clue.test.BuildSampleIndex
Caused by: java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer
Using OpenJDK 1.11
add support for parsing and printing when dealing with numeric fields
The current released version only reads Lucene 5.0 indexes and not 5.4.
So I built master, figuring that Lucene 6 does support 5.4, but it turns out that it refuses to read it because it hasn't included the backwards compatibility jar.
Exception in thread "main" java.lang.IllegalArgumentException: Could not load codec 'Lucene54'. Did you forget to add lucene-backward-codecs.jar?
allow users to be able to page in interactive mode for documents with large number of terms or postings.
currently we are not showing offsets in the postings command
Hi, by analyzing your dependency tree in pom file and source code, we found that there are conflicting classes in io.dashbase.clue:clue:6.6.2-1.0.0. This means that several classes with the same names in different JARs, but they have different implementations.
Conflicting jar-pair: commons-beanutils: commons-beanutils-core :1.8.0:><commons-beanutils:commons-beanutils:1.7.0:
JVM only load the classes present first on the classpath and shadow the other duplicate ones. So in different runnning evironment, if the dependency order of classpath reverses, then the program behaviors will be unpredictable. In extreme cases, the feature set in acturally loaded classes maybe the subset of the feature set really required by your project (frequent occurrences). In this scenario, NoSuchMethodError or NoSuchMethodExceptions may occur at runtime. Please pay attention about that. The conflicting details are listed below. Hope this can help you. Thank! ^_^
===============projectPath->io.dashbase.clue:clue:6.6.2-1.0.0@D:\ws\release\clue-release-6.6.2-1.0.0\pom.xml
Risk for jar-pair:commons-beanutils:commons-beanutils-core:1.8.0:commons-beanutils:commons-beanutils:1.7.0:
a) Methods that only exist in commons-beanutils:commons-beanutils-core:1.8.0:: [io.dashbase.clue:clue:6.6.2-1.0.0:->org.apache.hadoop:hadoop-common:2.7.2:->commons-configuration:commons-configuration:1.6:->commons-beanutils:commons-beanutils-core:1.8.0:]
<org.apache.commons.beanutils.BasicDynaBean: java.util.Map getMap()>
<org.apache.commons.beanutils.BeanUtils: boolean initCause(java.lang.Throwable,java.lang.Throwable)>
<org.apache.commons.beanutils.BeanUtils: boolean getCacheFast(java.util.Map)>
<org.apache.commons.beanutils.BeanUtils: java.util.Map createCache()>
<org.apache.commons.beanutils.BeanUtils: void setCacheFast(java.util.Map,boolean)>
<org.apache.commons.beanutils.BeanUtilsBean: boolean initCause(java.lang.Throwable,java.lang.Throwable)>
<org.apache.commons.beanutils.BeanUtilsBean: java.lang.reflect.Method getInitCauseMethod()>
<org.apache.commons.beanutils.BeanUtilsBean: void (org.apache.commons.beanutils.ConvertUtilsBean)>
<org.apache.commons.beanutils.BeanUtilsBean: java.lang.Object convert(java.lang.Object,java.lang.Class)>
<org.apache.commons.beanutils.ConvertUtils: java.lang.Object convert(java.lang.Object,java.lang.Class)>
<org.apache.commons.beanutils.ConvertUtils: org.apache.commons.beanutils.Converter lookup(java.lang.Class,java.lang.Class)>
<org.apache.commons.beanutils.ConvertUtilsBean: void registerStandard(boolean,boolean)>
<org.apache.commons.beanutils.ConvertUtilsBean: void register(boolean,boolean,int)>
<org.apache.commons.beanutils.ConvertUtilsBean: void registerPrimitives(boolean)>
<org.apache.commons.beanutils.ConvertUtilsBean: void registerOther(boolean)>
<org.apache.commons.beanutils.ConvertUtilsBean: void registerArrays(boolean,int)>
<org.apache.commons.beanutils.ConvertUtilsBean: void registerArrayConverter(java.lang.Class,org.apache.commons.beanutils.Converter,boolean,int)>
<org.apache.commons.beanutils.ConvertUtilsBean: org.apache.commons.beanutils.Converter lookup(java.lang.Class,java.lang.Class)>
<org.apache.commons.beanutils.ConvertUtilsBean: java.lang.Object convert(java.lang.Object,java.lang.Class)>
<org.apache.commons.beanutils.DynaProperty: int hashCode()>
<org.apache.commons.beanutils.DynaProperty: boolean equals(java.lang.Object)>
<org.apache.commons.beanutils.JDBCDynaClass: java.lang.String getColumnName(java.lang.String)>
<org.apache.commons.beanutils.JDBCDynaClass: java.lang.Object getObject(java.sql.ResultSet,java.lang.String)>
<org.apache.commons.beanutils.LazyDynaBean: org.apache.commons.logging.Log logger()>
<org.apache.commons.beanutils.LazyDynaMap: java.util.Map getMap()>
<org.apache.commons.beanutils.MappedPropertyDescriptor: java.lang.reflect.Method internalGetMethod(java.lang.Class,java.lang.String,int)>
<org.apache.commons.beanutils.MappedPropertyDescriptor: java.lang.Class[] access$100()>
<org.apache.commons.beanutils.MappedPropertyDescriptor: java.lang.reflect.Method getMethod(java.lang.Class,java.lang.String,int)>
<org.apache.commons.beanutils.MappedPropertyDescriptor: java.lang.reflect.Method getMethod(java.lang.Class,java.lang.String,java.lang.Class[])>
<org.apache.commons.beanutils.MethodUtils: java.lang.reflect.Method getAccessibleMethod(java.lang.Class,java.lang.reflect.Method)>
<org.apache.commons.beanutils.MethodUtils: java.lang.reflect.Method getCachedMethod(org.apache.commons.beanutils.MethodUtils$MethodDescriptor)>
<org.apache.commons.beanutils.MethodUtils: int clearCache()>
<org.apache.commons.beanutils.MethodUtils: java.lang.Object invokeStaticMethod(java.lang.Class,java.lang.String,java.lang.Object[],java.lang.Class[])>
<org.apache.commons.beanutils.MethodUtils: java.lang.Object invokeExactStaticMethod(java.lang.Class,java.lang.String,java.lang.Object)>
<org.apache.commons.beanutils.MethodUtils: float getTotalTransformationCost(java.lang.Class[],java.lang.Class[])>
<org.apache.commons.beanutils.MethodUtils: void setCacheMethods(boolean)>
<org.apache.commons.beanutils.MethodUtils: java.lang.Object invokeExactStaticMethod(java.lang.Class,java.lang.String,java.lang.Object[],java.lang.Class[])>
<org.apache.commons.beanutils.MethodUtils: void cacheMethod(org.apache.commons.beanutils.MethodUtils$MethodDescriptor,java.lang.reflect.Method)>
<org.apache.commons.beanutils.MethodUtils: java.lang.Object invokeExactStaticMethod(java.lang.Class,java.lang.String,java.lang.Object[])>
<org.apache.commons.beanutils.MethodUtils: java.lang.Object invokeStaticMethod(java.lang.Class,java.lang.String,java.lang.Object)>
<org.apache.commons.beanutils.MethodUtils: float getObjectTransformationCost(java.lang.Class,java.lang.Class)>
<org.apache.commons.beanutils.MethodUtils: java.lang.reflect.Method getAccessibleMethodFromSuperclass(java.lang.Class,java.lang.String,java.lang.Class[])>
<org.apache.commons.beanutils.MethodUtils: java.lang.Object invokeStaticMethod(java.lang.Class,java.lang.String,java.lang.Object[])>
<org.apache.commons.beanutils.MethodUtils: void setMethodAccessible(java.lang.reflect.Method)>
<org.apache.commons.beanutils.PropertyUtilsBean: java.lang.reflect.Method getWriteMethod(java.lang.Class,java.beans.PropertyDescriptor)>
<org.apache.commons.beanutils.PropertyUtilsBean: org.apache.commons.beanutils.expression.Resolver getResolver()>
<org.apache.commons.beanutils.PropertyUtilsBean: void setResolver(org.apache.commons.beanutils.expression.Resolver)>
<org.apache.commons.beanutils.PropertyUtilsBean: java.lang.reflect.Method getReadMethod(java.lang.Class,java.beans.PropertyDescriptor)>
<org.apache.commons.beanutils.PropertyUtilsBean: void setPropertyOfMapBean(java.util.Map,java.lang.String,java.lang.Object)>
<org.apache.commons.beanutils.PropertyUtilsBean: java.lang.Object getPropertyOfMapBean(java.util.Map,java.lang.String)>
<org.apache.commons.beanutils.PropertyUtilsBean: void ()>
<org.apache.commons.beanutils.ResultSetDynaClass: java.lang.Object getObjectFromResultSet(java.lang.String)>
<org.apache.commons.beanutils.WrapDynaClass: java.lang.Class getBeanClass()>
<org.apache.commons.beanutils.WrapDynaClass: java.util.Map access$000()>
<org.apache.commons.beanutils.WrapDynaClass: java.util.Map getDynaClassesMap()>
<org.apache.commons.beanutils.converters.AbstractArrayConverter: void (java.lang.Object)>
<org.apache.commons.beanutils.converters.BigDecimalConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.BigDecimalConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.BigIntegerConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.BigIntegerConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.BooleanArrayConverter: void (org.apache.commons.beanutils.converters.BooleanConverter,java.lang.Object)>
<org.apache.commons.beanutils.converters.BooleanArrayConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.BooleanConverter: void (java.lang.String[],java.lang.String[],java.lang.Object)>
<org.apache.commons.beanutils.converters.BooleanConverter: void ()>
<org.apache.commons.beanutils.converters.BooleanConverter: java.lang.String[] copyStrings(java.lang.String[])>
<org.apache.commons.beanutils.converters.BooleanConverter: void (java.lang.String[],java.lang.String[])>
<org.apache.commons.beanutils.converters.BooleanConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.BooleanConverter: java.lang.Object convertToType(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.BooleanConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.ByteConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.ByteConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.CharacterConverter: java.lang.Object convertToType(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.CharacterConverter: java.lang.String convertToString(java.lang.Object)>
<org.apache.commons.beanutils.converters.CharacterConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.CharacterConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.ClassConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.ClassConverter: java.lang.String convertToString(java.lang.Object)>
<org.apache.commons.beanutils.converters.ClassConverter: java.lang.Object convertToType(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.DoubleConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.DoubleConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.FileConverter: java.lang.Object convertToType(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.FileConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.FileConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.FloatConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.FloatConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.IntegerConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.IntegerConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.LongConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.LongConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.ShortConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.ShortConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.SqlDateConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.SqlDateConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.SqlTimeConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.SqlTimeConverter: java.text.DateFormat getFormat(java.util.Locale,java.util.TimeZone)>
<org.apache.commons.beanutils.converters.SqlTimeConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.SqlTimestampConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.SqlTimestampConverter: java.text.DateFormat getFormat(java.util.Locale,java.util.TimeZone)>
<org.apache.commons.beanutils.converters.SqlTimestampConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.StringConverter: void (java.lang.Object)>
<org.apache.commons.beanutils.converters.StringConverter: java.lang.Object convertToType(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.StringConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.StringConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.URLConverter: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.converters.URLConverter: java.lang.Class getDefaultType()>
<org.apache.commons.beanutils.converters.URLConverter: java.lang.Object convertToType(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.locale.converters.BigDecimalLocaleConverter: java.lang.Object parse(java.lang.Object,java.lang.String)>
<org.apache.commons.beanutils.locale.converters.BigIntegerLocaleConverter: java.lang.Object parse(java.lang.Object,java.lang.String)>
<org.apache.commons.beanutils.locale.converters.DateLocaleConverter: java.lang.String convertLocalizedPattern(java.lang.String,java.util.Locale)>
<org.apache.commons.beanutils.locale.converters.DateLocaleConverter: java.lang.String convertPattern(java.lang.String,java.lang.String,java.lang.String)>
<org.apache.commons.beanutils.locale.converters.DateLocaleConverter: java.lang.String initDefaultChars()>
<org.apache.commons.beanutils.locale.converters.LongLocaleConverter: java.lang.Object parse(java.lang.Object,java.lang.String)>
<org.apache.commons.beanutils.locale.converters.ShortLocaleConverter: java.lang.Object parse(java.lang.Object,java.lang.String)>
b) Methods that only exist in commons-beanutils:commons-beanutils:1.7.0:: [io.dashbase.clue:clue:6.6.2-1.0.0:->org.apache.hadoop:hadoop-common:2.7.2:->commons-configuration:commons-configuration:1.6:->commons-digester:commons-digester:1.8:->commons-beanutils:commons-beanutils:1.7.0:]
<org.apache.commons.beanutils.BeanUtilsBean: int findLastNestedIndex(java.lang.String)>
<org.apache.commons.beanutils.MappedPropertyDescriptor: boolean throwsException(java.lang.reflect.Method,java.lang.Class)>
<org.apache.commons.beanutils.MappedPropertyDescriptor: java.lang.reflect.Method[] getPublicDeclaredMethods(java.lang.Class)>
<org.apache.commons.beanutils.MappedPropertyDescriptor: boolean isSubclass(java.lang.Class,java.lang.Class)>
<org.apache.commons.beanutils.MappedPropertyDescriptor: java.lang.reflect.Method findMethod(java.lang.Class,java.lang.String,int)>
<org.apache.commons.beanutils.MappedPropertyDescriptor: java.lang.reflect.Method findMethod(java.lang.Class,java.lang.String,int,java.lang.Class[])>
<org.apache.commons.beanutils.MappedPropertyDescriptor: java.lang.reflect.Method internalFindMethod(java.lang.Class,java.lang.String,int,java.lang.Class[])>
<org.apache.commons.beanutils.MappedPropertyDescriptor: java.lang.reflect.Method internalFindMethod(java.lang.Class,java.lang.String,int)>
<org.apache.commons.beanutils.PropertyUtilsBean: int findNextNestedIndex(java.lang.String)>
<org.apache.commons.beanutils.converters.BigDecimalConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.BigIntegerConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.BooleanConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.ByteConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.CharacterConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.ClassConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.DoubleConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.FileConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.FloatConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.IntegerConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.LongConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.ShortConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.SqlDateConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.SqlTimeConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.SqlTimestampConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.StringConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.converters.URLConverter: java.lang.Object convert(java.lang.Class,java.lang.Object)>
<org.apache.commons.beanutils.locale.BaseLocaleConverter: void ()>
<org.apache.commons.beanutils.locale.LocaleBeanUtils: void ()>
<org.apache.commons.beanutils.locale.LocaleBeanUtils: java.lang.Class class$(java.lang.String)>
<org.apache.commons.beanutils.locale.converters.DateLocaleConverter: java.text.SimpleDateFormat getFormatter(java.lang.String,java.util.Locale)>
<org.apache.commons.beanutils.locale.converters.DecimalLocaleConverter: void ()>
<org.apache.commons.beanutils.locale.converters.StringLocaleConverter: void ()>
Norm can be of other types.
support stored fields
e.g. commons-cli
Reviewing the code here, it appears that number of results is hard coded to 10, it'd be nice to page through the results, and get larger result sets.
reference:
thanks
There are newer versions of Lucene with many new features, notably the ones introduced in the 9.X releases.
Given that there the 2 major versions (8.X and 9.X) have different JDK requirements, it would be good to support both in Clue. For instance, we can follow the 2 branch pattern from the Lucene repository itself, where the main branch tracks the most recent release and the 8
branch keeps compatibility for that specific version.
I've started to implement those changes in a fork:
https://github.com/cavorite/clue
I'd like to keep working on it and add new features. For example, using config files for the field types and analyzers used, as well as special commands for other types of queries and fields (such as kNN for vectors, and completion mode for the 'suggest' fields). I would make those changes into my fork for now, but it would be good to contribute them to the main project as well.
Let me know if you're OK with this idea and if you have suggestions for contributing back to Clue.
Incorporate functionality in lucene-facet package
not sure if this is possible, it would be nice to pipe between commands
e.g.
search query | docval
allow capability for clients to plugin custom components, e.g. query parsing, indexreader factory etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.