Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 121320

An array is an ordered linear data structure consisting of a collection of elements (values, variables, or references), each identified by one or more indexes. When asking about specific variants of arrays, use related tags as well. When using this tag, in a question that is specific to a database, tag the question with the database being used.

2 votes
2 answers
2k views

How to get lexemes in original sort order from ts_vector?

Postgres' full text search to_tsvector() function returns a sorted array of lexemes. I need exactly that, just with lexemes in original sort order. …
zlatko's user avatar
  • 175
0 votes

How to get lexemes in original sort order from ts_vector?

CREATE OR REPLACE FUNCTION public.tokenize_orig( p_string text, p_dictionary regconfig) RETURNS text[] AS $BODY$ /* This function turns documents into array of lexemes, keeping original order …
zlatko's user avatar
  • 175