[Lucene] QueryString Parser 간단 살펴보기
ITWeb/검색일반 2017. 10. 25. 13:11초간단 기억용으로 막 작성했습니다.
[QueryString Parser]
() - group
(jakarta OR apache) AND website
field:() - field group
title:(+return +"pink panther")
{} - range query - exclusive
[] - range query - inclusive
"" - exact term (non_analyzed)
field:something somthing - match query (analyzed)
? - single character
* - 0 or more chracters
~ - levenshtein distance query (fuzzy query)
""~10 - slop position gap within 10 words (proximity query)
something - boolean query
+something - must have something
-something - must not have something
^ - boosting
OR operator OR or ||
AND operator AND, && or +
NOT operator NOT, ! or -
dismax query parser
https://lucene.apache.org/solr/guide/6_6/the-dismax-query-parser.html