Re: unique key accross collections within datacenter

2020-05-13 Thread ART GALLERY
; >> On May 13, 2020, at 4:26 AM, Bernd Fehling > >> wrote: > >> > >> Dear list, > >> > >> in my SolrCloud 6.6 I have a huge collection and now I will get > >> much more data from a different source to be indexed. > >> So I'm thinki

Re: unique key accross collections within datacenter

2020-05-13 Thread Bernd Fehling
l get >> much more data from a different source to be indexed. >> So I'm thinking about a new collection and combine both, the existing >> one and the new one with an alias. >> >> But how to handle the unique key accross collections within a datacenter? >>

Re: unique key accross collections within datacenter

2020-05-13 Thread Erick Erickson
nd combine both, the existing > one and the new one with an alias. > > But how to handle the unique key accross collections within a datacenter? > Is it at all possible? > > I don't see any problems with add, update and delete of documents because > these operati

unique key accross collections within datacenter

2020-05-13 Thread Bernd Fehling
Dear list, in my SolrCloud 6.6 I have a huge collection and now I will get much more data from a different source to be indexed. So I'm thinking about a new collection and combine both, the existing one and the new one with an alias. But how to handle the unique key accross collections wit

Long value as unique key in long term

2018-11-22 Thread Jaroslaw Rozanski
Hi all, This is interesting (to me): 1. The "TrieLongField" is deprecated (still there in 7.5, but marked deprecated) 2. The "LongPointField" is not allowed as uniqueKey According to Solr Ref Guide 7.5 (http://lucene.apache.org/solr/guide/7_5/field-types-included-with-solr.html) these are

Re: solr cloud unique key query request is sent to all shards!

2018-02-19 Thread Ganesh Sethuraman
t; the unique key. > > The request should be in your case: http://:8080/api/ > collections/col1/get?id=69749398 > > See: https://lucene.apache.org/solr/guide/7_2/realtime-get.html > > Sent from my iPhone > > > On Feb 18, 2018, at 9:28 PM, Ganesh Sethuraman > wrote: &

Re: solr cloud unique key query request is sent to all shards!

2018-02-18 Thread Tomas Fernandez Lobbe
In real-time get, the parameter name is “id”, regardless of the name of the unique key. The request should be in your case: http://:8080/api/collections/col1/get?id=69749398 See: https://lucene.apache.org/solr/guide/7_2/realtime-get.html Sent from my iPhone > On Feb 18, 2018, at 9:28

Re: solr cloud unique key query request is sent to all shards!

2018-02-18 Thread Ganesh Sethuraman
lr 7.2.1. I have 8 shards in two nodes (two different m/c) > > using Solr Cloud. The data was indexed with a unique key (default > composite > > id) using the CSV update handler (batch indexing). Note that I do NOT > have > > while indexing. Then when I try to query the &g

Re: solr cloud unique key query request is sent to all shards!

2018-02-18 Thread Tomas Fernandez Lobbe
Solr Cloud. The data was indexed with a unique key (default composite > id) using the CSV update handler (batch indexing). Note that I do NOT have > while indexing. Then when I try to query the > collection col1 based on my primary key (as below), I see that in the > 'debug'

solr cloud unique key query request is sent to all shards!

2018-02-18 Thread Ganesh Sethuraman
Hi I am using Solr 7.2.1. I have 8 shards in two nodes (two different m/c) using Solr Cloud. The data was indexed with a unique key (default composite id) using the CSV update handler (batch indexing). Note that I do NOT have while indexing. Then when I try to query the collection col1 based

Re: cursor with sort value along with unique key

2017-06-15 Thread Mikhail Khludnev
Hello, http://lucene.472066.n3.nabble.com/Pagination-bug-when-sorting-by-a-field-not-unique-field-tp4327408p4327524.html might be relevant. On Thu, Jun 15, 2017 at 12:40 PM, Preeti Chhabra < preeti.chha...@karexpert.com> wrote: > Hello, > > With respects to cursors, when using a computed sort val

cursor with sort value along with unique key

2017-06-15 Thread Preeti Chhabra
Hello, With respects to cursors, when using a computed sort value (like score) in combination with the unique field sort (score desc, id asc) seems to cause some wildly inconsistent and incomplete results. Can I get any help out of it? Thanks & Regards Preeti chhabra

Re: Schema API: Modify Unique Key

2017-03-28 Thread nabil Kouici
Thank you for your replay. We would like to have this functionality in order to change unique key to do a partial update.Partial update cannot work without a unique key and our need is to do like in SQL (update documents set documents.field1=wyz where  documents.field2 = xxx). So we put field2

Re: Schema API: Modify Unique Key

2017-03-27 Thread Shawn Heisey
On 3/27/2017 7:05 AM, nabil Kouici wrote: > We're going to use Solr in our organization (under test) and we want > to set the primary key through schema API, which is not allowed today. > Is this function planned to be implemented in Solr? If yes, do you > have any idea in which version? Steve Ro

Re: Schema API: Modify Unique Key

2017-03-27 Thread Steve Rowe
Hi Nabil, There is an open JIRA issue to implement this functionality, but I haven’t had a chance to work on it recently: . Consequently, I’m not sure which release will have it. Patches welcome! -- Steve www.lucidworks.com > On Mar 27, 2017,

Schema API: Modify Unique Key

2017-03-27 Thread nabil Kouici
Hi All, We're going to use Solr in our organization (under test) and we want to set the primary key through schema API, which is not allowed today. Is this function planned to be implemented in Solr? If yes, do you have any idea in which version? Regards,Nabil.   

Re: Auto-generate unique key when adding documents from SolrJ

2017-02-26 Thread OTH
urces for Solr users, new and experienced > > > On 26 February 2017 at 10:11, OTH wrote: > > Hello all, > > > > First of all, I am very new to Solr. > > > > I am using Solr version 6.4.1. I have a Solr core (non-cloud), where > there > > is a mand

Re: Auto-generate unique key when adding documents from SolrJ

2017-02-26 Thread Alexandre Rafalovitch
ng Solr version 6.4.1. I have a Solr core (non-cloud), where there > is a mandatory unique key field called "id". > > I am trying to add documents to the core from Java, without having to > specify the "id" field explicitly; i.e. to have it auto-generated. >

Auto-generate unique key when adding documents from SolrJ

2017-02-26 Thread OTH
Hello all, First of all, I am very new to Solr. I am using Solr version 6.4.1. I have a Solr core (non-cloud), where there is a mandatory unique key field called "id". I am trying to add documents to the core from Java, without having to specify the "id" field explicitly;

Re: Unique key field type in solr 6.1 schema

2016-08-09 Thread Bharath Kumar
.processor.DistributedUpdateProcessor. > versionDelete( > > DistributedUpdateProcessor.java:1495) > > at > > org.apache.solr.update.processor.CdcrUpdateProcessor.versionDelete( > > CdcrUpdateProcessor.java:85) > > > > Thanks, > > Bharath Kumar > > > > > > > > -- > > View this message in context: http://lucene.472066.n3. > > nabble.com/Unique-key-field-type-in-solr-6-1-schema-tp4290895.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > > -- Thanks & Regards, Bharath MV Kumar "Life is short, enjoy every moment of it"

Re: Unique key field type in solr 6.1 schema

2016-08-09 Thread Daniel Collins
gt; at > org.apache.solr.update.processor.CdcrUpdateProcessor.versionDelete( > CdcrUpdateProcessor.java:85) > > Thanks, > Bharath Kumar > > > > -- > View this message in context: http://lucene.472066.n3. > nabble.com/Unique-key-field-type-in-solr-6-1-schema-tp4290895.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Unique key field type in solr 6.1 schema

2016-08-09 Thread bharath.mvkumar
ava:1495) at org.apache.solr.update.processor.CdcrUpdateProcessor.versionDelete(CdcrUpdateProcessor.java:85) Thanks, Bharath Kumar -- View this message in context: http://lucene.472066.n3.nabble.com/Unique-key-field-type-in-solr-6-1-schema-tp4290895.html Sent from the Solr - User mai

Unique key field type in solr 6.1 schema

2016-08-07 Thread Bharath Kumar
Hi All, I have an issue with cross data center replication, when we delete the document by id from the main site. The target site document is not deleted. I have the id field which is a unique field for my schema which is configured as "long". If i change the type to "string" it works fine. Is th

Re: Multiple unique key in Schema

2015-11-17 Thread Erik Hatcher
context: > http://lucene.472066.n3.nabble.com/Multiple-unique-key-in-Schema-tp4240550p4240557.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Multiple unique key in Schema

2015-11-17 Thread Mugeesh Husain
>>Or perhaps use the UUID auto id feature. if i use UUID, then how i can update particular document, i think using this ,there will not any document identity -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-unique-key-in-Schema-tp4240550p4240563.html Sent fr

Re: Multiple unique key in Schema

2015-11-17 Thread Mugeesh Husain
>>Or perhaps use the UUID auto id feature. if i use UUID, then how i can update particular document, i think using this ,there will not any document identity -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-unique-key-in-Schema-tp4240550p4240557.html Sen

Re: Multiple unique key in Schema

2015-11-17 Thread Erik Hatcher
Make each document have a composite unique key: user-1, user-2, review-1,... Etc. Easier said than done if you're just posting the CSV directly to Solr but an update script could help. Or perhaps use the UUID auto id feature. Erik > On Nov 17, 2015, at 08:14, Mugeesh Husai

Re: Multiple unique key in Schema

2015-11-17 Thread Alexandre Rafalovitch
ta to match. Doing JOINS in Solr is a bad idea, even if sometimes possible 2) Make a compositeKey as unique key by adding type prefix to your key ids when exporting to SQL (select concat('r',id), .) 3) Make a compositeKey as unique key by using UpdateRequestProcessors to manipulate t

Multiple unique key in Schema

2015-11-17 Thread Mugeesh Husain
Hi! I have a 3 csv table, 1.)retuarant 2.)User 3.)Review every csv have a unique key, then how i can configure multiple unique key in solr -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-unique-key-in-Schema-tp4240550.html Sent from the Solr - User mailing list

Re: Help on Out of memory when using Cursor with sort on Unique Key

2015-09-09 Thread Naresh Yadav
://issues.apache.org/jira/browse/SOLR-6121 & https://issues.apache.org/jira/browse/SOLR-6277 I think i am also in same boat where for Cursor use i have to specify unique key field in SORT and that leads to heap space. Please suggest some workaround for now as SOLR-6121, SOLR-627 are still in discussion. On Tue,

Re: Help on Out of memory when using Cursor with sort on Unique Key

2015-09-08 Thread Raja Pothuganti
: 2 each 16 GB RAM >Node of shards : 2 >Replication : 1 >Each node memory parameter : -Xms2g, -Xmx4g > >Collection details : > >No of docs in my collection : 12.31 million >Indexed field per document : 2 >Unique key field : tids >Stored filed per document : varies 30- 40

Help on Out of memory when using Cursor with sort on Unique Key

2015-09-08 Thread Naresh Yadav
Cluster details : Solr Version : solr-4.10.4 No of nodes : 2 each 16 GB RAM Node of shards : 2 Replication : 1 Each node memory parameter : -Xms2g, -Xmx4g Collection details : No of docs in my collection : 12.31 million Indexed field per document : 2 Unique key field : tids Stored filed per

Re: Getting unique key of a document inside of a Similarity class.

2015-02-20 Thread J-Pro
from all the examples of what you've described, i'm fairly certain all you really need is a TFIDF based Similarity where coord(), idf(), tf() and queryNorm() return 1 allways, and you omitNorms from all fields. Yeah, that's what I did in the very first iteration. It works only for cases #1 and

Re: Getting unique key of a document inside of a Similarity class.

2015-02-19 Thread Chris Hostetter
: 1. name:DocumentOne^7 => doc1(score=7) : 2. name:DocumentOne^7 AND place:notExist^3 => doc1(score=7) : 3. place:(34\ High\ Street)^3 => doc1(score=3), doc2(score=3) : 4. name:DocumentOne^7 OR place:(34\ High\ Street)^3 => doc1(score=10), : doc2(score=3) ... : > it's not clear why you nee

Re: Getting unique key of a document inside of a Similarity class.

2015-02-19 Thread J-Pro
how are you defining/specifying these field weights? I define weights inside of a query (name:SomeName^7). it would help if you could give a concrete example of some sample docs, a sample query, and what results you would expect ... the sample input and sample output of the system you are int

Re: Getting unique key of a document inside of a Similarity class.

2015-02-19 Thread Chris Hostetter
f the system you are interested in. : In order to implement this, I am trying to score only once for a combination : of a specific field + doc unique identifier. And I don't care what is this : unique doc identifier - it can be unique key or it can be internal doc ID. it's not clear w

Re: Getting unique key of a document inside of a Similarity class.

2015-02-19 Thread J-Pro
Thank you for your answer, Chris. I will reply with inline comments as well. Please see below. : I need to uniquely identify a document inside of a Similarity class during : scoring. Is it possible to get value of unique key of a document at this : point? Can you tell us a bit more about your

Re: Getting unique key of a document inside of a Similarity class.

2015-02-19 Thread Chris Hostetter
: I need to uniquely identify a document inside of a Similarity class during : scoring. Is it possible to get value of unique key of a document at this : point? Can you tell us a bit more about your usecase ... your problem description is a bit vague, and sounds like it may be an "XY Pr

Getting unique key of a document inside of a Similarity class.

2015-02-19 Thread J-Pro
Good afternoon. I need to uniquely identify a document inside of a Similarity class during scoring. Is it possible to get value of unique key of a document at this point? For some time I though I can use internal docID for achieving that. Method score(int doc, float freq) is called after

Re: Solr Composite Unique key from existing fields in schema

2014-12-09 Thread Ahmet Arslan
Hi, Once I used template transformer to generate unique id across entities. http://wiki.apache.org/solr/DataImportHandler#TemplateTransformer On Wednesday, December 10, 2014 8:51 AM, Rajesh Panneerselvam wrote: Hi, I'm using DIH to index my entities. I'm facing an issue while delta-import.

Solr Composite Unique key from existing fields in schema

2014-12-09 Thread Rajesh Panneerselvam
Hi, I'm using DIH to index my entities. I'm facing an issue while delta-import. I've declared multiple entities in one data-config.xml. The entities will have different primary key. Now if I want to delta-import how should I mention the UniqueKey in schema.xml. My data-config structure is like t

Re: fl rename of unique key in solrcloud

2014-11-16 Thread Suchi Amalapurapu
> On Nov 15, 2014, at 3:18 AM, Suchi Amalapurapu > <mailto:su...@bloomreach.com>> wrote: > > > > Solr version:4.6.1 > > > > On Sat, Nov 15, 2014 at 12:24 PM, Jeon Woosung > <mailto:jeonwoos...@gmail.com>> > > wrote: > > > > Could

Re: fl rename of unique key in solrcloud

2014-11-15 Thread Jeon Woosung
Nov 15, 2014 at 12:24 PM, Jeon Woosung <mailto:jeonwoos...@gmail.com>> > wrote: > > Could you let me know version of the solr? > > On Sat, Nov 15, 2014 at 5:05 AM, Suchi Amalapurapu <mailto:su...@bloomreach.com>> > wrote: > > Hi > Getting the following except

Re: fl rename of unique key in solrcloud

2014-11-15 Thread Garth Grimm
et me know version of the solr? On Sat, Nov 15, 2014 at 5:05 AM, Suchi Amalapurapu mailto:su...@bloomreach.com>> wrote: Hi Getting the following exception when using fl renaming with unique key in the schema. http:///solr//select?q=dress&fl=a1:p1 where p1 is the unique key for For c

Re: fl rename of unique key in solrcloud

2014-11-15 Thread Garth Grimm
12:24 PM, Jeon Woosung > wrote: > >> Could you let me know version of the solr? >> >> On Sat, Nov 15, 2014 at 5:05 AM, Suchi Amalapurapu >> wrote: >> >>> Hi >>> Getting the following exception when using fl renaming with unique key in >&g

Re: fl rename of unique key in solrcloud

2014-11-15 Thread Suchi Amalapurapu
Solr version:4.6.1 On Sat, Nov 15, 2014 at 12:24 PM, Jeon Woosung wrote: > Could you let me know version of the solr? > > On Sat, Nov 15, 2014 at 5:05 AM, Suchi Amalapurapu > wrote: > > > Hi > > Getting the following exception when using fl renaming with unique key

Re: fl rename of unique key in solrcloud

2014-11-14 Thread Jeon Woosung
Could you let me know version of the solr? On Sat, Nov 15, 2014 at 5:05 AM, Suchi Amalapurapu wrote: > Hi > Getting the following exception when using fl renaming with unique key in > the schema. > http:///solr//select?q=dress&fl=a1:p1 > > where p1 is the unique key for

fl rename of unique key in solrcloud

2014-11-14 Thread Suchi Amalapurapu
Hi Getting the following exception when using fl renaming with unique key in the schema. http:///solr//select?q=dress&fl=a1:p1 where p1 is the unique key for For collections with single shard, this works flawlessly but results in the following exception in case of multiple shards. How do we

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Mikhail Khludnev
; > > > >> A stupid question: Are you sure that what schema thinks your uniqueId > > >> is - is the uniqueId in your setup? Also, that you are not somehow > > >> using the flags to tell Solr to ignore duplicates? > > >> > > >> Regards, > &g

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Ali Nazemian
ghts.com/ and @arafalov > >> Solr resources and newsletter: http://www.solr-start.com/ and > @solrstart > >> Solr popularizers community: > https://www.linkedin.com/groups?gid=6713853 > >> > >> > >> On 6 October 2014 03:40, Ali Nazemian wrote:

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Alexandre Rafalovitch
.linkedin.com/groups?gid=6713853 >> >> >> On 6 October 2014 03:40, Ali Nazemian wrote: >> > Dear all, >> > Hi, >> > I am going to do partial update on a field that has not any value. >> Suppose >> > I have a document with document id (unique k

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Ali Nazemian
y: https://www.linkedin.com/groups?gid=6713853 > > > On 6 October 2014 03:40, Ali Nazemian wrote: > > Dear all, > > Hi, > > I am going to do partial update on a field that has not any value. > Suppose > > I have a document with document id (unique key) '1234

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Alexandre Rafalovitch
://www.solr-start.com/ and @solrstart Solr popularizers community: https://www.linkedin.com/groups?gid=6713853 On 6 October 2014 03:40, Ali Nazemian wrote: > Dear all, > Hi, > I am going to do partial update on a field that has not any value. Suppose > I have a document with document id

duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Ali Nazemian
Dear all, Hi, I am going to do partial update on a field that has not any value. Suppose I have a document with document id (unique key) '12345' and field "read_flag" which does not index at the first place. So the read_flag field for this document has not any value. After I d

Re: Are there any performance impact of using a non-standard length UUID as the unique key of Solr?

2014-07-24 Thread Mark Miller
), we have the following unique key definition. id In our external java program, we will generate an UUID with UUID.randomUUID().toString() first. Then, we will use Cryptographic hash to generate a 32 bytes length text and finally use it as id. For now, we might need to post more

Are there any performance impact of using a non-standard length UUID as the unique key of Solr?

2014-07-24 Thread He haobo
Hi, In our Solr collection (Solr 4.8), we have the following unique key definition. id In our external java program, we will generate an UUID with UUID.randomUUID().toString() first. Then, we will use Cryptographic hash to generate a 32 bytes length text and finally use it as id. For now

Re: Duplicate Unique Key

2014-04-08 Thread Simon
in database, it will raise a flag so that I may do something before getting complaints. -- View this message in context: http://lucene.472066.n3.nabble.com/Duplicate-Unique-Key-tp4129651p4129894.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Duplicate Unique Key

2014-04-08 Thread Erick Erickson
It's indeed quite odd. And after I trigger re-indexing all documents >> (via >> > the normal process of existing program). The duplication is gone. It can >> > not be reproduced easily. But it did occur occasionally and that makes >> it a >> > frustrating

Re: Duplicate Unique Key

2014-04-08 Thread Cihad Guzel
rogram). The duplication is gone. It can > > not be reproduced easily. But it did occur occasionally and that makes > it a > > frustrating task to troubleshoot. > > > > Thanks, > > Simon > > > > > > > > -- > > View this message in context: > http://lucene.472066.n3.nabble.com/Duplicate-Unique-Key-tp4129651p4129701.html > > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Duplicate Unique Key

2014-04-07 Thread Erick Erickson
ge in context: > http://lucene.472066.n3.nabble.com/Duplicate-Unique-Key-tp4129651p4129701.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Duplicate Unique Key

2014-04-07 Thread Simon
View this message in context: http://lucene.472066.n3.nabble.com/Duplicate-Unique-Key-tp4129651p4129701.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Duplicate Unique Key

2014-04-07 Thread Erick Erickson
; Hi all, > > I know someone has posted similar question before. But my case is little > different as I don't have the schema set up issue mentioned in those posts > but still get duplicate records. > > My unique key in schema is > > multiValued="false" re

Duplicate Unique Key

2014-04-07 Thread Simon
Hi all, I know someone has posted similar question before. But my case is little different as I don't have the schema set up issue mentioned in those posts but still get duplicate records. My unique key in schema is id$ Search on Solr- admin UI: id$:1 I got two docu

Re: Solr Composite Unique key from existing fields in schema

2014-02-08 Thread tamanjit.bin...@yahoo.co.in
lucene.472066.n3.nabble.com/Solr-Composite-Unique-key-from-existing-fields-in-schema-tp4116036p4116198.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Composite Unique key from existing fields in schema

2014-02-08 Thread tamanjit.bin...@yahoo.co.in
You could use a combination of all your composite key columns and put them in a field in solr which can then be used as the unique key. As in if you have two columns c1 and c2, you could have a field in solr which have the value as c1_c2 or something on those lines. -- View this message in

Solr Composite Unique key from existing fields in schema

2014-02-07 Thread Anurag Verma
Hi, I am developing a search application using SOLR. I don't have primary key in any table. Composite key is being used in my application. How do i implement composite key as unique key in this case. please help. i am struggling. -- Thanks & Regards Anurag Verma Arise! Awake! And

Re: Unique key error while indexing pdf files

2013-07-02 Thread Shalin Shekhar Mangar
archit2112 wrote: > Yes. The absolute path is unique. How do i implement it? can you please > explain? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Unique-key-error-while-indexing-pdf-files-tp4074314p4074638.html > Sent from the Solr - Us

Re: Unique key error while indexing pdf files

2013-07-02 Thread archit2112
Yes. The absolute path is unique. How do i implement it? can you please explain? -- View this message in context: http://lucene.472066.n3.nabble.com/Unique-key-error-while-indexing-pdf-files-tp4074314p4074638.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Removal of unique key - Query Elevation Component

2013-07-02 Thread archit2112
Thanks! The author_s issue has been resolved. Why are the other fields not getting indexed ? -- View this message in context: http://lucene.472066.n3.nabble.com/Removal-of-unique-key-Query-Elevation-Component-tp4074624p4074636.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Removal of unique key - Query Elevation Component

2013-07-02 Thread Shalin Shekhar Mangar
author,text,title > and id field (as defined in my data-config.xml). Please help me out. Am i > doing anything wrong? and from where did this s_author field come? > > > arora arc > arora arc > 4f65332d-49d9-497a-b88b-881da618f571 > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Removal-of-unique-key-Query-Elevation-Component-tp4074624.html > Sent from the Solr - User mailing list archive at Nabble.com. -- Regards, Shalin Shekhar Mangar.

Removal of unique key - Query Elevation Component

2013-07-02 Thread archit2112
anything wrong? and from where did this s_author field come? arora arc arora arc 4f65332d-49d9-497a-b88b-881da618f571 -- View this message in context: http://lucene.472066.n3.nabble.com/Removal-of-unique-key-Query-Elevation-Component-tp4074624.html Sent from the Solr - User

Re: Unique key error while indexing pdf files

2013-07-02 Thread archit2112
Yes. The absolute path is unique. -- View this message in context: http://lucene.472066.n3.nabble.com/Unique-key-error-while-indexing-pdf-files-tp4074314p4074620.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Unique key error while indexing pdf files

2013-07-02 Thread Shalin Shekhar Mangar
ssigning this unique > key to a pdf file. Say, a unique number to each pdf file. How do i achieve > this? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Unique-key-error-while-indexing-pdf-files-tp4074314p4074592.html > Sent from the Solr -

Re: Unique key error while indexing pdf files

2013-07-01 Thread archit2112
Okay. Can you please suggest a way (with an example) of assigning this unique key to a pdf file. Say, a unique number to each pdf file. How do i achieve this? -- View this message in context: http://lucene.472066.n3.nabble.com/Unique-key-error-while-indexing-pdf-files-tp4074314p4074592.html

Re: Unique key error while indexing pdf files

2013-07-01 Thread archit2112
Can you please suggest a way (with example) of assigning this unique key to a pdf file? -- View this message in context: http://lucene.472066.n3.nabble.com/Unique-key-error-while-indexing-pdf-files-tp4074314p4074588.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Unique key error while indexing pdf files

2013-07-01 Thread Jack Krupansky
It's really 100% up to you how you want to come up with the unique key values for your documents. What would you like them to be? Just use that. Anything (within reason) - anything goes. But it also comes back to your data model. You absolutely must come up with a data model for ho

Re: Unique key error while indexing pdf files

2013-07-01 Thread archit2112
message in context: http://lucene.472066.n3.nabble.com/Unique-key-error-while-indexing-pdf-files-tp4074314p4074327.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Unique key error while indexing pdf files

2013-07-01 Thread Jack Krupansky
Krupansky -Original Message- From: archit2112 Sent: Monday, July 01, 2013 7:17 AM To: solr-user@lucene.apache.org Subject: Unique key error while indexing pdf files Hi Im trying to index pdf files in solr 4.3.0 using the data import handler. *My request handler - * data-config1

Unique key error while indexing pdf files

2013-07-01 Thread archit2112
unique key of a document. how do i define the id field (unique key) of a pdf file. how do i solve this problem? Thanks in advance -- View this message in context: http://lucene.472066.n3.nabble.com/Unique-key-error-while-indexing-pdf-files-tp4074314.html Sent from the Solr - User mailing list

Re: Solr Composite Unique key from existing fields in schema

2013-05-28 Thread Jack Krupansky
Unique key from existing fields in schema Thanks Jack, That fixed it and guarantees the order. As far as I can tell SOLR cloud 4.2.1 needs a uniquekey defined in its schema, or I get an exception. SolrCore Initialization Failures * testCloud2_shard1_replica1

Re: Solr Composite Unique key from existing fields in schema

2013-05-28 Thread Rishi Easwaran
like to avoid the overhead of storing this field in my index. Thanks, Rishi. -Original Message- From: Jack Krupansky To: solr-user Sent: Tue, May 28, 2013 4:33 pm Subject: Re: Solr Composite Unique key from existing fields in schema The TL;DR response: Try this

Re: Solr Composite Unique key from existing fields in schema

2013-05-28 Thread Jack Krupansky
e multiple input fields - whether this is a bug or a feature or simply undefined. -- Jack Krupansky -Original Message- From: Rishi Easwaran Sent: Tuesday, May 28, 2013 3:54 PM To: solr-user@lucene.apache.org Subject: Re: Solr Composite Unique key from existing fields in schema I though

Re: Solr Composite Unique key from existing fields in schema

2013-05-28 Thread Rishi Easwaran
I thought the same, but that doesn't seem to be the case. -Original Message- From: Jack Krupansky To: solr-user Sent: Tue, May 28, 2013 3:32 pm Subject: Re: Solr Composite Unique key from existing fields in schema The order in the ID should be purely dependent on the

Re: Solr Composite Unique key from existing fields in schema

2013-05-28 Thread Jack Krupansky
Unique key from existing fields in schema Jack, No sure if this is the correct behaviour. I set up updateRequestorPorcess chain as mentioned below, but looks like the compositeId that is generated is based on input order. For example: If my input comes in as 1 12345 I get the following

Re: Solr Composite Unique key from existing fields in schema

2013-05-28 Thread Rishi Easwaran
12345 1 I get the following compositeId 12345-1 . In this case the compositeId is not unique and I am getting duplicates. Thanks, Rishi. -Original Message- From: Jack Krupansky To: solr-user Sent: Tue, May 28, 2013 12:07 pm Subject: Re: Solr Composite Unique key from existing

Re: Solr Composite Unique key from existing fields in schema

2013-05-28 Thread Rishi Easwaran
Thanks Jack, looks like that will do the trick from me. I will try it out. -Original Message- From: Jack Krupansky To: solr-user Sent: Tue, May 28, 2013 12:07 pm Subject: Re: Solr Composite Unique key from existing fields in schema You can do this by combining the builtin

Re: Solr Composite Unique key from existing fields in schema

2013-05-28 Thread Jack Krupansky
k your composite key field name as well. And set the delimiter string as well in the concat update processor. I managed to reverse the field order from what you requested (userid, docid). I used the standard Solr example schema, so I used dynamic fields for the two ids, but use your own field names.

Re: Solr Composite Unique key from existing fields in schema

2013-05-28 Thread Jan Høydahl
The cleanest is to do this from the outside. Alternatively, it will perhaps work to populate your uniqueKey in a custom UpdateProcessor. You can try. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com 28. mai 2013 kl. 17:12 skrev Rishi Easwaran : > Hi All, > > Historic

Solr Composite Unique key from existing fields in schema

2013-05-28 Thread Rishi Easwaran
Hi All, Historically we have used a single field in our schema as a uniqueKey. docid Wanted to change this to a composite key something like userid-docid. I know I can auto generate compositekey at document insert time, using custom code to generate a new field, but wanted to know if th

Re: Solr unique key can't be blank

2012-09-12 Thread Ahmet Arslan
> Thank you Ahmet! In fact, I did not know that the > updateRequestProcessorChain needed to be defined in > solrconfig.xml and > I had tried to define it in schema.xml. I don't have access > to > solrconfig.xml (I am using Websolr) but I will contact them > about > adding it. Please not that you n

Re: Solr unique key can't be blank

2012-09-12 Thread Jack Krupansky
Krupansky -Original Message- From: Dotan Cohen Sent: Wednesday, September 12, 2012 10:43 AM To: solr-user@lucene.apache.org Subject: Re: Solr unique key can't be blank On Wed, Sep 12, 2012 at 5:27 PM, Ahmet Arslan wrote: Hi Dotan, Did you define the following update processor chain in

Re: Solr unique key can't be blank

2012-09-12 Thread Dotan Cohen
On Wed, Sep 12, 2012 at 5:27 PM, Ahmet Arslan wrote: > Hi Dotan, > > Did you define the following update processor chain in solrconfig.xml ? > And did you reference it in an update handler? > > > > id > > > > Thank you Ahmet! In fact, I did not know that the updateRequestPr

Re: Solr unique key can't be blank

2012-09-12 Thread Ahmet Arslan
--- On Wed, 9/12/12, Dotan Cohen wrote: > From: Dotan Cohen > Subject: Solr unique key can't be blank > To: solr-user@lucene.apache.org > Date: Wednesday, September 12, 2012, 5:06 PM > Consider this simple schema: > > > >     >         name="uu

Re: Solr - Unique Key Field Should Apply on q search or fq search

2012-08-24 Thread Jack Krupansky
ot; -- Jack Krupansky -Original Message- From: meghana Sent: Friday, August 24, 2012 7:54 AM To: solr-user@lucene.apache.org Subject: Solr - Unique Key Field Should Apply on q search or fq search I am right now applying unique key field search on q search. but sometimes it occurs

Re: Solr - Unique Key Field Should Apply on q search or fq search

2012-08-24 Thread Ahmet Arslan
> Now i don't know which would be better option to apply , > should i apply > unique key on query or in filter query myTextFeild:politics programme is parsed as follows : myTextFeild:politics defaultField:programme You should use parenthesis : q=myTextFeild:(politics programme

Re: unique key

2012-07-10 Thread Tomás Fernández Löbbe
No, a unique key needs to be indexed. You can delete documents by query (to avoid duplication), but you can't query on any field that is not indexed, so I guess you'll need it. On Tue, Jul 10, 2012 at 12:23 PM, Sachin Aggarwal < different.sac...@gmail.com> wrote: > today

Re: unique key

2012-07-10 Thread Tomás Fernández Löbbe
There are some specific use cases where you can skip having a unique key. See http://wiki.apache.org/solr/UniqueKey However, I would test how much space you save by not having one. On Tue, Jul 10, 2012 at 6:27 AM, Sachin Aggarwal wrote: > in my use case i m not deleting any doc from solr

Re: unique key

2012-07-10 Thread Sachin Aggarwal
in my use case i m not deleting any doc from solr i m using batch build on data and use solr as filters on data data is very large raw rows are in billions and filtered or searched query are in millions...is there any way to leave unique key from indexing On Tue, Jul 10, 2012 at 3:42 PM, Tomás

Re: unique key

2012-07-10 Thread Tomás Fernández Löbbe
In order to support updates (which are treated as deleted + add), the unique key needs to be indexed. Tomás On Tue, Jul 10, 2012 at 6:08 AM, Sachin Aggarwal wrote: > is it possible not to index and but store the unique keyit will make > index size small. i need the unique key to b

Re: Duplicate documents being added even with unique key

2012-05-21 Thread Parmeley, Michael
Sent: Friday, May 18, 2012 5:50 PM > To: solr-user@lucene.apache.org > Subject: Duplicate documents being added even with unique key > > I have a uniquekey set in my schema; however, I am still getting duplicated > documents added. Can anyone provide any insight into why th

  1   2   >