On Sun, Dec 27, 2015 at 1:31 AM, Ishan Chattopadhyaya
wrote:
> I'm trying: DimensionalRangeQuery.new1DIntRange(fname, 1, true, 1, true);
Yes, that is the best way!
Remember that dimensional values are trunk only (to be Lucene 6.0,
hopefully soonish), and index file
Hi, (Mike?)
I am exploring Dimensional fields and excited about the potential speedups
and improved efficiency.
I have a DimensionalIntField (one dimensional) indexed, and wish to do
something equivalent to a Term query for a particular value. Is the
following the best way?
I want to do: new
It looks like you attempted to quote the URL in your query using
apostrophes (sometimes referred to as single quotes), but you need to use
quote (sometimes referred to as double quote).
Change:
id:'http://www.yahoo.com'
to:
id:"http://www.yahoo.com;
-- Jack Krupansky
On Sun, Dec 27, 2015 at
Hi
I'm trying to index documents that have a URL in some field, however as soon as
I try to index a URL like "http://yahoo.com; I get error:
org.apache.lucene.queryparser.classic.ParseException: Cannot parse
'id:'http://www.yahoo.com'': Encountered " ":" ": "" at line 1, column 8.
I asume I
Thanks for your feedback,
As Ahmet pointed out it was an error at query time, I was validating the id was
unique before inserting, and I was not escaping the url there, so I just added
QueryParser.escape() to my validator and the error went away.
thanks a ot!
> On Dec 27, 2015, at 2:17 PM,
Hi Daniel,
The exception you have posted is a parse exception.
Something occurs during querying. Not indexing.
There are some special characters that are part of query parsing syntax.
You need to escape them.
Ahmet
On Sunday, December 27, 2015 10:53 PM, Daniel Valdivia