Skip to content

Instantly share code, notes, and snippets.

View navneet1v's full-sized avatar

Navneet Verma navneet1v

View GitHub Profile
{
"size": 200,
"query": {
"script_score": {
"query":{
"bool": {
"must": [
{
"term": {
"file_type": {
@navneet1v
navneet1v / KNNVectorAsCollectionOfFloatsSerializer.java
Created August 17, 2023 00:40
Experiment file for doing vector distance calculation
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
package navneev.vector;
import java.io.ByteArrayInputStream;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
#include<bits/sdtc++.h>
using namespace std;
int main(){
return 0;
}