-
Notifications
You must be signed in to change notification settings - Fork 791
SOLR-12074: Add optional terms index for PointFields #3922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # See https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc | ||
| title: Add option to index Point field terms, to speed up term lookup and close funcitonality gap with Trie fields | ||
| type: other # added, changed, fixed, deprecated, removed, dependency_update, security, other | ||
| authors: | ||
| - name: Houston Putman | ||
| nick: HoustonPutman | ||
| url: https://home.apache.org/phonebook.html?uid=houston | ||
| links: | ||
| - name: SOLR-12074 | ||
| url: https://issues.apache.org/jira/browse/SOLR-12074 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,11 +15,13 @@ | |
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| --> | ||
| <schema name="minimal" version="1.7"> | ||
| <schema name="minimal" version="1.6"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Q] Why is this going backwards from 1.7?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ahhh yeah, because it was testing docValues or not, but the docValues are enabled by |
||
| <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/> | ||
| <fieldType name="string" class="solr.StrField"/> | ||
| <fieldType name="int" class="org.apache.solr.schema.IntPointField" docValues="false" omitNorms="true" | ||
| positionIncrementGap="0"/> | ||
| positionIncrementGap="0"/> | ||
| <fieldType name="inttrie" class="org.apache.solr.schema.TrieIntField" docValues="false" omitNorms="true" | ||
| positionIncrementGap="0"/> | ||
| <fieldType name="long" class="org.apache.solr.schema.LongPointField" docValues="false" omitNorms="true" | ||
| positionIncrementGap="0"/> | ||
| <fieldType name="float" class="org.apache.solr.schema.FloatPointField" docValues="false" omitNorms="true" | ||
|
|
@@ -45,17 +47,29 @@ | |
| <dynamicField name="*_s" type="string" indexed="true" stored="false"/> | ||
| <dynamicField name="*_t" type="text" indexed="true" stored="false"/> | ||
| <dynamicField name="*_ts" type="text" indexed="true" stored="true"/> | ||
| <dynamicField name="*_it" type="inttrie" indexed="true" stored="false"/> | ||
| <dynamicField name="*_it_dv" type="inttrie" indexed="true" docValues="true" stored="false"/> | ||
| <dynamicField name="*_i" type="int" indexed="true" stored="false"/> | ||
| <dynamicField name="*_i_dv" type="int" indexed="true" docValues="true" stored="false"/> | ||
| <dynamicField name="*_i_e" type="int" indexed="true" stored="false" enhancedIndex="true"/> | ||
| <dynamicField name="*_i_dv_e" type="int" indexed="true" docValues="true" stored="false" enhancedIndex="true"/> | ||
| <dynamicField name="*_is" type="int" indexed="false" stored="true"/> | ||
| <dynamicField name="*_l" type="long" indexed="true" stored="false"/> | ||
| <dynamicField name="*_l_dv" type="long" indexed="true" docValues="true" stored="false"/> | ||
| <dynamicField name="*_l_e" type="long" indexed="true" stored="false" enhancedIndex="true"/> | ||
| <dynamicField name="*_l_dv_e" type="long" indexed="true" docValues="true" stored="false" enhancedIndex="true"/> | ||
| <dynamicField name="*_f" type="float" indexed="true" stored="false"/> | ||
| <dynamicField name="*_f_dv" type="float" indexed="true" docValues="true" stored="false"/> | ||
| <dynamicField name="*_f_e" type="float" indexed="true" stored="false" enhancedIndex="true"/> | ||
| <dynamicField name="*_f_dv_e" type="float" indexed="true" docValues="true" stored="false" enhancedIndex="true"/> | ||
| <dynamicField name="*_d" type="double" indexed="true" stored="false"/> | ||
| <dynamicField name="*_d_dv" type="double" indexed="true" docValues="true" stored="false"/> | ||
| <dynamicField name="*_d_e" type="double" indexed="true" stored="false" enhancedIndex="true"/> | ||
| <dynamicField name="*_d_dv_e" type="double" indexed="true" docValues="true" stored="false" enhancedIndex="true"/> | ||
| <dynamicField name="*_dt" type="date" indexed="true" stored="false"/> | ||
| <dynamicField name="*_dt_dv" type="date" indexed="true" docValues="true" stored="false"/> | ||
| <dynamicField name="*_dt_e" type="date" indexed="true" stored="false" enhancedIndex="true"/> | ||
| <dynamicField name="*_dt_dv_e" type="date" indexed="true" docValues="true" stored="false" enhancedIndex="true"/> | ||
|
|
||
| <uniqueKey>id</uniqueKey> | ||
| </schema> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Q] Why provide the "enhancedIndex" flag here and then not use it?