In one example, the search for exact strings can be implemented by generating a hash value for the string, and then indexing this hash value.
在一个示例中,对精确字符串的搜索可以通过为字符串生成一个hash值,然后为这个hash值创建索引来实现。
Because the search string has to be processed the same way that the indexed text was processed, it is crucial to use the same Analyzer for both indexing and searching.
因为搜索字符串也需要以处理索引文本的方式进行处理。
Once you have created a dictionary, you can access its values using the standard square-bracket indexing notation, but using a string as the index instead of a number.
一旦完成了创建字典,您就可以使用标准方括号索引符号来访问它的值,但是要使用字符串作为索引而不是一个数字。
Otherwise I'm going to check to see is the first and last, there's that - 1 indexing, is the first and last element of the string the same?
是第一个还是最后一个,这就是这边-1的索引内容,这个字符串的第一个,和最后一个的内容是否相同呢?
应用推荐