The methods of the SegmentInfos class are listed below. For a complete list of SegmentInfos class members, see the SegmentInfos Members topic.
![]() ![]() | Parse the generation off the segments file name and return it. |
![]() ![]() | Overloaded. Get the filename of the current segments_N file from a list of files. |
![]() ![]() | Overloaded. Get the generation (N) of the current segments_N file from a list of files. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Current version number from segments file. |
![]() ![]() | Advanced: set how many times to try loading the segments.gen file contents to determine current segment generation. This file is only referenced when the primary method (listing the directory) fails. |
![]() ![]() | Advanced: set how many milliseconds to pause in between attempts to load the segments.gen file. |
![]() ![]() | Advanced: set how many times to try incrementing the gen when loading the segments file. This only runs if the primary (listing directory) and secondary (opening segments.gen file) methods fail to find the segments file. |
![]() ![]() | If non-null, information about retries when loading the segments file will be printed to this. |
![]() | Adds an object to the end of the ArrayList. |
![]() | Adds the elements of an ICollection to the end of the ArrayList. |
![]() | Overloaded. Searches a range of elements in the sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element. |
![]() | Removes all elements from the ArrayList. |
![]() | Returns a copy of this instance, also copying each SegmentInfo. |
![]() | |
![]() | Determines whether an element is in the ArrayList. |
![]() | Overloaded. Copies the entire ArrayList to a compatible one-dimensional Array, starting at the beginning of the target array. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | |
![]() | Overloaded. Get the segments_N filename in use by this segment infos. |
![]() | Overloaded. Returns an enumerator for the entire ArrayList. |
![]() | |
![]() | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
![]() | |
![]() | Get the next segments_N filename that will be written. |
![]() | Returns an ArrayList which represents a subset of the elements in the source ArrayList. |
![]() | Gets the Type of the current instance. |
![]() | version number when this SegmentInfos was generated. |
![]() | Overloaded. Searches for the specified Object and returns the zero-based index of the first occurrence within the entire ArrayList. |
![]() | |
![]() | Inserts an element into the ArrayList at the specified index. |
![]() | Inserts the elements of a collection into the ArrayList at the specified index. |
![]() | Overloaded. Searches for the specified Object and returns the zero-based index of the last occurrence within the entire ArrayList. |
![]() | |
![]() | Returns a new SegmentInfos containg the SegmentInfo instances in the specified range first (inclusive) to last (exclusive), so total number of segments returned is last-first. |
![]() | Overloaded. Read a particular segmentFileName. Note that this may throw an IOException if a commit is in process. |
![]() | Removes the first occurrence of a specific object from the ArrayList. |
![]() | Removes the element at the specified index of the ArrayList. |
![]() | Removes a range of elements from the ArrayList. |
![]() | Overloaded. Reverses the order of the elements in the entire ArrayList. |
![]() | |
![]() | Copies the elements of a collection over a range of elements in the ArrayList. |
![]() | Overloaded. Sorts the elements in the entire ArrayList using the IComparable implementation of each element. |
![]() | Overloaded. Copies the elements of the ArrayList to a new Object array. |
![]() | Returns a String that represents the current Object. |
![]() | Sets the capacity to the actual number of elements in the ArrayList. |
SegmentInfos Class | Lucene.Net.Index Namespace