All Projects → qiuhaotc → CodeIndex

qiuhaotc / CodeIndex

Licence: Apache-2.0 license
A Code Index Searching Tools Based On Lucene.Net

Programming Languages

C#
18002 projects
HTML
75241 projects

Projects that are alternatives of or similar to CodeIndex

bulksearch
Lightweight and read-write optimized full text search library.
Stars: ✭ 108 (+285.71%)
Mutual labels:  full-text-search, fulltext-search, searching
Flexsearch
Next-Generation full text search library for Browser and Node.js
Stars: ✭ 8,108 (+28857.14%)
Mutual labels:  full-text-search, fulltext-search, searching
planningpoker4azure
Planning Poker 4 Azure
Stars: ✭ 49 (+75%)
Mutual labels:  asp-net-core, blazor
Everywhere
🔧 A tool can really search everywhere for you.
Stars: ✭ 147 (+425%)
Mutual labels:  full-text-search, lucene
Home
Home for Blazor Extensions
Stars: ✭ 51 (+82.14%)
Mutual labels:  asp-net-core, blazor
Puck Core
Open source, cross platform .NET Core CMS. Fast, scalable, code-first, unobtrusive and extensible with powerful querying and Lucene integration.
Stars: ✭ 115 (+310.71%)
Mutual labels:  lucene, asp-net-core
ex elasticlunr
Elasticlunr is a small, full-text search library for use in the Elixir environment. It indexes JSON documents and provides a friendly search interface to retrieve documents.
Stars: ✭ 125 (+346.43%)
Mutual labels:  full-text-search, fulltext-search
blazor-tailwindcss-template
This template demostrates the integration of tailwindcss with blazor and covers important features like hot-reload and css isolation
Stars: ✭ 38 (+35.71%)
Mutual labels:  asp-net-core, blazor
BlazoredLocalStorage
This library has been moved to the Blazored org
Stars: ✭ 26 (-7.14%)
Mutual labels:  asp-net-core, blazor
TheLastTime
C# .NET 5 Blazor WebAssembly Progressive Web Application that tracks when was the last time you did something
Stars: ✭ 23 (-17.86%)
Mutual labels:  asp-net-core, blazor
silverstripe-searchable
Adds to default SilverStripe search with configurable FullTextSearch, custom results controller and allowing adding custom data objects and custom fields for searching via config
Stars: ✭ 13 (-53.57%)
Mutual labels:  fulltext-search, fulltextsearch
clucie
Clojure for the Lucene
Stars: ✭ 55 (+96.43%)
Mutual labels:  lucene, fulltext-search
Awesome Blazor
Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
Stars: ✭ 6,063 (+21553.57%)
Mutual labels:  asp-net-core, blazor
Fess
Fess is very powerful and easily deployable Enterprise Search Server.
Stars: ✭ 561 (+1903.57%)
Mutual labels:  full-text-search, lucene
Blazorise
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Bulma, AntDesign, and Material.
Stars: ✭ 2,103 (+7410.71%)
Mutual labels:  asp-net-core, blazor
Blazor-CRUD-With-CloudFirestore
Single Page Application (SPA) using Blazor with the help of Google Cloud Firestore as Database provider
Stars: ✭ 34 (+21.43%)
Mutual labels:  asp-net-core, blazor
BlazorWasmWithDocker
Companion code sample for my blog post - Containerising a Blazor WebAssembly App
Stars: ✭ 16 (-42.86%)
Mutual labels:  asp-net-core, blazor
ASPCore.BlazorCrud
CRUD Using Blazor And Entity Framework Core
Stars: ✭ 39 (+39.29%)
Mutual labels:  asp-net-core, blazor
XAF Security E4908
This repository contains examples for Role-based Access Control, Permission Management, and OData / Web / REST API Services for Entity Framework and XPO ORM
Stars: ✭ 47 (+67.86%)
Mutual labels:  asp-net-core, blazor
NodaTimePicker
A Date/Time picker component library for Blazor using NodaTime
Stars: ✭ 49 (+75%)
Mutual labels:  asp-net-core, blazor

Code Index

A fast full-text searching tools based on Lucene.Net

Feature

  1. Support multiple indexes
  2. Auto monitoring indexed files changes
  3. Support various search (etc: fuzzy, wildcard, case-sensitive) on file content, name, location, extension
  4. Support Docker
  5. Support Visual Studio

Demonstrate Site

https://codeindex.qhnetdisk.tk/

Guide

Run On Your Local

Config

Go to CodeIndex.Server => appsettings.json

LuceneIndex => To your local empty folder, this folder will be going to store the index files and configuration files.

ManagerUsers => Config the users name, id, password that can management the indexes.

"CodeIndex": {
  "LuceneIndex": "D:\\TestFolder\\Index",
  "IsInLinux": "false",
  "MaximumResults": 10000,
  "ManagerUsers": [
    {
      "Id": 1,
      "UserName": "Admin",
      "Password": "CodeIndex"
    }
  ]
}

Run Server

Set CodeIndex.Server as the start up project, compile the project

Run it via visual studio or bash

dotnet CodeIndex.Server.dll --urls "http://:5000;https://:5001"

Config Indexes

In this page, you can add/remove/delete and config the index folder you want to monitoring and searching.

Config Indexes

Doing Search

Search By Files

It will return the matched infos with highlight in the whole file

Search By Files

Search By Lines

It will return the matched infos with highlight and matched line number

Search By Lines

Run With Docker

Support docker container, Docker hub

Docker Command Format

docker pull qiuhaotc/codeindex
docker run -d --name codeindex -p 8080:80 -v "Your index folder":/luceneindex -v "Your code folder":/monitorfolder -v "Your logs folder":/app/Logs -e CodeIndex__MonitorFolderRealPath="Your real folder path" -e CodeIndex__ManagerUsers__0__UserName="Your Management User Name" -e CodeIndex__ManagerUsers__0__Password="Your Management Password" --restart=always qiuhaotc/codeindex
Example
docker pull qiuhaotc/codeindex
docker run -d --name codeindex -p 8080:80 -v /home/user/luceneindex:/luceneindex -v /home/user/codefolder:/monitorfolder -v /home/user/logs:/app/Logs -e CodeIndex__MonitorFolderRealPath="/home/user/codefolder" -e CodeIndex__ManagerUsers__0__UserName="Test" -e CodeIndex__ManagerUsers__0__Password="Dummy" --restart=always qiuhaotc/codeindex

Notice: in the docker container, when add the index config, the monitor folder should replace the actual path to start with "/monitorfolder", like the actually path is "/home/user/codefolder/mysourceA", the monitor folder should be "/monitorfolder/mysourceA"

Search Extension For Visual Studio

Status Value
VS Marketplace VS Marketplace
VS Marketplace Downloads VS Marketplace Downloads
VS Marketplace Installs VS Marketplace Installs

Download Url

Code Index Extension

Search Code

  1. Open the code index search window under: view => other window => code index search
  2. Config the service url to your own service
  3. Doing the search

Code Index Search Extension

Search Syntax

Phase Query

When Phase Query been ticked, we can search the content via the query like: str*ng abc, it will give the result such as "string abc", "strdummyng abc" as the search results, the results like "abc string" or "stng abc" won't return.

In Phase Query mode, currently only support wildcard matching for word like stri*, organi*tion

Phase Query Search

When Phase Quuery not been ticked, you can follow the sytax under http://www.lucenetutorial.com/lucene-query-syntax.html to doing the search

Case-Sensitive

When Case-Sensitive been ticked, we can search the content in case-sensitive mode. When search the content like String, it won't return the content that contains string

Misc

Status Value
Stars Stars
Forks Forks
License License
Issues Issues
Docker Pulls Downloads
Release Downloads Downloads
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].