@@ -517,11 +517,11 @@ Search in all fields (``title``, ``description`` and ``summary``) for word
517517 **Search a single term on specific field **
518518
519519In order to search in specific field (``title ``) for term "education", add
520- the field name separated with ``| `` to the search term.
520+ the field name separated with ``: `` to the search term.
521521
522522.. code-block :: text
523523
524- http://127.0.0.1:8080/search/books/?search=title| education
524+ http://127.0.0.1:8080/search/books/?search=title: education
525525
526526 **Search for multiple terms **
527527
@@ -536,11 +536,11 @@ multiple ``search`` query params.
536536
537537In order to search for multiple terms "education", "technology" in specific
538538fields add multiple ``search `` query params and field names separated with
539- ``| `` to each of the search terms.
539+ ``: `` to each of the search terms.
540540
541541.. code-block :: text
542542
543- http://127.0.0.1:8080/search/books/?search=title| education&search=summary| technology
543+ http://127.0.0.1:8080/search/books/?search=title: education&search=summary: technology
544544
545545 **Search with boosting **
546546
@@ -590,7 +590,7 @@ Filter documents by field (``states``) "published" and "in_progress".
590590
591591.. code-block :: text
592592
593- http://127.0.0.1:8080/search/books/?state__in=published|in_progress
593+ http://127.0.0.1:8080/search/books/?state__in=published__in_progress
594594
595595 **Filter document by a single field **
596596
@@ -607,7 +607,7 @@ with use of functional ``in`` query filter.
607607
608608.. code-block :: text
609609
610- http://127.0.0.1:8080/search/books/?tags__in=education|economy
610+ http://127.0.0.1:8080/search/books/?tags__in=education__economy
611611
612612 You can achieve the same effect by specifying multiple fields (``tags ``)
613613"education" and "economy". Note, that in this case multiple filter terms are
@@ -644,15 +644,15 @@ Order documents by field ``price`` (ascending).
644644
645645.. code-block :: text
646646
647- http://127.0.0.1:8080/search/books/?search=title| lorem&ordering=price
647+ http://127.0.0.1:8080/search/books/?search=title: lorem&ordering=price
648648
649649 **Order documents by field (descending) **
650650
651651Order documents by field ``price `` (descending).
652652
653653.. code-block :: text
654654
655- http://127.0.0.1:8080/search/books/?search=title| lorem&ordering=-price
655+ http://127.0.0.1:8080/search/books/?search=title: lorem&ordering=-price
656656
657657 **Order documents by multiple fields **
658658
@@ -662,15 +662,15 @@ the example below, documents would be ordered first by field
662662
663663.. code-block :: text
664664
665- http://127.0.0.1:8080/search/books/?search=title| lorem&ordering=-publication_date&ordering=price
665+ http://127.0.0.1:8080/search/books/?search=title: lorem&ordering=-publication_date&ordering=price
666666
667667 Ids filter
668668----------
669669Filters documents that only have the provided ids.
670670
671671.. code-block :: text
672672
673- http://127.0.0.1:8000/api/articles/?ids=68|64|58
673+ http://127.0.0.1:8000/api/articles/?ids=68__64__58
674674
675675 Or, alternatively:
676676
@@ -881,7 +881,7 @@ Filter documents by field (``states``) "published" and "in_progress".
881881
882882.. code-block :: text
883883
884- http://127.0.0.1:8080/search/books/?state_pf__in=published|in_progress
884+ http://127.0.0.1:8080/search/books/?state_pf__in=published__in_progress
885885
886886 Geo-spatial features
887887--------------------
@@ -900,23 +900,23 @@ Filter documents by radius of 100000km from the given location.
900900
901901.. code-block :: text
902902
903- http://localhost:8000/search/publishers/?location__geo_distance=100000km|12.04| -63.93
903+ http://localhost:8000/search/publishers/?location__geo_distance=100000km__12.04__ -63.93
904904
905905 **Geo-polygon filtering **
906906
907907Filter documents that are located in the given polygon.
908908
909909.. code-block :: text
910910
911- http://localhost:8000/search/publishers/?location__geo_polygon=40,-70|30,-80|20 ,-90
911+ http://localhost:8000/search/publishers/?location__geo_polygon=40,-70__30,-80__20 ,-90
912912
913913 **Geo-bounding-box filtering **
914914
915915Filter documents that are located in the given bounding box.
916916
917917.. code-block :: text
918918
919- http://localhost:8000/search/publishers/?location__geo_bounding_box=44.87,40.07|43 .87,41.11
919+ http://localhost:8000/search/publishers/?location__geo_bounding_box=44.87,40.07__43 .87,41.11
920920
921921 Ordering
922922~~~~~~~~
@@ -925,7 +925,7 @@ Ordering
925925
926926.. code-block :: text
927927
928- http://localhost:8000/search/publishers/?ordering=location|48.85|2.30|km|plane
928+ http://localhost:8000/search/publishers/?ordering=location__48.85__2.30__km__plane
929929
930930 Suggestions
931931-----------
0 commit comments