Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Profile picture
Milos Vavrek
Moderator
1 Question, 1 Answer
  Active since 24 January 2023
  Last activity 5 days ago

Reputation

15 + 15 this January

Badges 2

Eureka! Disciplined
1 Votes
2 Answers
42 Views
1 Votes 2 Answers 42 Views
Where is mistake: class Simple{ public static void main(String args[]){ System.out.println("Hello Java"); } }
5 days ago
1 Loram Epsum
public class LeapYearExample {    
public static void main(String[] args) {    
    int year=2020;    
    if(((year % 4 ==0) && (year % 100 !=0)) || (year % 400==0)){  
        System.out.println("LEAP YEAR");  
    }  
    else{  
        System.out.println("COMMON YEAR");  
    }  
}    
}    
5 days ago