Skip to content

RDoc-1627 + RDoc-3295 Indexing Metadata + Indexing ALL fields for FTS #2014

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

Merged
merged 11 commits into from
Apr 15, 2025

Conversation

Danielle9897
Copy link
Member

@Danielle9897 Danielle9897 commented Apr 10, 2025

Related issues:
https://issues.hibernatingrhinos.com/issue/RDoc-1627/Access-to-internal-properties-of-a-document
https://issues.hibernatingrhinos.com/issue/RDoc-3295/Index-all-fields-for-FTS-using-AsJson


To be reviewed:

C# @Lwiel

Documentation/6.0/Raven.Documentation.Pages/indexes/indexing-metadata.dotnet.markdown
Documentation/6.0/Raven.Documentation.Pages/indexes/querying/searching.dotnet.markdown
Documentation/6.0/Samples/csharp/Raven.Documentation.Samples/Indexes/Metadata.cs
Documentation/6.0/Samples/csharp/Raven.Documentation.Samples/Indexes/Querying/Searching.cs

Python @poissoncorp

Documentation/6.0/Raven.Documentation.Pages/indexes/indexing-metadata.python.markdown
Documentation/6.0/Raven.Documentation.Pages/indexes/querying/searching.python.markdown
Documentation/6.0/Samples/python/Indexes/Metadata.py
Documentation/6.0/Samples/python/Indexes/Querying/Searching.py

PHP @alxsabo

Documentation/6.0/Raven.Documentation.Pages/indexes/indexing-metadata.php.markdown
Documentation/6.0/Raven.Documentation.Pages/indexes/querying/searching.php.markdown
Documentation/6.0/Samples/php/Indexes/Metadata.php
Documentation/6.0/Samples/php/Indexes/Querying/Searching.php

Node.js @ml054 @M4xymm

Documentation/6.0/Raven.Documentation.Pages/indexes/indexing-metadata.js.markdown
Documentation/6.0/Raven.Documentation.Pages/indexes/querying/searching.js.markdown
Documentation/6.0/Samples/nodejs/indexes/metadata.js
Documentation/6.0/Samples/nodejs/indexes/querying/searching.js

Java:
As written in the related issues:
Need to open a new dedicated issue for Java to match text & examples to the C# articles.

{PANEL: Indexing all fields for FTS (using AsJson)}

* To search across ALL fields in a document without defining each one explicitly, use the `AsJson` method,
which is available in the **C# LINQ string** that is assigned to the `self.map` property in the Python index class,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self.map feels natural (self = this), but incorrect - map is the str property of index class
consider changing, but no need to do that

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@ppekrol ppekrol merged commit 9c572f8 into ravendb:master Apr 15, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants