Re: copyField from empty multivalue

2020-08-07 Thread matthew sporleder
Nevermind I think we found this was caused by a bug in our (new) custom indexer On Thu, Aug 6, 2020 at 4:11 PM matthew sporleder wrote: > > I have a copyField: > > > > But sometimes preview ( indexed="true" stored="true" multiValued="true" />) is not populated. > > It appears that the "catcha

copyField from empty multivalue

2020-08-06 Thread matthew sporleder
I have a copyField: But sometimes preview () is not populated. It appears that the "catchall" field does not get created when preview has no content in it. Can I use required=false or similar on a copyField? Thanks, Matt

Re: Parallel SQL join on multivalue fields

2020-07-01 Thread Piero Scrima
the reason why JOIN works is because of the Calcite framework. The parallel sql features leverages Calcite, which implements all the sql features, all you need is to provide the way for calcite to get the collection/table, in solr this is done by the SolrTable.java (package org.apache.solr.handler.

Re: Parallel SQL join on multivalue fields

2020-07-01 Thread Joel Bernstein
There isn't any real support for joins in Parallel SQL currently. I'm surprised that you're having some success doing them. Can you provide a sample SQL join that is working for you? Joel Bernstein http://joelsolr.blogspot.com/ On Fri, Jun 26, 2020 at 3:32 AM Piero Scrima wrote: > Hi, > > Al

Parallel SQL join on multivalue fields

2020-06-26 Thread Piero Scrima
Hi, Although there is no trace of join functionality in the official Solr documentation (https://lucene.apache.org/solr/guide/7_4/parallel-sql-interface.html), joining in parallel sql works in practice. It only works if the field is not a multivalued field. For my project it would be fantastic if

Parallel SQL join on multivalue fields

2020-06-25 Thread Piero Scrima
Dear all, Although there is no trace of join functionality in the official Solr documentation (https://lucene.apache.org/solr/guide/7_4/parallel-sql-interface.html), joining in parallel sql works in practice. It only works if the field is not a multivalued field. For my project it would be fantast

Re: multivalue faceting term optimization

2020-03-09 Thread Jörn Franke
hll stands for https://en.wikipedia.org/wiki/HyperLogLog You will not get the exact distinct count, but a distinct count very close to the real number. It is very fast and memory efficient for large number of distinct values. > Am 10.03.2020 um 00:25 schrieb Nicolas Paris : > >  > Erick Erick

Re: multivalue faceting term optimization

2020-03-09 Thread Nicolas Paris
Erick Erickson writes: > Have you looked at the HyperLogLog stuff? Here’s at least a mention of > it: https://lucene.apache.org/solr/guide/8_4/the-stats-component.html I am used to hll in the context of count distinct values -- cardinality. I have to admit that section https://lucene.apache.o

Re: multivalue faceting term optimization

2020-03-09 Thread Nicolas Paris
Toke Eskildsen writes: > JSON faceting allows you to skip the fine counting with the parameter > refine: I also tried the facet.refine parameter, but didn't notice any improvement. >> I am wondering how I could filter the documents to get approximate >> facets ? > > Clunky idea: Introduce a

Re: multivalue faceting term optimization

2020-03-09 Thread Erick Erickson
rds with xmx = 120GO and ssd disks > - 50M documents / 40GO physical per shard > - mainly large texts fields and also, one multivalue/docvalue/indexed string > list of 15 values per document > > > Goal: > I want to provide terms facet on a string multivalue field. This of

Re: multivalue faceting term optimization

2020-03-09 Thread Toke Eskildsen
On Mon, 2020-03-09 at 10:39 +0100, Nicolas Paris wrote: > I want to provide terms facet on a string multivalue field. > ... > How to improve brute performances ? It might help to have everything in a single shard, to avoid the secondary fine count. But your index is rather large for sin

multivalue faceting term optimization

2020-03-09 Thread Nicolas Paris
Hello, Environment: - SolrCloud 8.4.1 - 4 shards with xmx = 120GO and ssd disks - 50M documents / 40GO physical per shard - mainly large texts fields and also, one multivalue/docvalue/indexed string list of 15 values per document Goal: I want to provide terms facet on a string multivalue field

Re: Update documents cause multivalue fields unexpected behaviour

2019-05-07 Thread Shawn Heisey
On 5/7/2019 5:45 AM, Jie Luo wrote: For the fields that are set as stored true, query works fine, but for fields that are set as stored false, the query does not work after the documents are updated. SolrInputDocument solrInputDocument = new SolrInputDocument(); solrInputDocum

Re: Update documents cause multivalue fields unexpected behaviour

2019-05-07 Thread Jie Luo
rocess is to build the SolrDocuments and indexes, >> other processes try to update the other fields of the solrdocuments and >> their indexes. Then I noticed that when I search previous indexed >> multivalue fields (not stored), it returns wrong results (fewer data). I >>

Re: Update documents cause multivalue fields unexpected behaviour

2019-05-05 Thread Walter Underwood
019, at 3:57 AM, Jie Luo wrote: > > Dear solr user, > > I have processes, first process is to build the SolrDocuments and indexes, > other processes try to update the other fields of the solrdocuments and their > indexes. Then I noticed that when I search previous indexed

Re: Update documents cause multivalue fields unexpected behaviour

2019-05-04 Thread Jörn Franke
dexes, > other processes try to update the other fields of the solrdocuments and their > indexes. Then I noticed that when I search previous indexed multivalue > fields (not stored), it returns wrong results (fewer data). I tested with > five documents, it will only return one docu

Update documents cause multivalue fields unexpected behaviour

2019-05-04 Thread Jie Luo
Dear solr user, I have processes, first process is to build the SolrDocuments and indexes, other processes try to update the other fields of the solrdocuments and their indexes. Then I noticed that when I search previous indexed multivalue fields (not stored), it returns wrong results (fewer

Re: Multivalue Field lookup

2019-04-15 Thread Kumaresh AK
> Edwin > > On Mon, 15 Apr 2019 at 05:53, Kumaresh AK wrote: > > > How would I go about change by field type to facilitate highlighting ? I > > tried hl on my current schema and the highlight section is empty. I > guess I > > need to change to multivalue tex

RE: Multivalue Field lookup

2019-04-15 Thread Wolf, Karl (NIH/NLM/LHC) [C]
son for my Solr jira bug Solr-13367. This used to work in Solr 5.1.0 but it is broken in newer versions of Solr (at least in 7.5.0, 7.7.1, 8.0.0) Karl -Original Message- From: Zheng Lin Edwin Yeo Sent: Sunday, April 14, 2019 9:36 PM To: solr-user@lucene.apache.org Subject: Re: Multival

Re: Multivalue Field lookup

2019-04-14 Thread Zheng Lin Edwin Yeo
hl on my current schema and the highlight section is empty. I guess I > need to change to multivalue text. Currently it is String Field as these > are identifiers and no analysis needed on those > > On Sun, Apr 14, 2019 at 5:29 AM Mikhail Khludnev wrote: > > > Btw, can

Re: Multivalue Field lookup

2019-04-14 Thread Kumaresh AK
How would I go about change by field type to facilitate highlighting ? I tried hl on my current schema and the highlight section is empty. I guess I need to change to multivalue text. Currently it is String Field as these are identifiers and no analysis needed on those On Sun, Apr 14, 2019 at

Re: Multivalue Field lookup

2019-04-14 Thread Mikhail Khludnev
Btw, can it be done by highlighting? On Sun, Apr 14, 2019 at 3:22 PM Kumaresh AK wrote: > Hi Mikhail, > Thanks for the response. I see the results have the details I am looking > for. But it is not well structured. I sense that the debug=results is for > understanding the scoring behind the resu

Re: Multivalue Field lookup

2019-04-14 Thread Kumaresh AK
Hi Mikhail, Thanks for the response. I see the results have the details I am looking for. But it is not well structured. I sense that the debug=results is for understanding the scoring behind the results which can be more than what I am looking for. Is there any other way ? The multivalued field ma

Re: Multivalue Field lookup

2019-04-14 Thread Mikhail Khludnev
Hello, Kumaresh! If you turn it to q you may try debug=results&debug.explain.structured=true with some performance impact. On Sun, Apr 14, 2019 at 2:41 AM Kumaresh AK wrote: > Hello! > I am new to SOLR. This is my field type definition: > > > > stored="true" multiValued="true" omitTermFreqAndP

Multivalue Field lookup

2019-04-13 Thread Kumaresh AK
Hello! I am new to SOLR. This is my field type definition: > stored="true" multiValued="true" omitTermFreqAndPositions="true" > omitNorms="true" /> One use-case we have is to lookup multiple myid with an OR like > fq=myid:(1 2 3 4..) I wish to know which entry in the fq matched this document.

Re: Search only for single value of Solr multivalue field (part 2)

2018-12-17 Thread Nicolas Paris
On Sun, Dec 16, 2018 at 05:44:30PM -0800, Erick Erickson wrote: > No, the idea is that you have N single valued fields, one for each of > the MV entries you have. The copyField dest would be MV, and only used > in those cases you wanted to match across values. Not saying that's a > great solution,

Re: Search only for single value of Solr multivalue field (part 2)

2018-12-16 Thread Erick Erickson
bq. multiple fields acts as a MV field No, the idea is that you have N single valued fields, one for each of the MV entries you have. The copyField dest would be MV, and only used in those cases you wanted to match across values. Not saying that's a great solution, or if it would even necessarily

Re: Search only for single value of Solr multivalue field (part 2)

2018-12-16 Thread Nicolas Paris
On Sun, Dec 16, 2018 at 09:30:33AM -0800, Erick Erickson wrote: > Have you looked at ComplexPhraseQueryParser here? > https://lucene.apache.org/solr/guide/6_6/other-parsers.html Sure. However, I am using multi-word synonyms and so far the complexphrase does not handle them. (maybe soon ?) > Depen

Re: Search only for single value of Solr multivalue field (part 2)

2018-12-16 Thread Erick Erickson
there a chance such feature will be developed in future SolR version ? I > mean something > allowing considering multivalued fields independently ? A new field > attribute such independentMultivalued=true would be ok ? > > Thanks, > > > [1]: > http://lucene.472066.n3.nabble.com/Search-only-for-single-value-of-Solr-multivalue-field-td4309850.html#a4309893 > > -- > nicolas

Search only for single value of Solr multivalue field (part 2)

2018-12-16 Thread Nicolas Paris
xt:([000 TO 001] AND "second") QUESTION: - Is there a chance such feature will be developed in future SolR version ? I mean something allowing considering multivalued fields independently ? A new field attribute such independentMultivalued=true would be ok ? Thanks, [1

default values in multiValue field

2017-08-02 Thread Steve Pruitt
Are default values supported for fields defined as multivalued text? I can't get it to work. Scouring the documentation, I found nothing indicating the two attributes are mutually exclusive. I found a couple of online examples indicating the two attributes can be used together. I have this f

Re: Search only for single value of Solr multivalue field

2016-12-16 Thread Leo BRUVRY-LAGADEC
Hi Dorian, Firstly thanks for your response, but it does not seems to work. Here is another example, I want to search document with affiliations contains the NHM (Natural History Museum) of India. So, I want to only get the document with id=2 : 1 NHM, Austria Annamalai Univ, Ind

Re: Search only for single value of Solr multivalue field

2016-12-15 Thread Erick Erickson
Phrase queries and slop and positionIncrementGap ;) The fieldType has a positionIncrementGap. This is the token delta between the end token of one entry and the beginning of the next. so the first entry: IFREMER, Ctr Brest, DRO Geosci Marines, F-29280 Plouzane, France IFREMER would have a positio

Re: Search only for single value of Solr multivalue field

2016-12-15 Thread Dorian Hoxha
You should be able to filter "(word1 in field OR word2 in field) AND NOT(word1 in field AND word2 in field)". Translate that into the right syntax. I don't know if lucene is smart enough to execute the filter only once (it should be i guess). Makes sense ? On Thu, Dec 15, 2016 at 12:12 PM, Leo BRU

Search only for single value of Solr multivalue field

2016-12-15 Thread Leo BRUVRY-LAGADEC
Hi, I have a multivalued field in my schema called "idx_affilliation". IFREMER, Ctr Brest, DRO Geosci Marines, F-29280 Plouzane, France. Univ Lisbon, Ctr Geofis, P-1269102 Lisbon, Portugal. Univ Bretagne Occidentale, Inst Univ Europeen Mer, Lab Domaines Ocean, F-29280 Plouzane, France. Total

Re: Stream expressions: Break up multivalue field into usable tuples

2016-10-08 Thread Joel Bernstein
Great, I'm not sure if you noticed that SOLR-9537 has been committed and will be in 6.3. So now you can directly wrap a facet expression with the scoreNodes expression. Yeah, other scoring algorithms would be a great thing. We can adjust the ScoreNodesStream to make this more flexible. Feel free t

Re: Stream expressions: Break up multivalue field into usable tuples

2016-10-08 Thread Doug Turnbull
Joel -- thanks! Got this working and now feel in a better shape to grok what's happening Out of curiosity, is there any work being done to customize scoreNodes scoring? There's a bunch of other forms of similarity I wouldn't mind playing with as well. On Thu, Sep 22, 2016 at 6:06 PM Joel Bernstei

Re: Stream expressions: Break up multivalue field into usable tuples

2016-09-22 Thread Joel Bernstein
You could use the facet() expression which works with multi-value fields. This emits aggregated tuples useful for recommendations. For example: facet(baskets, q="item:taco", buckets="item", bucketSorts="count(*) desc", bucketSizeLimit="100", count(*))

Stream expressions: Break up multivalue field into usable tuples

2016-09-22 Thread Doug Turnbull
I have a field like follows in my search index { "shopper_id": 1234, "basket_id": 2512, "items_bought": ["eggs", "tacos", "nachos"] } { "shopper_id" 1236, "basket_id": 2515, "items_bought": ["eggs", "tacos", "chicken", "bubble gum"] } I would like to use some of the stream expr

Re: Best way to generate multivalue fields from streaming API

2016-09-22 Thread Gus Heck
> > > > runInterval="6", > > > > update(users, > > > > batchSize=10, > > > > jdbc(connection="jdbc:mysql://localhost/users?user=root&password=solr", > > sql="SELECT id, name FROM users", sort="id asc", > > driver="com.mysql.jdbc.Driver") > > > > ) > > > > What's the best way to handle a multivalue field using this API? Is > > there a way to tokenize something returned in a database field? > > > > Thanks, > > > > Mike > > > -- http://www.the111shift.com

Re: Best way to generate multivalue fields from streaming API

2016-09-16 Thread Joel Bernstein
quot;SELECT id, name FROM users", sort="id asc", > driver="com.mysql.jdbc.Driver") > > ) > > What's the best way to handle a multivalue field using this API? Is > there a way to tokenize something returned in a database field? > > Thanks, > > Mike >

Best way to generate multivalue fields from streaming API

2016-09-16 Thread Mike Thomsen
nnection="jdbc:mysql://localhost/users?user=root&password=solr", sql="SELECT id, name FROM users", sort="id asc", driver="com.mysql.jdbc.Driver") ) What's the best way to handle a multivalue field using this API? Is there a way to tokenize something returned in a database field? Thanks, Mike

Re: Exception using Json Facet API with Multivalue Int field +docValues=true

2015-09-08 Thread Mikhail Khludnev
it might be a bug. > > > > > > Regards, > >Alex. > > > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > > http://www.solr-start.com/ > > > > > > On 8 September 2015 at 17:22, Curtis Fehr wrote: > >

RE: Exception using Json Facet API with Multivalue Int field +docValues=true

2015-09-08 Thread Curtis Fehr
lyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 8 September 2015 at 17:22, Curtis Fehr wrote: >> Hello! >> >> I'm attempting to facet a multivalue int field that has docvalues >> enabled. Using the new json fac

Re: Exception using Json Facet API with Multivalue Int field +docValues=true

2015-09-08 Thread Alexandre Rafalovitch
>Alex. > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 8 September 2015 at 17:22, Curtis Fehr wrote: >> Hello! >> >> I'm attempting to facet a multivalue int field that has docvalue

RE: Exception using Json Facet API with Multivalue Int field +docValues=true

2015-09-08 Thread Curtis Fehr
, Curtis Fehr wrote: > Hello! > > I'm attempting to facet a multivalue int field that has docvalues > enabled. Using the new json facet api, running 5.3.0, I get the > exception here: http://pastebin.com/xNaqGJRf > > Here's the relevant config: > docValues=&

Re: Exception using Json Facet API with Multivalue Int field +docValues=true

2015-09-08 Thread Alexandre Rafalovitch
Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 8 September 2015 at 17:22, Curtis Fehr wrote: > Hello! > > I'm attempting to facet a multivalue int field that has docvalues enabled. > Using the new json facet api, running 5.3.0, I get

Exception using Json Facet API with Multivalue Int field +docValues=true

2015-09-08 Thread Curtis Fehr
Hello! I'm attempting to facet a multivalue int field that has docvalues enabled. Using the new json facet api, running 5.3.0, I get the exception here: http://pastebin.com/xNaqGJRf Here's the relevant config: Here's my facet: json.facet={"pv-44":{"type&quo

Re: Index of Hit in MultiValue fields

2015-05-26 Thread Alessandro Benedetti
We had a similar problem, when searching we wanted to return the doc, and for the multi-valued field we wanted to show only the value that matched the search. This was used for an advanced auto suggestion. As Upaya specified, Highlighting was the good solution for us. Managing in the UI only the

Re: Index of Hit in MultiValue fields

2015-05-26 Thread Upayavira
The result that Solr returns is the document, not anything beneath, so no, you cannot do this. You could use highlighting, you could parse the output of explains (&debug.explains.structured=true will help) to identify which field triggered the match. Alternatively, you could use block joins. Make

Index of Hit in MultiValue fields

2015-05-26 Thread Rodolfo Zitellini
Dear List, In my schema I have a couple multi value fields and I would need to retrive the index of which one generated a match. For example let's suppose I have a text field like this with three values: MyField: [0] Red [1] Blue [2] Green Searching for "Blue" gets me the document, but I would al

Re: Index string returned by 'splitby' by further splitting instead of multivalue

2015-02-10 Thread Alexandre Rafalovitch
Can you do after DIH in the UpdateRequestProcessor chain? Might be cleaner than trying to hack the multi-path processing in DIH. Regards, Alex. Sign up for my Solr resources newsletter at http://www.solr-start.com/ On 10 February 2015 at 04:29, Pankaj Sonawane wrote: > Hi, > > I am usin

Index string returned by 'splitby' by further splitting instead of multivalue

2015-02-10 Thread Pankaj Sonawane
Hi, I am using Solr DataImportHandler to index data from database table(Oracle). One of the column contains String of ='s and ','s (Please column3 in example below) Like Column1 = "F" Column2 = "ASDF" *Column3 = "A=1,B=2,C=3,D=4..Z=26"* I want solr to index each 'alphabet' against it

Stats calculation of existInDoc on multivalue fields which are doc valued

2015-02-03 Thread Elran Dvir
Hi all, I uploaded a patch (https://issues.apache.org/jira/browse/SOLR-5972) that contains a new statistics result for a field - existInDoc. It returns the number of documents in which the field has a value (not missing). This patch is bason on Solr 4.4. For multivalue fields there is a

Re: Term count in multivalue fields

2014-11-08 Thread Nickolay41189
"while indexing add a field containing the number" isn't suitable for my case. I can't add new field and do indexing. -- View this message in context: http://lucene.472066.n3.nabble.com/Term-count-in-multivalue-fields-tp4168138p4168400.html Sent from the Solr - User mai

Re: Term count in multivalue fields

2014-11-08 Thread Anurag Sharma
t; > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Term-count-in-multivalue-fields-tp4168138p4168167.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Term count in multivalue fields

2014-11-07 Thread Nickolay41189
Andrey, thank you for reply. Can you explain what do you mean "faceting query with prefix"? I'm newer in the wolrd of Solr, can you give me example of this query? -- View this message in context: http://lucene.472066.n3.nabble.com/Term-count-in-multivalue-fields-tp4168138p41

Re: Term count in multivalue fields

2014-11-07 Thread andrey prokopenko
esults due to reason I've stated above. On Fri, Nov 7, 2014 at 12:16 PM, Nickolay41189 wrote: > I have multivalue field in my schema.xml: > stored="true" multivalue="true" > omitNorms="true" omitTermFreqAndPositions="true"/>

Term count in multivalue fields

2014-11-07 Thread Nickolay41189
I have multivalue field in my schema.xml: I have indexed the following documents: ... bmp zip bmp ... ... zip zip bmp ... How can I retrieve the count of the term "zip" (in this example it must be 3) from all multivalued field in this ind

Re: Ignoring Duplicates in Multivalue Field

2014-11-03 Thread Matthew Nigl
: Tomer Levi > Sent: Monday, November 3, 2014 4:19 AM > To: solr-user@lucene.apache.org ; Ahmet Arslan > Subject: RE: Ignoring Duplicates in Multivalue Field > > > Hi Ahmet, > When I add the RunUpdateProcessorFactory Solr didn't remove any > duplications. > Any other idea? &g

Re: Ignoring Duplicates in Multivalue Field

2014-11-03 Thread Jack Krupansky
cwiki.apache.org/confluence/display/solr/Updating+Parts+of+Documents -- Jack Krupansky -Original Message- From: Tomer Levi Sent: Monday, November 3, 2014 4:19 AM To: solr-user@lucene.apache.org ; Ahmet Arslan Subject: RE: Ignoring Duplicates in Multivalue Field Hi Ahmet, When I add the RunU

RE: Ignoring Duplicates in Multivalue Field

2014-11-03 Thread Tomer Levi
es in Multivalue Field Hi Tomer, What happens when you addto your chain? Ahmet On Sunday, November 2, 2014 1:22 PM, Tomer Levi wrote: Hi, I’m trying to make my “update” request handler ignore multivalue duplications in updates. To make my use case clear, let’s assume my index already con

Re: Ignoring Duplicates in Multivalue Field

2014-11-02 Thread Ahmet Arslan
Hi Tomer, What happens when you addto your chain? Ahmet On Sunday, November 2, 2014 1:22 PM, Tomer Levi wrote: Hi, I’m trying to make my “update” request handler ignore multivalue duplications in updates. To make my use case clear, let’s assume my index already contains a document

Ignoring Duplicates in Multivalue Field

2014-11-02 Thread Tomer Levi
Hi, I'm trying to make my "update" request handler ignore multivalue duplications in updates. To make my use case clear, let's assume my index already contains a document like: { id:"100", "myMultValueField": ["1","2",&qu

Re: Multivalue wild card search

2014-06-23 Thread Erick Erickson
nder\", \"\"]]", >> > > >"[]", >> > > >"[[\"hifte\", \"Grop\", \"\"]]" >> > > >] >> > > > >> > > >// Doc 2 >> > > > >> > > >&

Re: Multivalue wild card search

2014-06-23 Thread Ethan
"[[\"Ethan\", \"G\", \"\"],[\"Steve\", \"\", \"\"]]", > > > >"[]", > > > >] > > > > > > > >Here, how do I find the document with Name that co

Re: Multivalue wild card search

2014-06-23 Thread Ahmet Arslan
t doesn't work. > > > > > > > > > > > > > > > > > >On Fri, Jun 6, 2014 at 11:10 AM, Ahmet Arslan > > > >wrote: > > > > > >> Hi Ethan, > > >> > > >> > > >> It is hard to unde

Re: Multivalue wild card search

2014-06-23 Thread Ethan
> > > > > > > > > > > > > >On Fri, Jun 6, 2014 at 11:10 AM, Ahmet Arslan > > > >wrote: > > > > > >> Hi Ethan, > > >> > > >> > > >> It is hard to understand your example. Can you re-write it?

Re: Multivalue wild card search

2014-06-23 Thread Ahmet Arslan
e-write it? Using xml? > >> > >> > >> > >> On Friday, June 6, 2014 9:07 PM, Ethan wrote: > >> Bumping the thread to see if anyone has a solution. > >> > >> > >> > >> > >> > >> On Thu, Jun 5, 2014 at 9:

Re: Multivalue wild card search

2014-06-23 Thread Ethan
> >> > >> > >> On Friday, June 6, 2014 9:07 PM, Ethan wrote: > >> Bumping the thread to see if anyone has a solution. > >> > >> > >> > >> > >> > >> On Thu, Jun 5, 2014 at 9:52 AM, Ethan wrote: > >> &

Re: Multivalue wild card search

2014-06-23 Thread Ahmet Arslan
Wildcard search do work on multiValued field.  I was able to pull up >> > records for following multiValued field - >> > >> > Code : [ >> > "12344", >> > "4534", >> > "674" >> > ] >> > >> > q=Code:45* fe

Re: Multivalue wild card search

2014-06-23 Thread Ethan
t; > > records for following multiValued field - > > > > > > Code : [ > > > "12344", > > > "4534", > > > "674" > > > ] > > > > > > q=Code:45* fetched the correct document. It doesn't work

Re: Multivalue wild card search

2014-06-20 Thread Ahmet Arslan
ed the correct document.  It doesn't work in > > quotes(q="Code:45*"), however.  Is there a workaround? > > > > > > On Thu, Jun 5, 2014 at 9:34 AM, Ethan wrote: > > > >> Are you implying there is not way to lookup on a multiValued field with

Re: Multivalue wild card search

2014-06-19 Thread Jack Krupansky
sky -Original Message- From: Ethan Sent: Thursday, June 19, 2014 5:16 PM To: solr-user ; Ahmet Arslan Subject: Re: Multivalue wild card search Ahmet, Assuming there is a multiValued field called "Name" of type string stored in index - //Doc 1 "id" : 23512 "Ho

Re: Multivalue wild card search

2014-06-19 Thread Ethan
ot;, > > "674" > > ] > > > > q=Code:45* fetched the correct document. It doesn't work in > > quotes(q="Code:45*"), however. Is there a workaround? > > > > > > On Thu, Jun 5, 2014 at 9:34 AM, Ethan wrote: > > > >&

Re: Multivalue wild card search

2014-06-06 Thread Jack Krupansky
Wildcard, fuzzy, and regex query do work on multivalued fields, but on only a single value at a time. Your match cannot occur across values. -- Jack Krupansky -Original Message- From: Ethan Sent: Thursday, June 5, 2014 12:52 PM To: solr-user Subject: Re: Multivalue wild card search

Re: Multivalue wild card search

2014-06-06 Thread Ahmet Arslan
ote: >> >>> Wildcard, fuzzy, and regex query operate on a single term of a single >>> tokenized field value or a single string field value. >>> >>> -- Jack Krupansky >>> >>> -Original Message- From: Ethan >>> Sent: Wedne

Re: Multivalue wild card search

2014-06-06 Thread Ethan
le string field value. >>> >>> -- Jack Krupansky >>> >>> -Original Message- From: Ethan >>> Sent: Wednesday, June 4, 2014 6:59 PM >>> To: solr-user >>> Subject: Multivalue wild card search >>> >>>

Re: Multivalue wild card search

2014-06-05 Thread Ethan
and regex query operate on a single term of a single >> tokenized field value or a single string field value. >> >> -- Jack Krupansky >> >> -Original Message- From: Ethan >> Sent: Wednesday, June 4, 2014 6:59 PM >> To: solr-user >> Subjec

Re: Multivalue wild card search

2014-06-05 Thread Ethan
string field value. > > -- Jack Krupansky > > -Original Message- From: Ethan > Sent: Wednesday, June 4, 2014 6:59 PM > To: solr-user > Subject: Multivalue wild card search > > > I can't seem to find a solution to do wild card search on a multiValued > fi

Re: Multivalue wild card search

2014-06-04 Thread Jack Krupansky
Wildcard, fuzzy, and regex query operate on a single term of a single tokenized field value or a single string field value. -- Jack Krupansky -Original Message- From: Ethan Sent: Wednesday, June 4, 2014 6:59 PM To: solr-user Subject: Multivalue wild card search I can't seem to

Multivalue wild card search

2014-06-04 Thread Ethan
I can't seem to find a solution to do wild card search on a multiValued field. For Eg consider a multiValued field called "Name" with 3 values - "Name" : [ "[[\"Ethan\", \"G\", \"\"],[\"Steve\", \"Wonder\", \"\"]]", "[]", "[[\"hifte\", \"Grop\", \"\"]]" ] For a multiValued like above, I want sea

Re: Searching multivalue fields.

2014-04-08 Thread Vijay Kokatnur
ermQuery(new Term("BookingRecordId", "234")); > > SpanQuery q2 = new SpanTermQuery(new Term("OrderLineType", "11")); > > SpanQuery q2m new FieldMaskingSpanQuery(q2, "BookingRecordId"); > > Query q = new SpanNearQuery(new SpanQuery[

Re: Searching multivalue fields.

2014-04-08 Thread Ahmet Arslan
y don't understand joins very well. Just a guess may > be FieldMaskingSpanQuery could be used? > > > http://blog.griddynamics.com/2011/07/solr-experience-search-parent-child.html > > > Ahmet > > > > > On Wednesday, March 26, 2014 9:46 PM, Vijay K

Re: Searching multivalue fields.

2014-04-07 Thread Vijay Kokatnur
> wrote: > Hi Vijay, > > I personally don't understand joins very well. Just a guess may > be FieldMaskingSpanQuery could be used? > > > http://blog.griddynamics.com/2011/07/solr-experience-search-parent-child.html > > > Ahmet > > > > > On W

Re: Searching multivalue fields.

2014-04-05 Thread Ahmet Arslan
, 2014 10:39 PM, Ahmet Arslan wrote: >>Hi Vijay, >> >>I personally don't understand joins very well. Just a guess may be  >>FieldMaskingSpanQuery could be used? >> >>http://blog.griddynamics.com/2011/07/solr-experience-search-parent-child.html >> >

Re: Searching multivalue fields.

2014-04-04 Thread Vijay Kokatnur
; Query q = new SpanNearQuery(new SpanQuery[]{q1, q2m}, -1, false); > > Ahmet > > > > On Wednesday, March 26, 2014 10:39 PM, Ahmet Arslan > wrote: > Hi Vijay, > > I personally don't understand joins very well. Just a guess may > be FieldMaskingSpanQuery could be

Re: Searching multivalue fields.

2014-03-27 Thread Jack Krupansky
Sounds good... for Lucene users, but for Solr users... sounds like a Jira is needed. -- Jack Krupansky -Original Message- From: Ahmet Arslan Sent: Wednesday, March 26, 2014 4:54 PM To: solr-user@lucene.apache.org ; kokatnur.vi...@gmail.com Subject: Re: Searching multivalue fields

Re: Searching multivalue fields.

2014-03-26 Thread Ahmet Arslan
ion. In it's current state, our application is storing child items as multivalue fields.  Consider some orders, for example - { OrderId:123 BookingRecordId : ["145", "987", "*234*"] OrderLineType : ["11", "12", "*13*"] .

Re: Searching multivalue fields.

2014-03-26 Thread Ahmet Arslan
hread again one last time to see if anyone has a solution. In it's current state, our application is storing child items as multivalue fields.  Consider some orders, for example - { OrderId:123 BookingRecordId : ["145", "987", "*234*"] OrderLineType : [&

Searching multivalue fields.

2014-03-26 Thread Vijay Kokatnur
Hi, I am bumping this thread again one last time to see if anyone has a solution. In it's current state, our application is storing child items as multivalue fields. Consider some orders, for example - { OrderId:123 BookingRecordId : ["145", "987", "*234*"

Schema Design:Multiple document vs less number of document with large number of values in multivalue field

2014-03-04 Thread soodyogesh
have approach-1 where I have around 100 million documents and some group by queries really perform slow. I have freedom to reduce number of docs and group multiple documents into one and put identifier into multi value field. As I always search from multivalue field -- View this message in context

Re: TikaEntityProcessor + multivalue field as url source

2014-01-29 Thread Bustaa
t; Hello Solr Users, > > i'm trying to get Tika's "BinFileDataSource" to take the filenames > from a multivalue field (array) but I'm getting the following > exception: > > Debug output from running dataimport (shortenend): > > >

Re: TikaEntityProcessor + multivalue field as url source

2014-01-29 Thread Ahmet Arslan
, Bustaa wrote: Hello Solr Users, i'm trying to get Tika's "BinFileDataSource" to take the filenames from a multivalue field (array) but I'm getting the following exception: Debug output from running dataimport (shortenend):           "query",           "

TikaEntityProcessor + multivalue field as url source

2014-01-29 Thread Bustaa
Hello Solr Users, i'm trying to get Tika's "BinFileDataSource" to take the filenames from a multivalue field (array) but I'm getting the following exception: Debug output from running dataimport (shortenend): "query", "<&l

Empty out a multiValue Field using SolrJ

2013-09-13 Thread edo
Hi all, i am facing an issue while trying to update a document. I am using SolrJ to add/update documents of my collection. The SolrJ version is 4.0.0 ( but i also tried with the latest 4.4.0 ) I am aware that in multivalue fields i can only add an element but not remove, in fact for those fields

Re: Empty out a multiValue Field using SolrJ

2013-09-13 Thread Chris Hostetter
: i am facing an issue while trying to update a document. : I am using SolrJ to add/update documents of my collection. The SolrJ : I am aware that in multivalue fields i can only add an element but not : remove, in fact for those fields I am overriding all the values every time. : Everything

Re: multiValued : How do I specify name to each value returned by multiValue field.

2013-08-12 Thread manju16832003
our suggestion :-). Thank you -- View this message in context: http://lucene.472066.n3.nabble.com/multiValued-How-do-I-specify-name-to-each-value-returned-by-multiValue-field-tp4083922p4084150.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: multiValued : How do I specify name to each value returned by multiValue field.

2013-08-12 Thread manju16832003
e > So your doc would look something like this: > > > > Micheal > > > > Schumacher > > > 090933434343 > > > 052323232323 > > > 073628362782 > > > > > > 090933434343 > > > > 052323232323 > > > > 073628362782 > > > > -- View this message in context: http://lucene.472066.n3.nabble.com/multiValued-How-do-I-specify-name-to-each-value-returned-by-multiValue-field-tp4083922p4084149.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: multiValued : How do I specify name to each value returned by multiValue field.

2013-08-12 Thread Jack Krupansky
name to each value returned by multiValue field. Hi All, I have a multiValued field, and it returns the result in the following manner Micheal Schumacher 090933434343 052323232323 073628362782 In the above document phones is multiValued and it works fine :-). However I would like to name

  1   2   3   >