• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
rosewiper / kopost_solr star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB
  • Files
  • Commit
  • Branches
kopost_solrexamplefilesconfvelocityhit.vm
Download as .zip file
File name
Commit message
Commit date
bin
첫번째 커밋
06-16
contrib
첫번째 커밋
06-16
dist
첫번째 커밋
06-16
docs
첫번째 커밋
06-16
example
첫번째 커밋
06-16
lib
첫번째 커밋
06-16
licenses
첫번째 커밋
06-16
server
첫번째 커밋
06-16
.project
첫번째 커밋
06-16
CHANGES.txt
첫번째 커밋
06-16
LICENSE.txt
첫번째 커밋
06-16
LUCENE_CHANGES.txt
첫번째 커밋
06-16
NOTICE.txt
첫번째 커밋
06-16
README.txt
첫번째 커밋
06-16
solr_실행 명령어.txt
첫번째 커밋
06-16
File name
Commit message
Commit date
example-DIH
첫번째 커밋
06-16
exampledocs
첫번째 커밋
06-16
files
첫번째 커밋
06-16
films
첫번째 커밋
06-16
resources
첫번째 커밋
06-16
techproducts
첫번째 커밋
06-16
README.txt
첫번째 커밋
06-16
File name
Commit message
Commit date
browse-resources/velocity
첫번째 커밋
06-16
conf
첫번째 커밋
06-16
README.txt
첫번째 커밋
06-16
File name
Commit message
Commit date
lang
첫번째 커밋
06-16
velocity
첫번째 커밋
06-16
currency.xml
첫번째 커밋
06-16
elevate.xml
첫번째 커밋
06-16
email_url_types.txt
첫번째 커밋
06-16
managed-schema
첫번째 커밋
06-16
params.json
첫번째 커밋
06-16
protwords.txt
첫번째 커밋
06-16
solrconfig.xml
첫번째 커밋
06-16
stopwords.txt
첫번째 커밋
06-16
synonyms.txt
첫번째 커밋
06-16
update-script.js
첫번째 커밋
06-16
File name
Commit message
Commit date
img
첫번째 커밋
06-16
js
첫번째 커밋
06-16
browse.vm
첫번째 커밋
06-16
dropit.js
첫번째 커밋
06-16
facet_doc_type.vm
첫번째 커밋
06-16
facet_text_shingles.vm
첫번째 커밋
06-16
facets.vm
첫번째 커밋
06-16
footer.vm
첫번째 커밋
06-16
head.vm
첫번째 커밋
06-16
hit.vm
첫번째 커밋
06-16
jquery.tx3-tag-cloud.js
첫번째 커밋
06-16
layout.vm
첫번째 커밋
06-16
macros.vm
첫번째 커밋
06-16
mime_type_lists.vm
첫번째 커밋
06-16
results.vm
첫번째 커밋
06-16
results_list.vm
첫번째 커밋
06-16
rosewiper 06-16 9dd39d2 첫번째 커밋 UNIX
Raw Open in browser Change history
#set($docId = $doc.getFirstValue($request.schema.uniqueKeyField.name)) ## Load Mime-Type List and Mapping #parse('mime_type_lists.vm') ## Title #if($doc.getFieldValue('title')) #set($title = $esc.html($doc.getFirstValue('title'))) #else #set($title = "$doc.getFirstValue('id').substring($math.add(1,$doc.getFirstValue('id').lastIndexOf('/')))") #end ## Date #if($doc.getFieldValue('attr_meta_creation_date')) #set($date = $esc.html($doc.getFirstValue('attr_meta_creation_date'))) #else #set($date = "No date found") #end ## URL #if($doc.getFieldValue('url')) #set($url = $doc.getFieldValue('url')) #elseif($doc.getFieldValue('resourcename')) #set($url = "file:///$doc.getFirstValue('resourcename')") #else #set($url = "$doc.getFieldValue('id')") #end ## Sort out Mime-Type #set($ct = $list.get($doc.getFirstValue('content_type').split(";"),0)) #set($filename = $doc.getFirstValue('resourcename')) #set($filetype = false) #set($filetype = $mimeExtensionsMap.get($ct)) #if(!$filetype) #set($filetype = $filename.substring($filename.lastIndexOf(".")).substring(1)) #end #if(!$filetype) #set($filetype = "file") #end #if(!$supportedMimeTypes.contains($filetype)) #set($filetype = "file") #end <div class="result-document"> <span class="result-title"> <img src="#{url_root}/img/filetypes/${filetype}.png" align="center"> <b>$title</b> </span> <div> id: $docId </br> </div> #set($pad = "") #foreach($v in $response.response.highlighting.get($docId).get("content")) $pad$esc.html($v).replace("HL_START","<em>").replace("HL_END","</em>") #set($pad = " ... ") #end </div> <a href="#" class="debug" onclick='jQuery(this).next().toggle(); return false;'>toggle explain</a> <pre style="display: none;"> $esc.html($response.getExplainMap().get($doc.getFirstValue('id'))) </pre> <a href="#" class="debug" onclick='jQuery(this).next().toggle(); return false;'>show all fields</a> <pre style="display:none;"> #foreach($fieldname in $doc.fieldNames) <span>$fieldname :</span> <span>#foreach($value in $doc.getFieldValues($fieldname))$esc.html($value)#end</span> #end </pre>

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up