Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
2 answers
66 views

I im trying to extract a title from the famous "Titanic" dataset, where the format is like this: [Name] [1]: https://i.sstatic.net/HlkH8zHO.png I'm trying to avoid an iterative solution, so ...
Martin Beraldo's user avatar
1 vote
2 answers
215 views

I am trying to figure how to index every word in a text box and maintain these indexes when the text is copy and pasted (into another text area). The problem I am facing is giving each word a unique ...
JulianJ's user avatar
  • 1,309
1 vote
1 answer
57 views

I'm using Excel 365 and trying to take advantage of VisualBasic for this query. I'm working with two tables where if Table: EventDiary[Match] = 1 then I want to enter the [Actual] value (-30) into ...
topstuff's user avatar
  • 159
0 votes
1 answer
50 views

I have mysql query that looks kinda like this SELECT * FROM table1 WHERE table1.column_1 = 'a' AND table1.column_2 = 'b' AND :idList IN (SELECT id FROM table1 WHERE table1.column_3 = 'c' AND table1....
LokiTheCreator's user avatar
0 votes
3 answers
57 views

I create an index this way: CREATE INDEX rep_tval_idx ON public.rep USING btree (t, lower(left(val, 127))); Then I run a SELECT with matching filter: explain select * from rep where t=3 and lower(...
Alexey Sam's user avatar
1 vote
0 answers
62 views

How do these url shorterner services get their links indexed by google? while mine won't index cause google search consoles says "Page with redirect". I'm just using a simple html page with ...
TravelWhere's user avatar
1 vote
0 answers
160 views

Consider a collection with an index {x: 1} consisting of the following documents: [ {x : 5}, {x : 5}, {x : 5} ] The explain output on the query predicate {x : 5} shows that the total ...
ariko stephen's user avatar
-2 votes
1 answer
77 views

The home_user table has about 50000 rows, and donate_info table has 100000 rows. I want to calculate every home_user's total donate_count. I found out Mysql can't use the index in the donate_info ...
jmz's user avatar
  • 37
13 votes
6 answers
848 views

I would like to identify all rows in a data frame (or matrix) whose values in column 1 and 2 match a specific pair. For example, if I have a matrix testmat = rbind(c(1,1), c(1,2), c(1,4), c(2,1), c(2,...
Max's user avatar
  • 789
0 votes
1 answer
85 views

I have a SQL Server FILETABLE. I am NOT trying to do FULL TEXT searching. I have a query which uses the file_type column in the WHERE clause. The estimated execution plan suggests a new index. I have ...
Son of Arathorn's user avatar
0 votes
1 answer
180 views

I have a bunch of PostgreSQL (v14 or 15) indexes over a few dozen tables that use B-Trees for their access method. We want to change them to hashes as we don't do inequality operations on them, and ...
T. N. Williams's user avatar
2 votes
1 answer
184 views

I'm building a Go application deployed on Kubernetes that uses MongoDB as the database. Currently, my application includes logic to create indexes on collections during every pod startup. While this ...
Zoha Behnam's user avatar
3 votes
1 answer
144 views

I am looking for a way to vectorize the following code, # Let cube have shape (N, M, M) sub_arrays = np.empty(len(cube), 3, 3) row_start = ... # Shape (N,) and are integers in range [0, M-2] row_end ...
Austin's user avatar
  • 33
3 votes
3 answers
136 views

I created table categories: CREATE TABLE `categories` ( `id` int NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `type` int unsigned NOT NULL, PRIMARY KEY (`id`), KEY `type` (`type`) ...
Dmitrii's user avatar
  • 33
1 vote
1 answer
29 views

There is a vector of numbers: y = [ 2013; 2013; 2013; 2014; 2014; 2015; 2016] Scilab function unique creates the vector km with indexes of the first occuring unique number in y: [U, km, ku, nb] = ...
JFS's user avatar
  • 3,142
0 votes
2 answers
157 views

I am using a Postgres table to store HTML data. One of the columns is of type varchar, and this is where the HTML data is stored. My understanding is that this column datatype has no maximum length. I ...
user2138149's user avatar
  • 18.7k
0 votes
2 answers
55 views

Does Expression Engine entries loop have a variable to show which index you're on for each iteration? I found the {count} and {total_results} in the docs, but cant seem to find the variable that spits ...
Sergio's user avatar
  • 822
0 votes
2 answers
133 views

I'm getting dozens of unwanted indexed pages in Wordpress that are actually media files URLs like this one: /wp-content/uploads/2024/11/Ellipse-78 I added a rule in my robots.txt, but I'm not sure it'...
Santiago Calabró's user avatar
1 vote
1 answer
249 views

I´m trying to create an Azure Search vector index as well in the Azure ML UI (Prompt flow) portal but having an error in the component "LLM - Crack and Chunk Data": My Flow Error Image The ...
Ana Armas's user avatar
-1 votes
1 answer
135 views

So i wanted to play gmod after some time and when i looked up server was down. They published the files on web and i am trying to make it work. Now i get an error called: attempt to index global '...
RedTV34's user avatar
  • 11
0 votes
0 answers
73 views

I am trying to create dynamic ranges to be used for excel charts. I have the following range: =OFFSET(O7,0,0,1,COUNTA($O$5:$X$5)) cell o7 is expected to change. I have created the following formula to ...
fedone's user avatar
  • 55
2 votes
1 answer
108 views

Knowing id is the primary key... Lets say we have an index in MySQL like account_id / assignee_id / is_public but the sorting of a query that needs this index is by id (the primary index) changing ...
drhenner's user avatar
  • 2,230
0 votes
2 answers
105 views

could you please help demystify the following numpy indexing/slicing behaviours? Thanks! arr = np.arange(60).reshape(3,4,5) print(arr[2, :, 4]) #1 print(arr[[2], :, 4]) #2 print(arr[2, :, [4]])...
ThxAlot's user avatar
  • 124
-1 votes
1 answer
92 views

I want to create indexes in my postgres DB which contains a massive amount of data. The Usecase is to have a frontend, which should be able to filter a few selected fields and in the backend based on ...
Philipp Fischer's user avatar
1 vote
0 answers
15 views

I have a document with name User and this document has subDocument with name UserIdentifier like below: @Data @Document public class User { private List<UserIdentifier> userIdentifierList; ...
Zeynep Betül Çelik's user avatar
1 vote
1 answer
42 views

I’m working on a project that involves managing large time-series datasets in GridDB. Currently, I’m experiencing significant query latency issues as the dataset size grows. While GridDB performs well ...
Abel Mesfin's user avatar
0 votes
3 answers
131 views

I have a gigantic indexed (104 million row) table of docs, pages and words: CREATE TABLE my_table ( doc_id integer, page_id integer, word_id integer ); CREATE INDEX my_table_word ON ...
LittleBobbyTables's user avatar
0 votes
0 answers
72 views

I have thousands of text based content pages. I want to index them organized into categories within Microsoft's AI search Indexes. Any reccommendations/best practices? I am thinking adding metatags ...
Sheetal Arora's user avatar
1 vote
1 answer
85 views

I am trying to find a simple numpy command to take the values of an 3D matrix according to an index array for the second coordinate. This can be done as: import numpy as np entry = np.array([[1, 2],[3,...
Thomas Koller's user avatar
1 vote
1 answer
85 views

When querying a non-partitioned table, the query optimizer can leverage indexes for sorting and limit the data read based on the LIMIT clause. For example, in a non-partitioned table my_table with a ...
bbang's user avatar
  • 11
-1 votes
1 answer
106 views

im working with a MySQL database where I have a column of type VARCHAR, but it stores numeric values. I created a B-Tree index on this column to optimize queries like: E.x > n n < E.x n = E.x (...
Eduard Hauer's user avatar
0 votes
0 answers
83 views

I am trying to learn how to use MongoDB and have two collections that I am trying to join and find records with search criteria in each. In the main collection I have an index on the text field (...
Edward's user avatar
  • 19
1 vote
1 answer
89 views

I have a table with a column itemsIds containing an array of ids. I have created a gin index for that column. I'm trying to find rows that don't contain an element with the following query: select * ...
Juan Cruz Grethe Borsani's user avatar
0 votes
1 answer
42 views

I have a table containing email data. The from column is text (character varying). The to column and the cc column are both arrays of text (also character varying). These will be searched using entire ...
CompanyDroneFromSector7G's user avatar
1 vote
0 answers
42 views

I have a Postgres table with an 'at' timestamp column: CREATE TABLE IF NOT EXISTS public."Impressions" ( _id character varying COLLATE pg_catalog."default" NOT NULL, at ...
Doug Svacina's user avatar
3 votes
0 answers
500 views

I am new to Elastic so I am not very experienced with reindexing data streams. I need to reindex a specific index in a data stream. I do not want to have to create a new data stream and use that data ...
Dave's user avatar
  • 1,328
0 votes
1 answer
40 views

I have a composite index in SQL Server: CREATE INDEX IX_PetServiceId_Rate ON PetCenterService (PetServiceId ASC, Rate DESC) But my project is database-first so I try to config that composite index ...
Panda's user avatar
  • 31
2 votes
2 answers
85 views

I'm writing a function to clean some CEX data (doesn't really matter), and I cannot figure out why I am unable to use %in% to subset a data frame with a list when I am able to perform the analogous ...
dcoy's user avatar
  • 208
0 votes
0 answers
41 views

I created a GIN index on a table in PostgreSQL database. It was created without issue, see below create index statement. Then I used a select query to search the table, also see below. create index ...
Oliver's user avatar
  • 21
0 votes
0 answers
63 views

I am using the following code to add documents to a Lucene index. I have indexed 23,425 documents, but the folder where the index is stored has a size of 447.4 MB. In contrast, when storing the same ...
Vinita A's user avatar
1 vote
1 answer
133 views

I am doing a hands-off evaluation of Graph Databases and came across ArcadeDB. I scoured the documentation but did not find explicit mention of which of the supported types can also be indexed, I am ...
Vitaliy's user avatar
  • 8,225
0 votes
1 answer
78 views

There is a table: create table individual_profile_identity ( normalized_document_number varchar, normalized_name varchar, birth_date date ); There is an index ...
Eduard Grigoryev's user avatar
1 vote
2 answers
79 views

I have a collection estates with a unique index on the name field, created thus: db.estates.createIndex ({ "name": 1 }, { unique: true }) This works - attempts to insert a duplicate name ...
minisaurus's user avatar
  • 1,196
1 vote
1 answer
74 views

i am working on a PostgreSQL database where i need to filter rows based on multiple conditions in a JSONB column. the column attributes stores data like this { "color": "red", &...
Dulashani Sithara's user avatar
0 votes
1 answer
47 views

I have a table and a (non-pk) index CREATE TABLE [UniqueIdentifier] ( [Id] [varchar](100) NOT NULL, [ShortUI] [varchar](50) NULL, [StateId] [tinyint] NOT NULL, [TypeId] [tinyint] NOT ...
Alain Bourgeois's user avatar
0 votes
1 answer
201 views

I have a simple table in ClickHouse with 10M rows, defined like this: CREATE TABLE data.syslogs ( `id` UInt32, `time` DateTime, `priority` UInt8, `message` String, INDEX ...
Simeon's user avatar
  • 7,802
1 vote
1 answer
292 views

We want to utilize SAI on Cassandra Free version. To enhance search capabilities, we have gone through Apache Solr => Apache Startio => Cassandra Lucene Index. But these are not maintained, ...
saadeez's user avatar
  • 123
1 vote
1 answer
35 views

import pandas as pd df_1 = pd.DataFrame({'col1': ['a', 'a', 'a']}) df_2 = pd.DataFrame({'col1': ['b', 'b', 'b']}) df_2.index = [4,5,6] df_1['col2'] = df_2.col1 I expect a simple copy in the above ...
user1700890's user avatar
  • 7,824
1 vote
2 answers
111 views

I am trying to create a system to take an array of floats which range from 0.0 to 1.0 and convert them into RGBA values based on a lookup table. The output should be an array that is one dimension ...
Liam's user avatar
  • 51
2 votes
2 answers
209 views

I am running MySql v8.0 with InnoDB. I have a simple transaction that has a SELECT (not a SELECT ... FOR UPDATE) followed by an INSERT. I'm getting frequent deadlocks when many DB inserts are ...
airvin's user avatar
  • 21