Skip to content
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

stored value in create a field method #69

Closed
muratti66 opened this issue Feb 13, 2016 · 1 comment
Closed

stored value in create a field method #69

muratti66 opened this issue Feb 13, 2016 · 1 comment
Labels

Comments

@muratti66
Copy link

Hi
stored value keys "true" or "false" typed in your document
this is not working
I've tried as, its working : (->stored('YES'))
$request = new OpenSearchServer\Field\Create(); $request->index('index_name') ->name('titleStandard') ->indexed(true) ->analyzer('StandardAnalyzer') ->stored('YES') ->copyOf('title'); $response = $oss_api->submit($request)

@emmanuel-keller
Copy link
Member

Hi, we just made a fix by allowing both textual and boolean parameter (as we did for the indexed property). The main reason is that 'stored' should also support 'COMPRESSED' value.

We just updated the master and the 3.0 branch, can you check that ? If it will be fixed we will create a new tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants