diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-03-04 20:16:18 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-03-04 20:16:18 +0100 |
commit | 9bb70e2675a258f33f32d5fa27481d15314a5f44 (patch) | |
tree | 5cfe0418e72ac42cd7bffdb44e132dd1b55ea16c /strus/document.ana | |
parent | 73cc1f5e48719100c57126dc0956fea02d3d294e (diff) | |
download | www-andreasbaumann-cc-9bb70e2675a258f33f32d5fa27481d15314a5f44.tar.gz www-andreasbaumann-cc-9bb70e2675a258f33f32d5fa27481d15314a5f44.tar.bz2 |
added title instead of filename to ranklist
Diffstat (limited to 'strus/document.ana')
-rw-r--r-- | strus/document.ana | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/strus/document.ana b/strus/document.ana index a296775..3ffefa8 100644 --- a/strus/document.ana +++ b/strus/document.ana @@ -1,11 +1,14 @@ -[Attribute] - docid = orig content /posts/post/slug(); - filename = orig content /posts/post/filename(); -# title = orig content /posts/post/meta()/title(); +[Document] + post = /posts/post; [Content] "encoding=UTF-8; content=JSON;" /posts/post/meta(); +[Attribute] + docid = orig content /posts/post/slug(); + filename = orig content /posts/post/filename(); + title = orig content /posts/post/meta()/title(); + [SearchIndex] # word = lc:convdia(en):stem(en):lc word /posts/post/body/para(); # word = orig split /posts/post/body/para(); @@ -13,9 +16,6 @@ [ForwardIndex] word = orig split /posts/post/body/para(); - -[Document] - post = /posts/post; #[MetaData] # release_date = date2int("d 1877-01-01", "%Y-%m-%d %H:%M:%s *") content /posts/post/meta()/date; |