Newest 'indexer' Questions - Stack Overflow

Questions tagged [indexer]

The tag has no usage guidance.

0
votes
0answers
27 views

What is the difference between indexers and properties in c#? [duplicate]

What is the difference between indexers and properties in c#? Below link has the basic differences like parameters, accessibility etc.. https://docs.microsoft.com/en-us/dotnet/csharp/programming-...
0
votes
1answer
74 views

How to setup an Azure Search soft-delete policy attached to Azure Storage

I have an Azure Search that uses Azure Storage as datasource. I'm trying to get the Search to delete files from it's result whenever they are deleted in the Storage, but somehow I can't seem to ...
0
votes
1answer
13 views

TypeScript indexer for static class

Basically what I'm trying to do is getting a value from a static class. Like this: export enum Test { A = 10, B = 20, C = 30 } export class TestObject { constructor(public ValueA: ...
-2
votes
1answer
100 views

Why value doesn't want to change?

I got a portion of code to hold game variables. The Var struct is a simple one: struct Var{ /// <summary> /// Name of variable. Unchangable /// </summary> public string Name { get; ...
1
vote
0answers
67 views

Azure search Indexer don't run

I have an azure search indexer but it stops running two days ago, when I try to run it immediately from Azure portal a notification << Successfully started a run of indexer "name_indexer" >> ...
2
votes
2answers
44 views

How to fix Console Writing the name of the Class? [duplicate]

I am new to C# and I am struggling with this since hours and would appreciate your help. I want to create a Polygon and Write down each position of the points. Currently I have this: -Class Point ...
0
votes
1answer
24 views

My question is about Cron error in magento 2.3

Have same issue with cron indexer again. Same thing as before month ago on magento 2. Showing after running php cron:run or php index:reindex same error like before month ago. Last time I installed ...
-3
votes
1answer
60 views

javascript array like function (javascript indexer C# like)

I need in typescript (or, at least, javascript) a function which I can call/use like an array: myFunc[someInput] I know I cand do something like: interface IInputs { "someInput1": someType, "...
-1
votes
1answer
23 views

this[] Indexer: Type 'SheetsDecoratorImpl' already reserves a member called 'get_Item' with the same parameter types [duplicate]

I'm getting an error in Visual Studio 2019 that seems to be complaining about clashing function signatures because a function get_Item and an indexer property. I have the following class for ...
0
votes
0answers
40 views

eclipse 3.8.1 cdt 8.6.0, exclude specific system header files from indexer

I have seen related questions asked but cannot find a simple and precise answer to the following question: Note: updated to 4.10.0 and CDT 9.6.0, problem persists I am using eclipse as editor, not ...
-1
votes
1answer
43 views

How to make it possible to assign value to an array, while making it Impossible to assign each of the array elements individually?

I m working on a Unity3D project and using the Mesh class, inside the Mesh class there is a member variable Vector3[] vertices. Now, while setting mesh.vertices in the following way is possible ...
0
votes
0answers
27 views

Indexer library installation error in python

I am trying to install indexer library in python but getting the following error.
0
votes
1answer
54 views

Azure Search : Running Indexer for .vtt

I am using Azure Search for searching through contents of files stored in the blob. When I include .vtt file, generated by Azure Media Services V3 indexer, in my blob storage and run the Indexer, it ...
0
votes
0answers
8 views

Lily Indexer stops all indexers after HBase restart

I have multiple indexers registered for different HBase tables (I'm working with CDH 5.14.4) that are working as expected: the data inserted on the HBase tables is indexed on Solr. During a restart of ...
0
votes
0answers
135 views

There are no commands defined in the “indexer” namespace

I installed the purchased template from the browser level. I can't follow the instructions: php bin/magento cache:flush php bin/magento indexer:reindex Error: There are no commands defined in the "...
0
votes
2answers
35 views

Programmatically Binding Button Properties to an Indexer Object

I'm trying to bind the content properties of programmatically generated buttons to an indexer object. My indexer object looks like this: internal class Indexer { private int[,] cells;//values ...
0
votes
0answers
19 views

Unresolved inclusion of Qt in Eclipse: Expanded

I was reading up here: Unresolved inclusion of Qt in Eclipse On how to handle the unresolved inclusions errors I was getting and the above post solved 95% of my problems. However, I am still having ...
0
votes
1answer
49 views

Use type name for indexer in interface

Problem in Abstract I have 2 groups of types that I'd like to relate to each other. // Group A interface Hello { ... } interface Foo { ... } // Group B interface World { ... } interface Bar { ... } ...
-1
votes
1answer
34 views

How can I organized work with class with the indexer?

My task: Create an array of dimension 10 elements, fill it with arbitrary integer values. Print the max value of the array, the min value of the array, the total sum of the elements, the average of ...
2
votes
1answer
118 views

C# Array Indexer

I was wondering: how is the C# array indexer implemented? You can index a C# array with basically every integer value from ulong to sbyte, does the internal implementation simply casts to a common ...
1
vote
1answer
181 views

Azure search service index pointing multiple document db collections

How to load data from two separate collections of azure cosmos db to a single azure search index? I need a solution to join the data from two collections in a way similar to inner joining concept of ...
0
votes
0answers
47 views

What is the difference between s = new string(toArray) and s = toArray.ToString()? [duplicate]

I am trying to learn indexers in C# and I was wondering why s=new string(toArray) is returning the value which I am entering in the s variable which is of type string and why s = toArray.ToString() is ...
0
votes
0answers
33 views

No indexer option in Eclipse c++

I have installed Eclipse c++ helion on my windows 10 machine. Apart from this i have installed Egit plugin to import my git-tracked project. I can see that under window->preferences->c/c++->indexer ...
4
votes
2answers
155 views

Indexer named “Item” required by interface but not possible to implement?

I'm trying to implement an interface of a class in the ESPRIT api that requires an indexer named "Item." (I'm guessing the interface came from VB.NET but I don't have the source.) Obviously the "Item[...
1
vote
1answer
102 views

When the indexer class functions are triggered in magento2

I have created custom indexer for my custom module and a row is showing in manage indexer page in backend after cleared cache. I have created a indexer class and implements \Magento\Framework\Indexer\...
2
votes
0answers
57 views

Eclipse and C++ indexer

I have some problems with Eclipse C++ indexer. Sometimes it just breaks. Everything is OK in my code and some whole files get tainted of red with unresolved names. I have to rebuild the whole index ...
0
votes
0answers
163 views

Adding search per to search head failing with Authentication error

Search head splunkd log 07-09-2018 17:21:46.755 +0000 WARN GetRemoteAuthToken - Unable to get authentication token from peeruri="https‍://indexer1.dev:8089/services/admin/auth-tokens". 07-09-...
0
votes
0answers
40 views

Apache Lucene Indexer Search with CJKAnalyzer

I am using Apache lucene Indexer Search to search text, and I am using CJKAnalyzer. It search provided word by character, It means If I Search for Japanese word "ぁxまn" , then its showing all the ...
0
votes
1answer
146 views

Debugging Full text search in iManage Worksite

I am creating different workspaces having different types of names containing special characters also sometimes. When I am trying to perform a Full text search nothing comes up in workspace results. ...
0
votes
1answer
162 views

Azure Search decode base64 file contents for Index

I am attempting to use Azure search on a blob container that contains a ton of .htm files. Each one of these files is entirely encoded in base64 with padding. One of these files may be "example.htm", ...
0
votes
0answers
115 views

Try using .loc[row_indexer,col_indexer] = value instead

Using python, there are something wrong. resource1 #"dataframe" and, resource1.loc[(resource1["code"] == ""), "code"] = "nocode" then, error message is here. ~/anaconda3/lib/python3.6/site-...
1
vote
1answer
140 views

Dynammically increasing the size of an indexer in C# [duplicate]

Using the https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/indexers/indexers-in-interfaces if I have an indexer such that I start with an array of size 1. Is there a method to change ...
2
votes
1answer
298 views

C# Indexers with Ref Return Gets that also Support Sets

Am I doing something wrong here, or as of C# 7.2 Indexers that return by ref and allow set are not supported? Works: public ref byte this[int index] { get { return ref bytes[index]; } } ...
0
votes
1answer
49 views

WPF - Get text from static Dictionary Singleton

I got the localization for my project in an external class library, because I want only one Lang.csv file for my translations. For this I got a static instance Translator.TI with an indexer in the ...
1
vote
1answer
64 views

Sphinx indexer does not fetch data when MySQL transaction is used

please help me with running phpunit tests that check module with sphinx search engine. To search in that module I use two sphinx indexes docs and docsdelta. After new data are appear in the DB, I do ...
2
votes
0answers
223 views

Eclipse-cdt indexer crashes with NullPointerExceptions

Trying to import and index a large c++11 project in Eclipse-cdt, and the indexer crashes. In the log work_space/.metadata/.log there are thousands of errors of this type : !ENTRY org.eclipse.cdt.core ...
0
votes
1answer
72 views

Eclipse Indexer with IAR plugin

I'm using IAR plugin to develop code for uC RL78. I have the following sample code : /* Include the processor-specific SFR file where "DEVICE" corresponds to your selected device or device family....
0
votes
1answer
165 views

magento 1.9 catalog search index cannot initialize the indexer process on localhost

Can Magento 1.9 catalog search index invoke the indexer process on local host?
1
vote
1answer
69 views

Indexer - Explicit Interface Member Implementation

I would need an working example-program of an Explicit Interface Member Implementation of an Indexer. Microsofts c# docu of Indexers states that this is possible, but does not provide a working ...
0
votes
0answers
66 views

What is the difference between an Indexer and a List in c#? [duplicate]

Suppose if i have a class like below and if i want to add some types as an list, then i can do this class student { public string name { get; set; } } class MainClass { ...
1
vote
2answers
3k views

How to get Index of an Item in ICollection<T>

I have this list of cars ICollection<Cars> Cars and I also have a single car object, which I know is in the ICollection how do I get the index/position of the car in the list? I need to add it ...
3
votes
1answer
78 views

Accessing “this” pointer/reference using an indexer in C#

I am experimenting with a datastructure for a performance / memory critical part of our codebase. I would like to have a fast access to the bytes defined in the structure. However I am not sure how to ...
0
votes
1answer
31 views

Check in Visual Studio if an index parameter can be used with a class

Let's say I have a following class: public class Test { public int this[int index] { get { return 1; } } } Now let's say I use this class elsewhere in the code and need to check ...
0
votes
1answer
45 views

Using Field.index from apache lucene index

I am attempting to implement a simple lucene index, using Lucene 7.1. There are allot of changes to the code between versions, so I am meeting a lot of changes from answer to answer. In this ...
0
votes
1answer
76 views

Can an indexer parameter ever be null?

This is a code from a class of mine with a custom indexer: public string this[string key] { get => /* ... */; set { if (key != null) doSomething(key, value); } } Now ...
0
votes
1answer
31 views

c# linq return records by cells - indexer and Value

i struggle figuering out a solution for the following Task. Setup: class Records { Cells cells; } class Cell { string FieldName; string Value; } class Cells : Collection<Cell>...
1
vote
1answer
184 views

Cannot cast from KeyValueConfigurationCollection to derived class

Trying to handle (internally) KeyValueConfigurationCollection exceptions when a value from it indexer doesn't exists, I have an error. public class ConfigCore { public static Configuration ...
1
vote
1answer
140 views

ContentIndexer is not working on Windows 10 Creators Update

I am working on a old Windows 8 application which is using the ContentIndexer from Windows to build an index for a search engine in the app. It was working well until I updated my computer to the last ...
1
vote
1answer
294 views

Configure azure search IP to connect to On-prem DB

I am using Indexer to load data in Azure Index. I want to use on-premise database to copy data in azure index. I don't want to use ADF. Here I found that i need to allow azure search IP to connect to ...
0
votes
1answer
109 views

Reading a configuration file for indexing job in azure function

I'm trying to make an Azure function for indexing an MP4 file. I'm looking for a method to read the configuration file that's needed for the Indexer. I have made a console application that's reading ...