Hi Pat,
Happy new year!
Here are the results you asked about, formatted a bit. They're
interesting. Hopefully I didn't make any typos in transcribing the
info - unfortunately I can't seem to copy text from my console to the
clipboard. Firstly, in the case of omitting the attributes public and
privileged (a set-up that works properly):
-----------------------------
query: "adjudicator"
-----------------------------
total_found:7
total:7
words:{"adjud"=>{:docs=>7,:hits=>141}}
status:0
time:0.0
attribute_names: author_sort, from_sort, to_sort, legal_case_id, code,
importance, last_access, date_written, created_at, updated_at,
doc_type, doc_file_type, physical_folder, sphinx_internal_id,
class_crc, subclass_crcs, sphinx_deleted
attributes: physical_folder => 3, author_sort => 3, updated_at => 2,
code => 3, doc_file_type => 3, doc_type => 3, sphinx_deleted => 1,
subclass_crcs => 1073741825, class_crc => 1, last_access => 2, to_sort
=> 3, legal_case_id => 1, from_sort => 3, importance => 1,
sphinx_internal_id => 1, created_at => 2, date_written => 1
matches:
index:0
weight:1
attributes:
physical_folder:2
author_sort:0
updated_at:1229445089
code:0
doc_file_type:2
doc_type:0
sphinx_deleted:0
subclass_crcs:[555739168]
class_crc:555739168
last_access:0
to_sort:0
legal_case_id:10
from_sort:0
importance:0
sphinx_internal_id:2232
created_at:1229445089
date_written:0
doc:2232
index:1
weight:1
attributes:
physical_folder:2
author_sort:0
updated_at:1229445091
code:0
doc_file_type:2
doc_type:0
sphinx_deleted:0
subclass_crcs:[555739168]
class_crc:555739168
last_access:0
to_sort:0
legal_case_id:10
from_sort:0
importance:0
sphinx_internal_id:2236
created_at:1229445091
date_written:0
doc:2236
[ed: abridging now...]
index:2
physical_folder:2
doc_file_type:2
doc_type:0
sphinx_internal_id:2238
doc:2238
index:3
physical_folder:2
doc_file_type:2
doc_type:0
sphinx_internal_id:2239
doc:2239
index:4
physical_folder:2
doc_file_type:2
doc_type:0
sphinx_internal_id:2240
doc:2240
index:5
physical_folder:2
doc_file_type:0
doc_type:0
sphinx_internal_id:2262
doc:2262
index:6
physical_folder:2
doc_file_type:0
doc_type:0
sphinx_internal_id:2265
doc:2265
-------------------------------------
Now running the same query on an index including all attributes:
-------------------------------------
total_found:7
total:7
words:{"adjud"=>{:docs=>7,:hits=>141}}
status:0
time:0.0
attribute_names: author_sort, from_sort, to_sort, legal_case_id, code,
pub, privileged, importance, last_access, date_written, created_at,
updated_at, doc_type, doc_file_type, physical_folder,
sphinx_internal_id, class_crc, subclass_crcs, sphinx_deleted
attributes: physical_folder => 3, author_sort => 3, updated_at => 2,
code => 3, doc_file_type => 3, doc_type => 3, sphinx_deleted => 1,
subclass_crcs => 1073741825, class_crc => 1, last_access => 2, to_sort
=> 3, pub => 4, privileged => 4, legal_case_id => 1, from_sort => 3,
importance => 1, sphinx_internal_id => 1, created_at => 2,
date_written => 1
matches:
index:0
weight:1
attributes:
physical_folder:2
author_sort:0
updated_at:1229445089
code:0
doc_file_type:0
doc_type:0
sphinx_deleted:0
subclass_crcs:[555739168]
class_crc:555739168
last_access:0
to_sort:0
public:0
privileged:0
legal_case_id:10
from_sort:0
importance:0
sphinx_internal_id:2
created_at:1229445089
date_written:0
doc:2232
index:1
weight:1
attributes:
physical_folder:2
author_sort:0
updated_at:1229445091
code:0
doc_file_type:0
doc_type:0
sphinx_deleted:0
subclass_crcs:[555739168]
class_crc:555739168
last_access:0
to_sort:0
public:0
privileged:0
legal_case_id:10
from_sort:0
importance:0
sphinx_internal_id:2
created_at:1229445091
date_written:0
doc:2236
[ed: abridging now...]
index:2
physical_folder:2
doc_file_type:0
doc_type:0
sphinx_internal_id:2238
doc:2238
index:3
physical_folder:2
doc_file_type:0
doc_type:0
sphinx_internal_id:2
doc:2239
index:4
physical_folder:2
doc_file_type:0
doc_type:0
sphinx_internal_id:2
doc:2240
index:5
physical_folder:0
doc_file_type:0
doc_type:0
sphinx_internal_id:2
doc:2262
index:6
physical_folder:0
doc_file_type:0
doc_type:0
sphinx_internal_id:2
doc:2265
---------------------------------
The constant stream of sphinx_internal_id==2 in the second set of
results is reflected in development.log: I am getting an array
[2,2,2,2,2....] returned by sphinx instead of the [0,0,0,....] I was
getting before. I don't know what I changed to bring that about. Note
the changes in the values of physical_folder and doc_file_type between
the two sets:
In the first set:
results 0-6: physical_folder==2;
results 0-4: doc_file_type==2;
results 5-6: doc_file_type==0.
In the second set:
results 0-4: physical_folder==2;
results 5,6: physical_folder==0;
results 0-6: doc_file_type==0.
The values of pub & privileged were ==0 for all hits (in the second
set).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---