... >>> layer . num_fields 4 fields このレイヤーの各フィールド名のリストを返します: >>> layer . fields ['Name', 'Population', 'Density', 'Created'] このレイヤーの各フィールドのデータ型のリストを返します。これらは、以下で説明される Field のサブクラスです: >> ... のフィールドの OGR 型を整数で返します。 FIELD_CLASSES 辞書は、これらの値を Field のサブクラスにマッピングします: >>> city [ "Density" ] . type 2 type_name このフィールドのデータ型の名前を文字列で返します: >>> city [ "Name" ] . type_name 'String' value この ... 80 precision このフィールドの数値精度を返します。非数値フィールドでは意味がありません (ゼロに設定されます) 。 >>> city [ "Density" ] . precision 15 as_double () フィールドの値を double (float) で返します: >>> city [ "Density" ] . as_double () 874.7 as_ ... ... オブジェクトが追加されました。 SearchRank class SearchRank ( vector , query , weights = None , normalization = None , cover_density = False ) [ソース] これまでに、ベクトルとクエリの間で一致する結果を返してきました。おそらく結果をある種の関連性によって並べ ... st recipes>, <Entry: Pizza recipes>]> weights パラメータの説明については、 クエリを重み付けする を参照してください。 cover_density パラメーターを True に設定して、カバー密度ランキングを有効にします。これにより、クエリ用語の一致する近接度が考慮されます。 ... ... e new SearchHeadline class allows highlighting search results. search lookup now supports query expressions. The new cover_density parameter of SearchRank allows ranking by cover density. The new normalization parameter of SearchRank allows rank normali ... 2026年10月08日