projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79b8802
)
Add facet structures
author
Dennis Schafroth
<dennis@indexdata.com>
Mon, 19 Jul 2010 15:24:24 +0000
(17:24 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Mon, 19 Jul 2010 15:24:24 +0000
(17:24 +0200)
src/zoom-p.h
patch
|
blob
|
history
diff --git
a/src/zoom-p.h
b/src/zoom-p.h
index
5c3ae57
..
a9c6b33
100644
(file)
--- a/
src/zoom-p.h
+++ b/
src/zoom-p.h
@@
-168,6
+168,7
@@
struct ZOOM_resultset_p {
#if ZOOM_RESULT_LISTS
#else
ZOOM_resultset next;
+ ZOOM_facet_field **facets;
#endif
};
@@
-188,6
+189,18
@@
struct ZOOM_record_p {
const char *diag_set;
};
+struct facet_term_p {
+ char *term;
+ int frequency;
+};
+
+struct ZOOM_facet_field_p {
+ char *facet_name;
+ int num_terms;
+ struct facet_term_p *facet_terms;
+};
+
+
struct ZOOM_record_cache_p {
struct ZOOM_record_p rec;
char *elementSetName;