LuceneToManticoreSql 0.0.1.1

dotnet add package LuceneToManticoreSql --version 0.0.1.1
                    
NuGet\Install-Package LuceneToManticoreSql -Version 0.0.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LuceneToManticoreSql" Version="0.0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LuceneToManticoreSql" Version="0.0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="LuceneToManticoreSql" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LuceneToManticoreSql --version 0.0.1.1
                    
#r "nuget: LuceneToManticoreSql, 0.0.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LuceneToManticoreSql@0.0.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LuceneToManticoreSql&version=0.0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=LuceneToManticoreSql&version=0.0.1.1
                    
Install as a Cake Tool

LuceneToManticoreSql

This package is used to convert lucene to manticore sql.

Install From Nuget

dotnet add package LuceneToManticoreSql --version 0.0.1

Features

This package only has one static method which you can access by using

  • getWhereClause
LuceneToSql.getWhereClause(<luceneQuery>) //resturns strign containing where clause part of manticore sql

Few examples of query translations are as below

  • Lucene Query is →
(title:"foo bar" AND body:"quick fox") OR title:fox

Manticore where clause is →

(log_json.title='foo bar' AND log_json.body='quick fox') OR log_json.title='fox'
  • Lucene Query is →
title:"foo"

Manticore where clause is →

log_json.title='foo'
  • Lucene Query is →
title:foo -title:bar

Manticore where clause is →

log_json.title='foo' AND  NOT log_json.title='bar'
  • Lucene Query is →
title:foo*

Manticore where clause is →

REGEX(log_json.title,'foo*')
  • Lucene Query is →
title:foo*bar

Manticore where clause is →

REGEX(log_json.title,'foo*bar')
  • Lucene Query is →
mod_date:[20020101 TO 20030101]

Manticore where clause is →

log_json.mod_date BETWEEN 20020101 AND 20030101
  • Lucene Query is →
title:foo

Manticore where clause is →

log_json.title='foo'
  • Lucene Query is →
zipcode:7

Manticore where clause is →

log_json.zipcode= 7
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.1.1 221 7/22/2023
0.0.1 240 12/6/2022