글수 318
안녕하세요.
doc.add(Field.Text("title", ttt)); <-- 이렇게 Field.Text 로 하면 에러가 나요.
doc.add(Field.Keyword("title", ttt)); <-- 이렇게 Field.Keyword로 하면 정상 동작 하구요.
조언 부탁드릴꼐요.
에러 첨부합니다.--------------------------
Overflow : max. words at 199999(관찰에서 N4n000@
)
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x007c441a, pid=22892, tid=3086960320
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_07-b03 mixed mode)
# Problematic frame:
# C [libc.so.6+0x6941a] strcmp+0xa
#
# An error report file with more information is saved as hs_err_pid22892.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
중지됨




2.x 대 버전에서는 아래와 같이 사용합니다.
doc.add(new Field("text", title, Field.Store.YES, Field.Index.TOKENIZED, Field.TermVector.YES));