lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neal Sidhwaney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-13633) Small types in analytics documentation
Date Sun, 28 Jul 2019 09:54:00 GMT

    [ https://issues.apache.org/jira/browse/SOLR-13633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894663#comment-16894663
] 

Neal Sidhwaney commented on SOLR-13633:
---------------------------------------

When I use --data-urlencode, it works if the analytics expression is on the commadn line as
you indicated, but --data-binary works whether the analytics expression is on the command
line or inside a separate file and fed to curl by using '@', i.e:

{{curl -H POST --data-binary @/Users/nealsid/testanalytics.json http://localhost:8983/solr/testcoll/select?q=Vehicle_Make:TOYOT}}

The analytics expressions can quickly grow unwieldly and long and editing them on the command
line isn't convenient, so --data-binary & feeding it from a separate file seems better
to me, IMO.

> Small types in analytics documentation
> --------------------------------------
>
>                 Key: SOLR-13633
>                 URL: https://issues.apache.org/jira/browse/SOLR-13633
>             Project: Solr
>          Issue Type: Task
>          Components: documentation
>    Affects Versions: 8.1.1
>            Reporter: Neal Sidhwaney
>            Assignee: Munendra S N
>            Priority: Trivial
>         Attachments: SOLR-13633.patch
>
>
> There are a couple typos in the analytics documentation commands that might make someone
just getting started scratch their head a bit. Upcoming 2 line patch fixes them.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message