Re: how to avoid DataImportHandler from interpreting "tinyint(1) unsigned" value as "Boolean" value?

2013-01-28 Thread nanyang cai
Just add a config attribute `convertType="true"` in the db-data-config.xml will solve my problem. like below: 2013/1/22 nanyang cai > Hi, > > DIH is really handy. But I found it interpret "Tinyint(1) unsigned" values > as "Boolean" values. In my case, we have a column 'status tinyint(1)',

Re: why search time increases without term vectors?

2013-01-28 Thread Artyom
I guess, response time increased, because I use master-slave configuration in Solr 4.0 and Solr 4.1: if there are no termVectors, the full index is replicated; if there are termVectors, only modified segments of the index are transferred from the master to slaves. Am I right? -- View this messag

Re: Solr 4 slower than Solr 3.x?

2013-01-28 Thread Lance Norskog
For this second report, it's easy: switching from a single query server to a sharded query is going to be slower. Virtual machines add jitter to the performance and response time of the front-end vs the query shards. Distributed search does 2 round-trips for each sharded query. Add these all up

Re: secure Solr server

2013-01-28 Thread Mark Miller
I think this has come up on the mailing list before. I don't remember the details, but you want to restrict the admin UI but not the CoreAdmin url - /admin/cores. - Mark On Jan 28, 2013, at 4:37 PM, Marcin Rzewucki wrote: > Hi, > > If you add security constraint for /admin/*, SolrCloud will

RE: Solr Faceting with Name Values

2013-01-28 Thread O. Olson
Thank you Robi. Your idea seems good but I have a few questions: 1. From your description, I would create a field “Function_s” with the value “Scanner” and “Function_s” with the value “Printer” for my two Products. This seems good. Is it possible for you give me a query for this dynamic fie

Re: Solr 4.1 Maven artifacts.

2013-01-28 Thread Steve Rowe
Or on Central: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.solr%22 On Jan 28, 2013, at 3:27 PM, Miguel Ángel Martín wrote: > Hi Lu: > > Look at > > https://repository.apache.org/content/groups/snapshots/org/apache/solr/ > > ;-) > El 28/01/2013 20:10, "Luis Cappa Banda" esc

Re: What is a "409 version conflict" error [solr 4.1]?

2013-01-28 Thread Paul
Ok, I did get a little more information about it from here: http://yonik.com/solr/optimistic-concurrency/ but I really don't know why the version number is conflicting. I'm running the only process that is changing documents, and my process is to read the document, add a field, and write the docume

RE: Solr Faceting with Name Values

2013-01-28 Thread Petersen, Robert
Hi O.O., You don't need to add them all into the schema. You can use the wildcard fields like to hold them. You can then have the attribute name be the part of the wildcard and the attribute value be the field contents. So you could have fields like Function_s:Scanner etc and then you could

Solr Faceting with Name Values

2013-01-28 Thread O. Olson
Hi, We are looking at putting our Product Catalog into Solr. Our Product Catalog involves a Product, and a number of [Name, Value] pairs – which represent attributes of a particular product. The attribute names are standard along a certain Product Category, but they are too numerous to put

Re: secure Solr server

2013-01-28 Thread Marcin Rzewucki
Hi, If you add security constraint for /admin/*, SolrCloud will not work. At least that's what I had in Solr4.0. I have not tried the same with Solr4.1, but I guess it is the same. Also I found some issues with URL patterns in webdefault.xml This: /core/update works, but for some reason this

Re: Modify result json file

2013-01-28 Thread Gora Mohanty
On 29 January 2013 02:41, hassancrowdc wrote: > i want smething like > {current page:# > totalNumRecords:# > records:[] > } > because everything else in my website fllow this format. > instead of: > {response > {numFound: > start: > docs:[] > } > } > before someone responded me to skip the startin

What is a "409 version conflict" error [solr 4.1]?

2013-01-28 Thread Paul
I've got a process that is replacing about 180K documents that are all similar (I'm actually just adding one field to each of them). This is mostly working fine, but occasionally (perhaps 100 times), I get this error: 409 Conflict Error: {'responseHeader'=>{'status'=>409,'QTime'=>1},'error'=>{'msg

Re: Modify result json file

2013-01-28 Thread Gora Mohanty
On 29 January 2013 01:50, hassancrowdc wrote: > Hi, > I want to change the name in the result json file from solr. Like i want > numFound to be be totalNumRecords etc. Any hint how i can do that? This requirement seems a little strange: Could you explain why you would want this? Along the lines

Re: Solr 4.1 Maven artifacts.

2013-01-28 Thread Miguel Ángel Martín
Hi Lu: Look at https://repository.apache.org/content/groups/snapshots/org/apache/solr/ ;-) El 28/01/2013 20:10, "Luis Cappa Banda" escribió: > Hello! > > I haven´t found Solr 4.1 maven artifacts to update my Solr projects > dependencies. Are they published in the public Mvn repositories? > >

Re: Searching for field that contains multiple values

2013-01-28 Thread eShard
All I had to do was put a wildcard before and after the search term and it would succeed. (*Maritime*) Searching multi value fields wouldn't work any other way. Like so: http://localhost:8080/solr/Blogs/select?q=title%3A*Maritime*&wt=xml but I'll check out those other suggestions... Thanks, -

Modify result json file

2013-01-28 Thread hassancrowdc
Hi, I want to change the name in the result json file from solr. Like i want numFound to be be totalNumRecords etc. Any hint how i can do that? -- View this message in context: http://lucene.472066.n3.nabble.com/Modify-result-json-file-tp4036853.html Sent from the Solr - User mailing list archi

Re: Searching for field that contains multiple values

2013-01-28 Thread Chris Hostetter
: You can also do it on a more straightforward way: preprocess docs to derive : a number_or_colors field, eg. via UpdateProcessor and filter for this field : as usual. i think this is definitely the more natural way for users to address this use case, and requires no custom code... https://luce

How to use SolrAjax with multiple cores?

2013-01-28 Thread eShard
Hi, I need to build a UI that can access multiple cores. And combine them all on an Everything tab. The solrajax example only has 1 core. How do I setup multicore with solrajax? Do I setup 1 manager per core? How much of a performance hit will I take with multiple managers running? Is there a bett

Re: Distibuted search

2013-01-28 Thread Isaac Hebsh
Well, My index is already broken to 16 shards... The behaviour I supposed - It absolutely doesn't happen... Right? Does it make sense somehow as an improvement request? Technically, Can multiple Lucene responses be intersected this way? On Mon, Jan 28, 2013 at 9:27 PM, Mingfeng Yang wrote: > In

Re: Distibuted search

2013-01-28 Thread Mingfeng Yang
In your case, since there is no co-current queries, adding replicas won't help much on improving the response speed. However, break your index into a few shards do help increase query performance. I recently break an index with 30 million documents (30G) into 4 shards, and the boost is pretty impr

Solr 4.1 Maven artifacts.

2013-01-28 Thread Luis Cappa Banda
Hello! I haven´t found Solr 4.1 maven artifacts to update my Solr projects dependencies. Are they published in the public Mvn repositories? Thank you!

Re: Multicore search with ManifoldCF security not working

2013-01-28 Thread eShard
I'm sorry, I don't know what you mean. I clicked on the hidden email link, filled out the form and when I hit submit; I got this error: Domain starts with dot Please fix the error and try again. Who exactly am I sending this to and how do I get the form to work? -- View this message in context

Re: Multicore search with ManifoldCF security not working

2013-01-28 Thread Ahmet Arslan
Hello, Can you post this question to u...@manifoldcf.apache.org too? --- On Mon, 1/28/13, eShard wrote: > From: eShard > Subject: Multicore search with ManifoldCF security not working > To: solr-user@lucene.apache.org > Date: Monday, January 28, 2013, 6:16 PM > Good morning, > I used this po

Multicore search with ManifoldCF security not working

2013-01-28 Thread eShard
Good morning, I used this post here to join to search 2 different cores and return one data set. http://stackoverflow.com/questions/2139030/search-multiple-solr-cores-and-return-one-result-set The good news is that it worked! The bad news is that one of the cores is Opentext and the ManifoldCF secu

Re: Fieldnorm solr 4 -> specialchars(worddelimiter)

2013-01-28 Thread roySolr
Hello Jack, Thanks for your answer. It's clear, i think it was a bug in 3.1. The difference in fieldnorm was just not what i expected. I will tweak the schema to get it closer to the expected results. Thanks Jack, Roy -- View this message in context: http://lucene.472066.n3.nabble.com/Fieldno

Tagging and indexing data for geospatial search

2013-01-28 Thread Arcadius Ahouansou
Hello. I have a crawler that sends documents to a Solr trunk instance via the ExtractingRequestHandler. I can search on title and content and everything is OK. The documents usually contain among others text like: - "...location: London, ..." or - "...in Brighton..." or - "...to Birmingham"

Re: Fieldnorm solr 4 -> specialchars(worddelimiter)

2013-01-28 Thread Jack Krupansky
As I said, maybe there might have been bugs fixed since 3.1. WDF has changed over time. Expecting it to give identical results across releases is a classic Fool's Errand. Ditto for scoring in general - it's subject to change across major releases. I mean, sure, we could track down what specifi

Re: Fieldnorm solr 4 -> specialchars(worddelimiter)

2013-01-28 Thread roySolr
Hello Jack, I'm using exactly the same fieldtype: It looks like the catenatewords has another influence in solr 4.1 than in previous version.(3.1) The analyze i

Re: Fieldnorm solr 4 -> specialchars(worddelimiter)

2013-01-28 Thread Jack Krupansky
What field type were you using in 3.1 vs 4.x? If you were using some default field type, maybe it changed. If you do need to achieve exactly the same results as in 3.1, maybe you need to use the same field-type/analyzer. In some cases there may have been bugs that got fixed. -- Jack Krupansky

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Neha Jatav
Got it! There's an authenticator with the tomcat and the cookies are missing when I do an update. Thanks all. On Monday, January 28, 2013, Stefan Matheis wrote: > Neha > > One thing that made me think is the line "SimplePostTool: WARNING: Solr returned an error #302 Found" - Status Code 302 is no

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Stefan Matheis
Neha One thing that made me think is the line "SimplePostTool: WARNING: Solr returned an error #302 Found" - Status Code 302 is no real error .. it's a forward/redirect to another url. so, you want to check the used url with curl/wget/or maybe even a normal browser, to see where it gets redirec

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Rafał Kuć
Hello! What Gora says is valid. Just point the SimplePostTools to the correct host, core name and handler and it should work just fine, of course if Solr is up and running. For example the following works just fine with Solr running on 8080: java -Durl=http://localhost:8080/solr/collection1/updat

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Neha Jatav
(a) I am not using jetty, I am using tomcat as mentioned in the subject line (b) I am using some other port number and that I have included in the url On Monday, January 28, 2013, Gora Mohanty wrote: > On 28 January 2013 16:11, Neha Jatav wrote: >> Dear Gora Mohanty, >> >> I am not using litera

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Gora Mohanty
On 28 January 2013 16:11, Neha Jatav wrote: > Dear Gora Mohanty, > > I am not using literally. I am using the localhost url slash > solr. Again, please read the documentation. As mentioned earlier: (a) You do not need -Durl=... if using built-in Jetty, (b) and the URL should include the 8983 por

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Neha Jatav
Dear Gora Mohanty, I am not using literally. I am using the localhost url slash solr. On Monday, January 28, 2013, Gora Mohanty wrote: > On 28 January 2013 15:30, Neha Jatav wrote: > [...] >> I am not able to files to SOLR using post.jar. I am getting the following >> message. I get 0 results

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Gora Mohanty
On 28 January 2013 15:30, Neha Jatav wrote: [...] > I am not able to files to SOLR using post.jar. I am getting the following > message. I get 0 results upon querying:- > > > > C:\Developer\solr-4.1.0\example\exampledocs>java -Durl=/update > -jar post.jar *.xml [...] Please read and follow the in

Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Neha Jatav
Dear Sir, I am not able to files to SOLR using post.jar. I am getting the following message. I get 0 results upon querying:- C:\Developer\solr-4.1.0\example\exampledocs>java -Durl=/update -jar post.jar *.xml SimplePostTool version 1.5 Posting files to base url /solr/updat e using content-t

Re: Fieldnorm solr 4 -> specialchars(worddelimiter)

2013-01-28 Thread roySolr
I have done some more testing with different examples. It's really the worddelimiter that influence the fieldnorm. When i search for "Barcelona" the doc with "FC Barcelona" scores higher than "FC-Barcelona". Fieldnorm for "FC Barcelona" = 0.625 and the fieldnorm for "FC-Barcelona" = 0.5. Analyz

Re: solr4 muti threads!

2013-01-28 Thread Mikhail Khludnev
DIH threads is my favorite point. My vision to this problem is https://issues.apache.org/jira/browse/SOLR-3585 be aware of the following: - i never run it with DIH, but it should work - you've got a speedup only if the Solr indexing is bottleneck now, ie. it's strongly dependent from your config eg

Re: [SOLR 4.0] Number of fields vs searching speed

2013-01-28 Thread Mikhail Khludnev
Roman, My bet is that number of indexed fields doesn't impacts the search time, and number of queried fields does linearly increase the search time. On Mon, Jan 28, 2013 at 11:22 AM, Roman Slavik wrote: > Hi guys, > what is relation between number of indexed fields and searching speed? > > For