Re: Range query on a substring.

2013-07-16 Thread Jack Krupansky
et Arslan Sent: Tuesday, July 16, 2013 6:33 PM To: solr-user@lucene.apache.org Subject: Re: Range query on a substring. Hi Macrin, May be you can use https://issues.apache.org/jira/browse/SOLR-1604 . ComplexPhraseQueryParser supports ranges inside phrases. F

Re: Range query on a substring.

2013-07-16 Thread Ahmet Arslan
use a simple join operation. > > > > Or, maybe you need to do a multi-step query operation if you data is > > sufficiently complex. > > > > If you want to keep your multivalued field in its current form for > display > > purposes or keyword search, or

Re: Range query on a substring.

2013-07-16 Thread Roman Chyla
r data. > > > > > > You may be able to use a simple join operation. > > > > > > Or, maybe you need to do a multi-step query operation if you data is > > > sufficiently complex. > > > > > > If you want to keep your multivalued field in its

Re: Range query on a substring.

2013-07-16 Thread Marcin Rzewucki
operation. > > > > Or, maybe you need to do a multi-step query operation if you data is > > sufficiently complex. > > > > If you want to keep your multivalued field in its current form for > display > > purposes or keyword search, or exact match search, fine, b

Re: Range query on a substring.

2013-07-16 Thread Roman Chyla
rposes or keyword search, or exact match search, fine, but your stated > goal is inconsistent with the Semantics of Solr and Lucene. > > To be crystal clear, there is no such thing as "a range query on a > substring" in Solr or Lucene. > > -- Jack Krupansky > >

Re: Range query on a substring.

2013-07-16 Thread Jack Krupansky
To be crystal clear, there is no such thing as "a range query on a substring" in Solr or Lucene. -- Jack Krupansky -Original Message- From: Marcin Rzewucki Sent: Tuesday, July 16, 2013 5:13 AM To: solr-user@lucene.apache.org Subject: Re: Range query on a substring. By m

Re: Range query on a substring.

2013-07-16 Thread Marcin Rzewucki
By multivalued I meant an array of values. For example: text1 (X) text2 (Y) I'd like to avoid spliting it as you propose. I have 2.3mn collection with pretty large records (few hundreds fields and more per record). Duplicating them would impact performance. Regards. On 16 July 2013 10:26

Re: Range query on a substring.

2013-07-16 Thread Oleg Burlaca
Ah, you mean something like this: record: Id=10, text = "this is a text N1 (X), another text N2 (Y), text N3 (Z)" Id=11, text = "this is a text N1 (W), another text N2 (Q), third text (M)" and you need to search for: "text N1" and X < B ? How big is the core? the first thing that comes to my min

Re: Range query on a substring.

2013-07-16 Thread Marcin Rzewucki
Hi Oleg, It's a multivalued field and it won't be easier to query when I split this field into text and numbers. I may get wrong results. Regards. On 16 July 2013 09:35, Oleg Burlaca wrote: > IMHO the number(s) should be extracted and stored in separate columns in > SOLR at indexing time. > >

Re: Range query on a substring.

2013-07-16 Thread Oleg Burlaca
IMHO the number(s) should be extracted and stored in separate columns in SOLR at indexing time. -- Oleg On Tue, Jul 16, 2013 at 10:12 AM, Marcin Rzewucki wrote: > Hi, > > I have a problem (wonder if it is possible to solve it at all) with the > following query. There are documents with a field