Re: an "array" liked string is treated as multivalued when adding doc to solr

2013-12-17 Thread Alexandre Rafalovitch
If this happens rarely and you want to deal with in on the way into Solr, you could just keep one of the values, using URP: http://lucene.apache.org/solr/4_6_0/solr-core/org/apache/solr/update/processor/FirstFieldValueUpdateProcessorFactory.html Regards, Alex Personal website: http://www.outer

Re: an "array" liked string is treated as multivalued when adding doc to solr

2013-12-17 Thread Liu Bo
Hey Furkan and solr users This is a miss reported problem. It's not solr problem but our data issue. Sorry for this. It's a data issue of our side, a coupon happened to have two piece English description, which is not allowed in our business logic, but it happened and we added twice of the name_

Re: Fallback Local Requests

2013-12-17 Thread Senthilnathan Vijayaraja
Hi Ahmet, It seems like it will bring more complexity than what I did. But of course it is easily customizable.Worthy alternate approach to think of.Thanks. Thanks & Regards, Senthilnathan v Thanks & Regards, Senthilnathan V On Tue, Dec 17, 2013 at 6:44 PM, Ahmet Arslan wrote: > Hi Sen

Re: solr cloud - deleting and adding the same doc

2013-12-17 Thread adfel70
Can you elaborate on bulk or streaming API’s? Mark Miller-3 wrote > As long as you are not using the bulk or streaming API’s. Solrj does not > currently respect delete/add ordering in those cases, though each of the > two types are ordered. For the standard update per request, as long as > it’s

Re: Fallback Local Requests

2013-12-17 Thread Senthilnathan Vijayaraja
Hoss.. --> I strongly advise anyone who asks me 99% of the time "fall back" queries for 0 results found are a really bad idea, because they can easily create very strange user experiences. yes, I do agree it will create strange user experience in most of the cases.But in my case I need

Re: Cannot create core

2013-12-17 Thread YouPeng Yang
Hi Any one help me? I can only set coreNodeName mannully to one core in the same collection.It fails when I add a new core to the existed collection. please,please 2013/12/18 YouPeng Yang > Hi > I have to add some necessary information. > I failed to create a core by using

DIH deletedPkQuery seems doesn't work

2013-12-17 Thread vatuska
Hello all. I use Solr 4.6 and I have some problems with delta import from MySQL. There is an information about deleting documents in logs, but they don't deleted actually. Update of documents works fine, so I think commit works. There is a data-config: ...

Solr failure results in misreplication?

2013-12-17 Thread youknowwho
My client has a test cluster Solr 4.6 with three instances 1, 2, and 3 hosting shards 1, 2, and 3, respectively. There is no replication in this cluster. We started receiving OOME during indexing; likely the batches were too large. The cluster was rebooted to restore the system. However, up

Re: Indexing RestFul Json Service

2013-12-17 Thread William Bell
There is a patch that we use in production that works great. Name all the json fields ending in _json and String type. wt=json&json.fsuffix=_json And the json will not be escaped and work properly. On Sun, Dec 15, 2013 at 10:42 AM, Alfredo Serafini wrote: > Hi Pritesh > > other two options

Re: RELOAD collection via HTTP timeout issue solr cloud v4.5.1

2013-12-17 Thread Shalin Shekhar Mangar
The reload that you issue from the Admin Dashboard is a Core Admin Reload i.e. it reloads the local core. The curl command that you are executing is a Collection API Reload which reloads all shards belonging to the collection. This command is currently capped to a 60 second timeout. It is fairly ea

Re: How to set http proxy for solr in order to make URLDataSource type source work well

2013-12-17 Thread xie kidd
Hi, I got the solution, and add the folloring setting: JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost=www-proxy.us.oracle.com-Dhttp.proxyPort=80" to catalina.sh Thanks, Kidd For the ideal, never give up, fighting! On Wed, Dec 18, 2013 at 11:10 AM, xie kidd wrote: > Thanks. > > I run Solr4.5 with Tom

Re: Storing MYSQL DATETIME field in solr as String

2013-12-17 Thread manju16832003
Hi Raymond, Let me give a try. Thanks for suggestion :-). Cheers, On Wed, Dec 18, 2013 at 12:38 AM, Raymond Wiker [via Lucene] < ml-node+s472066n410713...@n3.nabble.com> wrote: > > On 17 Dec 2013, at 17:30 , manju16832003 <[hidden > email]

Re: Cannot create core

2013-12-17 Thread YouPeng Yang
Hi I have to add some necessary information. I failed to create a core by using : http://10.1.22.1:8081/solr/admin/cores?action=CREATE&name=reportCore_201309&shard=reportCore_201309&collection.configName=myconf&schema=rep_core_schema.xml&config=solrconfigHDFS_report_his.xml&collection=repCore&

Re: How to set http proxy for solr in order to make URLDataSource type source work well

2013-12-17 Thread xie kidd
Thanks. I run Solr4.5 with Tomcat 7, how should i set the http proxy? Thanks, Kidd For the ideal, never give up, fighting! On Tue, Dec 17, 2013 at 8:45 PM, Ahmet Arslan wrote: > Hi, > > Once I used something like below : > > java -Dhttp.proxyHost=proxyhostURL -Dhttp.proxyPort=proxyPortNumber

Re: Off-line search on mobile devices

2013-12-17 Thread Sameer Maggon
Might want to look into http://clucene.sourceforge.net/ & http://lucene.apache.org/pylucene/jcc/install.html. Unfortunately, I don't have direct experience with either. -S. On Tue, Dec 17, 2013 at 8:46 AM, Arcadius Ahouansou wrote: > Hi Sameer. > It's a generic Linux device, not iOS/Android. > >

Re: Heap size and Solr 4.3

2013-12-17 Thread Ryan Cutter
Marcello, Can you quantify what you're seeing? Did you send the JVM any args (Xmx, Xms, etc)? Thanks, Ryan On Mon, Dec 16, 2013 at 1:01 AM, Marcello Lorenzi wrote: > Hi All, > we have deployed on our production environment a new Solr 4.3 instance (2 > nodes with SolrCloud) but this morning on

Re: solr as nosql - pulling all docs vs deep paging limitations

2013-12-17 Thread Joel Bernstein
They are for different use cases. Hoss's approach, I believe, focuses on deep paging of ranked search results. SOLR-5244 focuses on the batch export of an entire unranked search result in binary format. It's basically a very efficient bulk extract for Solr. On Tue, Dec 17, 2013 at 6:51 PM, Otis G

Re: solr as nosql - pulling all docs vs deep paging limitations

2013-12-17 Thread Otis Gospodnetic
Joel - can you please elaborate a bit on how this compares with Hoss' approach? Complementary? Thanks, Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr & Elasticsearch Support * http://sematext.com/ On Tue, Dec 17, 2013 at 6:45 PM, Joel Bernstein wrote: > SOLR-5244 is al

Re: solr as nosql - pulling all docs vs deep paging limitations

2013-12-17 Thread Joel Bernstein
SOLR-5244 is also working in this direction. This focuses on efficient binary extract of entire search results. On Tue, Dec 17, 2013 at 2:33 PM, Otis Gospodnetic < otis.gospodne...@gmail.com> wrote: > Hoss is working on it. Search for deep paging or cursor in JIRA. > > Otis > Solr & ElasticSearc

How do I use Solr for Search only instead of SQL Server while using RDBMS for write?

2013-12-17 Thread Vijay Balakrishnan
Hi, We use SQL Server currently.We are thinking about using technologies like Solr to speed up our search into the RDBMS-hopefully by flattening the RDBMS data into a denormalized data structure and indexed for the various queries performed by our users.This causes a mismatch between read-only sear

Re: Solr hanging when extracting a some broken .doc files

2013-12-17 Thread Andrea Gazzarini
Hi Augusto, I don't believe the mailing list allows attachments. Could you please post the complete stacktrace? In addition, set the logging level of tika classes to FINEST in solr console, maybe can be helpful Best, Andrea On 17 Dec 2013 16:30, "Augusto Camarotti" wrote: > Hi guys, > >I'm

get ranking of facets in which documents have been inserted more recently

2013-12-17 Thread Gofio Code
Hi all, I have an schema where documents have an category. Using faceting, I can get the different categories and the number of documents for each one. Besides, I need to know a ranking of the categories in which documents have been inserted more recently. For example, supposse I have an schema w

Re: solr as nosql - pulling all docs vs deep paging limitations

2013-12-17 Thread Mikhail Khludnev
Hoss, What about SELECT * FROM WHERE ... like misusing Solr? I'm sure you've been asked many times for that. What if client don't need to rank results somehow, but just requesting unordered filtering result like they are used to in RDBMS? Do you feel it will never considered as a resonable usecase

Re: Passing a Parameter to a Custom Processor

2013-12-17 Thread Dileepa Jayakody
Thanks a lot for the info Koji. I'm going through the source-code, to find out. Regards, Dileepa On Fri, Dec 13, 2013 at 5:40 PM, Koji Sekiguchi wrote: > Hi Dileepa, > > The stanbolInterceptor processor chain will be used in multiple request >> handlers. Then I will have to pass the stanbol.e

RE: solr as nosql - pulling all docs vs deep paging limitations

2013-12-17 Thread Petersen, Robert
My use case is basically to do a dump of all contents of the index with no ordering needed. It's actually to be a product data export for third parties. Unique key is product sku. I could take the min sku and range query up to the max sku but the skus are not contiguous because some get turne

Re: solr cloud - deleting and adding the same doc

2013-12-17 Thread Mark Miller
As long as you are not using the bulk or streaming API’s. Solrj does not currently respect delete/add ordering in those cases, though each of the two types are ordered. For the standard update per request, as long as it’s the same client, this is a guarantee. - Mark On Dec 17, 2013, at 9:54 AM

Re: war file deployment proble

2013-12-17 Thread Andrea Gazzarini
Hi, Is hard (at least to me) understand the relation between solr and your issue. Could you please explain? Best, Gazza On 17 Dec 2013 19:30, "kumar" wrote: > I have created a web application in windows using eclipse it is properly > executing in windows > environment. But when i deployed it int

Re: solr as nosql - pulling all docs vs deep paging limitations

2013-12-17 Thread Otis Gospodnetic
Hoss is working on it. Search for deep paging or cursor in JIRA. Otis Solr & ElasticSearch Support http://sematext.com/ On Dec 17, 2013 12:30 PM, "Petersen, Robert" < robert.peter...@mail.rakuten.com> wrote: > Hi solr users, > > We have a new use case where need to make a pile of data available a

war file deployment proble

2013-12-17 Thread kumar
I have created a web application in windows using eclipse it is properly executing in windows environment. But when i deployed it into tomcat7 which is available in ubuntu it is not deploying properly. I am deploying in var/lib/tomcat7/webapps folder and if i query for that project it showing req

Re: solr as nosql - pulling all docs vs deep paging limitations

2013-12-17 Thread Chris Hostetter
: Then I remembered we currently don't allow deep paging in our current : search indexes as performance declines the deeper you go. Is this still : the case? Coincidently, i'm working on a new cursor based API to make this much more feasible as we speak.. https://issues.apache.org/jira/brows

solr as nosql - pulling all docs vs deep paging limitations

2013-12-17 Thread Petersen, Robert
Hi solr users, We have a new use case where need to make a pile of data available as XML to a client and I was thinking we could easily put all this data into a solr collection and the client could just do a star search and page through all the results to obtain the data we need to give them.

Re: Off-line search on mobile devices

2013-12-17 Thread Arcadius Ahouansou
Hi Sameer. It's a generic Linux device, not iOS/Android. Thanks. Arcadius. On 16 December 2013 23:11, Sameer Maggon wrote: > 1. Which platform are you looking at? Android, iOS, other? > > If you are on Android, you can directly use lucene to build an embedded > solution for search. Depending

Re: Solr-839 and version 4.5 (XmlQueryParser)

2013-12-17 Thread Daniel Collins
Do you need it? Our workaround was to pass null, from what we could tell the (lucene) QueryParser which is needs is only used for parsing UserQuery constructs, and we never used that construct. The problem is that SolrQueryParser is derived from Solr's QueryParser class which has now diverged fro

Re: Storing MYSQL DATETIME field in solr as String

2013-12-17 Thread Raymond Wiker
On 17 Dec 2013, at 17:30 , manju16832003 wrote: > Hi Raymond, > You mean during the DIH execution? Yes; as part of the sql statement.

Re: Storing MYSQL DATETIME field in solr as String

2013-12-17 Thread manju16832003
Hi Shekhar, Yes :-). Thanks for the references. Will try out the options you mentioned. Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Storing-MYSQL-DATETIME-field-in-solr-as-String-tp4106836p4107135.html Sent from the Solr - User mailing list archive at Nabble.co

Re: Storing MYSQL DATETIME field in solr as String

2013-12-17 Thread manju16832003
Hi Raymond, You mean during the DIH execution? -- View this message in context: http://lucene.472066.n3.nabble.com/Storing-MYSQL-DATETIME-field-in-solr-as-String-tp4106836p4107136.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Fallback Local Requests

2013-12-17 Thread Chris Hostetter
: Subject: Fallback Local Requests ... : if this query returns 0 results then : -->fire a fallback query after changing the value of size_min and : size_max I strongly advise anyone who asks me 99% of the time "fall back" queries for 0 results found are a really bad idea, because

RE: solr cloud - deleting and adding the same doc

2013-12-17 Thread Tim Potter
Yes, SolrCloud uses a transaction log to keep track of ordered updates to a document. The latest update will be immediately visible from the real-time get handler /get?id=X even without a commit. Cheers, Timothy Potter Sr. Software Engineer, LucidWorks www.lucidworks.com ___

Re: solr cloud - deleting and adding the same doc

2013-12-17 Thread Joel Bernstein
This link has a good description of Solr's optimistic locking feature: http://yonik.com/solr/optimistic-concurrency/ This is designed for READ-MODIFY-WRITE operations. This will guarantee that you are updating the same version of the document that you read. The full delete of the document though

Solr hanging when extracting a some broken .doc files

2013-12-17 Thread Augusto Camarotti
Hi guys, I'm having a problem with solr when trying to index some broken .doc files. I have set up a test case using Solr to index all the files the users save on the shared directorys of the company that i work for and Solr is hanging when trying to index this file in particular(the one

solr cloud - deleting and adding the same doc

2013-12-17 Thread adfel70
Hi in SolrCloud, if I send 2 different requests to solr - one with delete action of doc with id X and another with add action of doc with the same id - is it guaranteed that the delete action will occur before the add action? Is it guaranteed that after all actions are done, the index will have do

Solr-839 and version 4.5 (XmlQueryParser)

2013-12-17 Thread Puneet Pawaia
Hi All, Not being a Java expert, I used Daniel Collins' modification to patch with version 4.0 source. It works for a start. Have not been able to test much. Next, I tried the same modifications with Solr 4.6.0. This throws up 2 errors. I resolved public Query parse() throws ParseException { by

Re: Solr cores across multiple machines

2013-12-17 Thread François Schiettecatte
Hi Why not copy the core directory instead of the data directory? The conf directory is very small and that would ensure that you don't get schema mismatch issues. If you are stuck with copying the data directory, then I would replace the data directory in the target core and reload that core,

RELOAD collection via HTTP timeout issue solr cloud v4.5.1

2013-12-17 Thread ade-b
Hi We are getting connection timeout errors when trying to execute the RELOAD command against a collection in SOLR Cloud v4.5.1. We are issuing the command using curl on the solr server instance. The SOLR server seems to be functional in every other way. We can issue a reload via the admin dashb

Re: Fallback Local Requests

2013-12-17 Thread Ahmet Arslan
Hi Senthilnathan, I not 100% sure but I https://issues.apache.org/jira/browse/SOLR-5005 could be used such cases. On Tuesday, December 17, 2013 2:56 PM, Senthilnathan Vijayaraja wrote: Hi, my query format is, q=(price_min:[10 TO 80] OR price_max:[10 TO 80])AND (size_min:[

Re: External File Field

2013-12-17 Thread Mukundaraman valakumaresan
Hi it works, thanks a lot. Regards Mukund On Tue, Dec 17, 2013 at 5:20 PM, Ahmet Arslan wrote: > Hi, > > I see that you defined fieldType correctly. However you need to a field of > that type too. > > > > > Your file name should be external_adjlocality.txt > > With above configuration everyt

Fallback Local Requests

2013-12-17 Thread Senthilnathan Vijayaraja
Hi, my query format is, q=(price_min:[10 TO 80] OR price_max:[10 TO 80])AND (size_min:[1000 TO 5000] OR size_max:[1000 TO 5000]) if this query returns 0 results then -->fire a fallback query after changing the value of size_min and size_max q=(price_min:[10

Re: How to set http proxy for solr in order to make URLDataSource type source work well

2013-12-17 Thread Ahmet Arslan
Hi, Once I used something like below : java -Dhttp.proxyHost=proxyhostURL -Dhttp.proxyPort=proxyPortNumber -jar start.jar On Tuesday, December 17, 2013 11:08 AM, xie kidd wrote: Hi I install a solr instance after firewall, and try the URLDataSource Example as: http://wiki.apache.org/solr/

Re: External File Field

2013-12-17 Thread Ahmet Arslan
Hi, I see that you defined fieldType correctly. However you need to a field of that type too. Your file name should be external_adjlocality.txt With above configuration everything should work. Verify it by q=*:*&fl=*,field(adjlocality) On Tuesday, December 17, 2013 9:02 AM, Mukundarama

Re: External File Field

2013-12-17 Thread Ahmet Arslan
Can you send us your schema.xml file? On Tuesday, December 17, 2013 9:02 AM, Mukundaraman valakumaresan wrote: Hi http://localhost:8983/solr/collection1/select?wt=json&omitHeader=on&indent=true&defType=edismax&fl=id,property_price_max,locality,property_price_min,field(adjlocality)&q=*:*

edismax - ignore/override qf field?

2013-12-17 Thread ses
With the edismax query handler, is it possible to provide a query parameter which will specify a field (already defined in the qf parameter in solrconfig.xml) to ignore. E.g. can you tell Solr to not search a specific field? An example may be where in solrconfig.xml qf is configured to search: ti

Re: Solr Release Management Process

2013-12-17 Thread Furkan KAMACI
Hi; I've unsubscribed you from mail list. Here is the wrong place to send an unsubscribe request. For such kind of purposes instructions are here: http://wiki.apache.org/solr/Unsubscribing%20from%20mailing%20lists Thanks; Furkan KAMACI 2013/12/17 Mamta Alshi > sorry to hack your thread! I wa

Re: Solr Release Management Process

2013-12-17 Thread Mamta Alshi
sorry to hack your thread! I want to know which mailing address should I mail to in order to unsubscribe! On Thu, Nov 14, 2013 at 5:48 PM, Furkan KAMACI wrote: > Hi; > > I've asked the same question at dev-list but I could not get an answer. > This question is related to Solr contributers too an

How to set http proxy for solr in order to make URLDataSource type source work well

2013-12-17 Thread xie kidd
Hi I install a solr instance after firewall, and try the URLDataSource Example as: http://wiki.apache.org/solr/DataImportHandler Error happened, from log, i think this issue was caused by the http proxy. So my question is, how should i set the http proxy for Solr? or for URLDataSource type Erro

How to set http proxy for solr in order to make URLDataSource type source work well

2013-12-17 Thread xie kidd
Hi I install a solr instance after firewall, and try the URLDataSource Example as: http://wiki.apache.org/solr/DataImportHandler Error happened, from log, i think this issue was caused by the http proxy. So my question is, how should i set the http proxy for Solr? or for URLDataSource type follo