29 Commits

Author SHA1 Message Date
omars44
d648e04c3c Feature (#28): Add SolrQuery::setHighlightQuery(string ) 2024-01-09 12:32:58 +02:00
Omar Shaban
c20f82aa6c Update stream example from bin/content stream 2019-06-02 21:36:05 +02:00
Omar Shaban
354ef37113 Update from file request example 2019-06-02 21:31:19 +02:00
Omar Shaban
2a0f864d82 example: Partial Update 2019-06-02 21:17:09 +02:00
Peter Kokot
1e427e55f2 Sync final newlines
This patch adds some missing newlines and trims redundant final newlines
into a single one.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-02 23:15:27 +02:00
Peter Kokot
4aa59d2ee7 Trim trailing whitespace 2018-10-02 23:03:03 +02:00
Omar Shaban
4355a06922 Child document example update 2015-12-01 14:36:39 +02:00
Omar Shaban
db758f8e62 Added example for adding child documents + updates to package.xml 2015-11-30 15:52:56 +02:00
Omar Shaban
ed5012e07f Fix add document example 2015-11-30 14:57:51 +02:00
Omar Shaban
dbb631cee3 grouping examples 2015-10-20 19:24:11 +02:00
Omar Shaban
6f6ad6ac46 updates to collapse examples 2015-10-20 19:23:33 +02:00
Omar Shaban
eaa81b3e92 fix getByIds test 2015-10-12 13:30:54 +02:00
Carsten Blüm
f882f753f3 Add missing output of escaped query 2015-09-10 09:44:20 +02:00
Carsten Blüm
893179e5bd Add missing path in constructor options
Without the path, the example should fail on a multi-core setup
2015-09-10 09:44:04 +02:00
Omar Shaban
dec08aecc3 SolrClient system() example rename 2015-09-09 17:47:11 +02:00
Omar Shaban
5b67a537fc Real Time Get Examples 2015-09-09 04:12:48 +02:00
Omar Shaban
975fb6b6b8 SolrDisMaxQuery Example 2015-09-09 02:25:37 +02:00
Omar Shaban
93d8b1862b Added grouping, collapsing, expanding examples 2015-09-09 02:19:20 +02:00
Omar Shaban
0671083b8a Merge branch 'master' of git.php.net:/pecl/search_engine/solr 2014-03-08 20:40:22 +02:00
Omar Shaban
7a1998568b Added SolrClient::system() fetch server info example 2014-03-08 20:37:26 +02:00
Remi Collet
351a28ad82 drop exe right, not needed on sources 2014-03-08 18:38:37 +01:00
Omar Shaban
105e9e815a Added example for FacetQuery 2014-03-02 17:03:43 +02:00
Omar Shaban
3f80f4aef0 Refactored some of the existing examples + Added new ones
+ escapeQueryChars example
+ addDocument example
+ addDocuments example
+ modified commit example
2014-02-28 14:41:15 +02:00
Omar Shaban
e74f141ed1 Added an example file for date facet functions 2014-02-26 21:27:34 +02:00
Israel Ekpo
9ab71c4ed2 Added more constants to the test files and some more examples 2010-01-11 01:09:21 +00:00
Israel Ekpo
54dff61032 Added more examples for the SolrQuery class 2009-11-10 05:53:02 +00:00
Israel Ekpo
ce86ca0b65 - Adding examples to faceted search and TermsComponent (auto-suggest) 2009-10-03 21:21:28 +00:00
Israel Ekpo
3a109691aa - Fixing missing maxSegments parameters in SolrClient::optimize() and SolrClient::commit()
# Added example use cases for optimize and commit calls.
2009-09-30 05:02:32 +00:00
Israel Ekpo
9ee7b50101 # Adding all the files for the extension.
# This contains all source code, tests scripts, documentation and examples.
2009-09-23 03:16:01 +00:00