O
O
ortsuev332018-09-16 09:07:40
Sphinx
ortsuev33, 2018-09-16 09:07:40

Ignores the id string, what's the problem?

there is a test database, a user table with different fields, I make such a request (I don’t know what it means yet, well, as far as I see the picture, this is the indexing process!?)

source testDoc2Src : mainConfSourse
{

  sql_query		= SELECT user.id AS id, user.name AS name \
          FROM user;

  #type of group fields
  sql_field_string = id
  sql_field_string = name
  
}

index testDoc2Index
{
  source					= testDoc2Src
  path					= C:/Sphinx/data/testDoc2/testDoc2
  morphology				= stem_enru, Soundex, Metaphone
  min_word_len			= 1
  expand_keywords 		= 1
  index_exact_words = 1
  min_infix_len = 3
  # dict					= keywords
  # mlock					= 0	
  # docinfo				= extern
  # min_stemming_len		= 1
  # wordforms				= C:/Sphinx/data/wordforms.txt
  # ngram_chars			= U+3000..U+2FA1F
  # phrase_boundary		= ., ?, !, U+2026 # horizontal ellipsis
}

I take the fields id (int) and name (string) I try to make a request with it C:\Sphinx\bin\indexer --all --config C:\Sphinx\sphinx.conf.in (as I understand it, do something using config (like indexing...))
and I write in the console ( attribute id not found -ignoring )
why does it ignore this field? isn't the sphinx lowercase? or integer too?
In the end, why am I getting an error? and the principle of operation of the sphinx in Google for a kettle of material did not find thanks in advance

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Dimonchik, 2018-09-16
@ortsuev33

has it all gone?
about ID, of course, yes, it's not obvious

isn't the sphinx lowercase
and it’s funny here,
but if anything - even if you don’t specify the ID in the muscle table - it will be there, see the data structures,
but Aksenov, of course, did Sphinx for himself, so he doesn’t bother explaining

E
Evgeny Petrov, 2015-04-06
@Mr_artmos

For example, like this https://jsfiddle.net/petroveg/tmmhhf1v/1/
There is also a second button https://jsfiddle.net/petroveg/tmmhhf1v/2/
You can specify box-shadow for it, but control over the height and tilt angle is achieved by adjusting the perspective, tilt, and magnification scale on the vertical axis.

A
Anton Nagaets, 2015-04-06
@gr1mm3r

habrahabr.ru/post/126207 complete analysis of drawing similar objects in CSS

I
Ilya Korablev, 2015-04-06
@swipeshot

Make a button now

V
Vitaly, 2015-04-06
@rim89

picture

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question