Skip to content

docs: multiple changes #3206

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Empty file added .patterns
Empty file.
2 changes: 1 addition & 1 deletion api/libsphinxclient/sphinxclient.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright (c) 2001-2016, Andrew Aksyonoff
// Copyright (c) 2008-2016, Sphinx Technologies Inc
// Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
// Copyright (c) 2017-2025, Manticore Software LTD (https://manticoresearch.com)
// All rights reserved
//
// This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion api/sphinxapi.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//
// Copyright (c) 2001-2016, Andrew Aksyonoff
// Copyright (c) 2008-2016, Sphinx Technologies Inc
// Copyright (c) 2019-2024, Manticore Software LTD (https://manticoresearch.com)
// Copyright (c) 2019-2025, Manticore Software LTD (https://manticoresearch.com)
// All rights reserved
//
// This program is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindMysql.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#=============================================================================
# Copyright 2015 Sphinx Technologies, Inc.
# Copyright 2017-2024, Manticore Software LTD (https://manticoresearch.com)
# Copyright 2017-2025, Manticore Software LTD (https://manticoresearch.com)
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindZSTD.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# If library is found, imported target ZSTD::ZSTD is produced to link with.
#
#=============================================================================
# Copyright 2021-2024, Manticore Software LTD (https://manticoresearch.com)
# Copyright 2021-2025, Manticore Software LTD (https://manticoresearch.com)
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
Expand Down
2 changes: 1 addition & 1 deletion cmake/Findre2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# WITH_RE2_LIBS - where to search for the lib

#=============================================================================
# Copyright 2017-2024, Manticore Software LTD (https://manticoresearch.com)
# Copyright 2017-2025, Manticore Software LTD (https://manticoresearch.com)
# Copyright 2015-2016 Sphinx Technologies, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
Expand Down
2 changes: 1 addition & 1 deletion cmake/GetICU.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#=============================================================================
# Copyright 2017-2024, Manticore Software LTD (https://manticoresearch.com)
# Copyright 2017-2025, Manticore Software LTD (https://manticoresearch.com)
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
Expand Down
2 changes: 1 addition & 1 deletion cmake/GetJIEBA.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#=============================================================================
# Copyright 2017-2024, Manticore Software LTD (https://manticoresearch.com)
# Copyright 2017-2025, Manticore Software LTD (https://manticoresearch.com)
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
Expand Down
2 changes: 1 addition & 1 deletion cmake/GetRE2.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#=============================================================================
# Copyright 2017-2024, Manticore Software LTD (https://manticoresearch.com)
# Copyright 2017-2025, Manticore Software LTD (https://manticoresearch.com)
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
Expand Down
2 changes: 1 addition & 1 deletion cmake/GetSTEMMER.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#=============================================================================
# Copyright 2017-2024, Manticore Software LTD (https://manticoresearch.com)
# Copyright 2017-2025, Manticore Software LTD (https://manticoresearch.com)
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
Expand Down
2 changes: 1 addition & 1 deletion cmake/mincore_test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# and so, this special testing is necessary to successfully compile.
#
#=============================================================================
# Copyright 2017-2024, Manticore Software LTD (https://manticoresearch.com)
# Copyright 2017-2025, Manticore Software LTD (https://manticoresearch.com)
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
Expand Down
10 changes: 5 additions & 5 deletions component-licenses/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ the components.

Copyright:
```
Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2017-2025, Manticore Software LTD (https://manticoresearch.com)
All rights reserved
```
Manticore Search is released under [GPL v3 or later](https://raw.githubusercontent.com/manticoresoftware/manticoresearch/master/LICENSE).
Expand Down Expand Up @@ -66,7 +66,7 @@ Manticore Search binaries may dynamically load and utilize the library at runtim

Copyright:
```
Copyright (c) 2020-2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2020-2025, Manticore Software LTD (https://manticoresearch.com)
All rights reserved
```

Expand All @@ -80,7 +80,7 @@ Copyright:
```
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc
Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2017-2025, Manticore Software LTD (https://manticoresearch.com)
All rights reserved

This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -114,7 +114,7 @@ Copyright:
```
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc
Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
Copyright (c) 2017-2025, Manticore Software LTD (https://manticoresearch.com)
All rights reserved

This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -212,7 +212,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
=============================================================================
Copyright 2015 Sphinx Technologies, Inc.
Copyright 2017-2024, Manticore Software LTD (https://manticoresearch.com)
Copyright 2017-2025, Manticore Software LTD (https://manticoresearch.com)

Distributed under the OSI-approved BSD License (the "License");
see accompanying file Copyright.txt for details.
Expand Down
2 changes: 1 addition & 1 deletion config/config_cmake.h.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2022-2024, Manticore Software LTD (https://manticoresearch.com)
// Copyright (c) 2022-2025, Manticore Software LTD (https://manticoresearch.com)
// Copyright (c) 2001-2016, Andrew Aksyonoff
// Copyright (c) 2008-2016, Sphinx Technologies Inc
// All rights reserved
Expand Down
4 changes: 2 additions & 2 deletions deps.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
backup 1.9.1+25021722-22bd3a05-dev
buddy 3.25.2+25030515-c240bded-dev
mcl 4.1.2 25031117 67f5136
buddy 3.26.0+25031221-aeb39da3-dev
mcl 4.1.2 25031206 15bbcc7
executor 1.3.1 25011510 1856ac9
tzdata 1.0.1 240904 3ba592a
load 1.17.0+25022618-55567dd9-dev
Expand Down
2 changes: 1 addition & 1 deletion doc/indexer.1
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ into the specified file, in a MySQL compatible syntax. The resulting dumps are t
Manticore Software LTD (https://manticoresearch\&.com)
.SH "COPYRIGHT"
.PP
Copyright 2017\-2024 Manticore Software LTD (https://manticoresearch\&.com), 2008\-2016 Sphinx Technologies Inc (http://sphinxsearch\&.com), 2001\-2016 Andrew Aksyonoff
Copyright 2017\-2025 Manticore Software LTD (https://manticoresearch\&.com), 2008\-2016 Sphinx Technologies Inc (http://sphinxsearch\&.com), 2001\-2016 Andrew Aksyonoff
.PP
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation\&.
.SH "SEE ALSO"
Expand Down
2 changes: 1 addition & 1 deletion doc/indextool.1
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ SET GLOBAL AUTO_OPTIMIZE=1;
Manticore Software LTD (https://manticoresearch\&.com)
.SH "COPYRIGHT"
.PP
Copyright 2017\-2024 Manticore Software LTD (https://manticoresearch\&.com), 2008\-2016 Sphinx Technologies Inc (http://sphinxsearch\&.com), 2001\-2016 Andrew Aksyonoff
Copyright 2017\-2025 Manticore Software LTD (https://manticoresearch\&.com), 2008\-2016 Sphinx Technologies Inc (http://sphinxsearch\&.com), 2001\-2016 Andrew Aksyonoff
.PP
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation\&.
.SH "SEE ALSO"
Expand Down
2 changes: 1 addition & 1 deletion doc/md2man.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authorAndCopyright=$(cat <<-END
Manticore Software LTD (https://manticoresearch\&.com)
.SH "COPYRIGHT"
.PP
Copyright 2017\-2024 Manticore Software LTD (https://manticoresearch\&.com), 2008\-2016 Sphinx Technologies Inc (http://sphinxsearch\&.com), 2001\-2016 Andrew Aksyonoff
Copyright 2017\-2025 Manticore Software LTD (https://manticoresearch\&.com), 2008\-2016 Sphinx Technologies Inc (http://sphinxsearch\&.com), 2001\-2016 Andrew Aksyonoff
.PP
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation\&.
END
Expand Down
2 changes: 1 addition & 1 deletion doc/searchd.1
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Manticore utilizes the \fB\fCplugin_dir\fR for storing and using Manticore Buddy
Manticore Software LTD (https://manticoresearch\&.com)
.SH "COPYRIGHT"
.PP
Copyright 2017\-2024 Manticore Software LTD (https://manticoresearch\&.com), 2008\-2016 Sphinx Technologies Inc (http://sphinxsearch\&.com), 2001\-2016 Andrew Aksyonoff
Copyright 2017\-2025 Manticore Software LTD (https://manticoresearch\&.com), 2008\-2016 Sphinx Technologies Inc (http://sphinxsearch\&.com), 2001\-2016 Andrew Aksyonoff
.PP
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation\&.
.SH "SEE ALSO"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Once the tables are replicated, write statements can be performed on any node, b
<!-- request SQL -->

```sql
ALTER CLUSTER click_query ADD clicks_daily_index
ALTER CLUSTER click_query ADD clicks_daily_table
```

<!-- request JSON -->

```json
POST /cli -d "
ALTER CLUSTER click_query ADD clicks_daily_index
ALTER CLUSTER click_query ADD clicks_daily_table
"
```

Expand All @@ -30,7 +30,7 @@ $params = [
'cluster' => 'click_query',
'body' => [
'operation' => 'add',
'table' => 'clicks_daily_index'
'table' => 'clicks_daily_table'

]
];
Expand All @@ -44,7 +44,7 @@ $response = $client->cluster()->alter($params);
<!-- request Python -->

```python
utilsApi.sql('ALTER CLUSTER click_query ADD clicks_daily_index')
utilsApi.sql('ALTER CLUSTER click_query ADD clicks_daily_table')
```

<!-- response Python -->
Expand All @@ -57,7 +57,7 @@ utilsApi.sql('ALTER CLUSTER click_query ADD clicks_daily_index')
<!-- request javascript -->

```javascript
res = await utilsApi.sql('ALTER CLUSTER click_query ADD clicks_daily_index');
res = await utilsApi.sql('ALTER CLUSTER click_query ADD clicks_daily_table');
```

<!-- response javascript -->
Expand All @@ -71,7 +71,7 @@ res = await utilsApi.sql('ALTER CLUSTER click_query ADD clicks_daily_index');
<!-- request Java -->

```java
utilsApi.sql("ALTER CLUSTER click_query ADD clicks_daily_index");
utilsApi.sql("ALTER CLUSTER click_query ADD clicks_daily_table");
```

<!-- intro -->
Expand All @@ -80,7 +80,7 @@ utilsApi.sql("ALTER CLUSTER click_query ADD clicks_daily_index");
<!-- request C# -->

```clike
utilsApi.Sql("ALTER CLUSTER click_query ADD clicks_daily_index");
utilsApi.Sql("ALTER CLUSTER click_query ADD clicks_daily_table");
```

<!-- end -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ The [Auto ID](../../Data_creation_and_modification/Adding_documents_to_a_table/A
<!-- request SQL -->

```sql
INSERT INTO posts:weekly_index VALUES ( 'iphone case' )
TRUNCATE RTINDEX click_query:weekly_index
INSERT INTO posts:weekly_table VALUES ( 'iphone case' )
TRUNCATE TABLE click_query:weekly_table
UPDATE INTO posts:rt_tags SET tags=(101, 302, 304) WHERE MATCH ('use') AND id IN (1,101,201)
DELETE FROM clicks:rt WHERE MATCH ('dumy') AND gid>206
```
Expand All @@ -76,7 +76,7 @@ DELETE FROM clicks:rt WHERE MATCH ('dumy') AND gid>206
POST /insert -d '
{
"cluster":"posts",
"table":"weekly_index",
"table":"weekly_table",
"doc":
{
"title" : "iphone case",
Expand All @@ -86,18 +86,18 @@ POST /insert -d '
POST /delete -d '
{
"cluster":"posts",
"table": "weekly_index",
"table": "weekly_table",
"id":1
}'
```

<!-- request PHP -->

```php
$index->addDocuments([
$table->addDocuments([
1, ['title' => 'iphone case', 'price' => 19.85]
]);
$index->deleteDocument(1);
$table->deleteDocument(1);
```

<!-- intro -->
Expand All @@ -106,17 +106,17 @@ $index->deleteDocument(1);
<!-- request Python -->

``` python
indexApi.insert({"cluster":"posts","table":"weekly_index","doc":{"title":"iphone case","price":19.85}})
indexApi.delete({"cluster":"posts","table":"weekly_index","id":1})
indexApi.insert({"cluster":"posts","table":"weekly_table","doc":{"title":"iphone case","price":19.85}})
indexApi.delete({"cluster":"posts","table":"weekly_table","id":1})
```
<!-- intro -->
##### Javascript:

<!-- request Javascript -->

``` javascript
res = await indexApi.insert({"cluster":"posts","table":"weekly_index","doc":{"title":"iphone case","price":19.85}});
res = await indexApi.delete({"cluster":"posts","table":"weekly_index","id":1});
res = await indexApi.insert({"cluster":"posts","table":"weekly_table","doc":{"title":"iphone case","price":19.85}});
res = await indexApi.delete({"cluster":"posts","table":"weekly_table","id":1});
```

<!-- intro -->
Expand All @@ -130,11 +130,11 @@ HashMap<String,Object> doc = new HashMap<String,Object>(){{
put("title","Crossbody Bag with Tassel");
put("price",19.85);
}};
newdoc.index("weekly_index").cluster("posts").id(1L).setDoc(doc);
newdoc.table("weekly_table").cluster("posts").id(1L).setDoc(doc);
sqlresult = indexApi.insert(newdoc);

DeleteDocumentRequest deleteRequest = new DeleteDocumentRequest();
deleteRequest.index("weekly_index").cluster("posts").setId(1L);
deleteRequest.table("weekly_table").cluster("posts").setId(1L);
indexApi.delete(deleteRequest);

```
Expand All @@ -148,10 +148,10 @@ indexApi.delete(deleteRequest);
Dictionary<string, Object> doc = new Dictionary<string, Object>();
doc.Add("title", "Crossbody Bag with Tassel");
doc.Add("price", 19.85);
InsertDocumentRequest newdoc = new InsertDocumentRequest(index: "weekly_index", cluster:posts, id: 1, doc: doc);
InsertDocumentRequest newdoc = new InsertDocumentRequest(table: "weekly_table", cluster:posts, id: 1, doc: doc);
var sqlresult = indexApi.Insert(newdoc);

DeleteDocumentRequest deleteDocumentRequest = new DeleteDocumentRequest(index: "weekly_index", cluster: "posts", id: 1);
DeleteDocumentRequest deleteDocumentRequest = new DeleteDocumentRequest(table: "weekly_table", cluster: "posts", id: 1);
indexApi.Delete(deleteDocumentRequest);
```
<!-- end -->
Expand All @@ -170,8 +170,8 @@ When using the HTTP endpoint `json/search`, the `cluster` property can be specif
<!-- request SQL -->

```sql
SELECT * FROM weekly_index
CALL PQ('posts:weekly_index', 'document is here')
SELECT * FROM weekly_table
CALL PQ('posts:weekly_table', 'document is here')
```

<!-- request JSON -->
Expand All @@ -180,12 +180,12 @@ CALL PQ('posts:weekly_index', 'document is here')
POST /search -d '
{
"cluster":"posts",
"table":"weekly_index",
"table":"weekly_table",
"query":{"match":{"title":"keyword"}}
}'
POST /search -d '
{
"table":"weekly_index",
"table":"weekly_table",
"query":{"match":{"title":"keyword"}}
}'
```
Expand Down Expand Up @@ -520,7 +520,7 @@ POST /insert -d '
<!-- request PHP -->

```php
$index->addDocuments([
$table->addDocuments([
3, ['title' => 'test me']
]);

Expand Down Expand Up @@ -553,7 +553,7 @@ InsertDocumentRequest newdoc = new InsertDocumentRequest();
HashMap<String,Object> doc = new HashMap<String,Object>(){{
put("title","test me");
}};
newdoc.index("pq_title").cluster("posts").id(3L).setDoc(doc);
newdoc.table("pq_title").cluster("posts").id(3L).setDoc(doc);
sqlresult = indexApi.insert(newdoc);
```

Expand All @@ -565,7 +565,7 @@ sqlresult = indexApi.insert(newdoc);
``` clike
Dictionary<string, Object> doc = new Dictionary<string, Object>();
doc.Add("title", "test me");
InsertDocumentRequest newdoc = new InsertDocumentRequest(index: "pq_title", cluster: "posts", id: 3, doc: doc);
InsertDocumentRequest newdoc = new InsertDocumentRequest(table: "pq_title", cluster: "posts", id: 3, doc: doc);
var sqlresult = indexApi.Insert(newdoc);
```
<!-- end -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ table foo {
#### Via SQL

```sql
CREATE TABLE distributed_index type='distributed' local='local_index' agent='127.0.0.1:9312:remote_table'
CREATE TABLE distributed_table type='distributed' local='local_table' agent='127.0.0.1:9312:remote_table'
```

#### Children
Expand Down
Loading