[jira] Created: (LUCENE-1327) TermSpans skipTo() doesn't always move forwards

2008-07-06 Thread Moti Nisenson (JIRA)
TermSpans skipTo() doesn't always move forwards --- Key: LUCENE-1327 URL: https://issues.apache.org/jira/browse/LUCENE-1327 Project: Lucene - Java Issue Type: Bug Components: Query/Scorin

Re: Untokenized URL

2008-07-06 Thread blazingwolf7
I am trying to retrieve the url and use it as filter. The main problem is I don't want to use a reader to continuously retrieve the url for each document located. TermDocs termDocs = reader.termDocs(); TermEnum termEnum = reader.terms (new Term (field, "")); do{ Term term = termEnum.term(); }

RE: Untokenized URL

2008-07-06 Thread Uwe Schindler
As Shai told before, you should store the field twice: As tokenized field for your search and with a different name (e.g. "field-untokenized"). For your TermEnum Code you may use the untokenized field, for normal search queries the tokenized. If you want to retrieve the field contents with Document