All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.it.unimi.di.mg4j.query.query.velocity Maven / Gradle / Ivy

Go to download

MG4J (Managing Gigabytes for Java) is a free full-text search engine for large document collections written in Java.

There is a newer version: 5.2.2
Show newest version




MG4J: $q



MG4J

Learn syntax #if ($errmsg)

Syntax error: $errmsg #else #if ($q && $result.size() != 0) #set ($end = $start + $result.size() - 1) Results $start−$end of $globNumItems for $q ($time ms; $speed items/s) ## Results #foreach($i in $result)

#if ($i.uri()) $i.title() #else $i.title() #end [$i.score(6)]

#if ($i.text()) $i.text() #end
#end ## Buttons #if ($result.size() < $globNumItems)
#set ($prev = $start - $maxNumItems) #if ($prev >= 0) ⇦ Previous #end #set ($p = $start - $start % ($maxNumItems * 10)) #foreach($i in [0..9]) #if ($p < $globNumItems) #set ($page = $p / $maxNumItems + 1) #if ($p == $start) $page #else $page #end #set ($p = $p + $maxNumItems) #end #end #set ($next = $start + $maxNumItems) #if ($next < $globNumItems) Next ⇨ #end
#end #else #if ($q.length() > 0)

No results for this query ($time ms). #end #end #end





© 2015 - 2025 Weber Informatics LLC | Privacy Policy