Re: SOLR 1.4.1 to SOLR 1.3 issues (backward compatability issue)

2010-10-08 Thread Shanmugavel SRD
Thank you Otis. It solved the problem. -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-1-4-1-to-SOLR-1-3-issues-backward-compatability-issue-tp1649789p1664057.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: having problem about Solr Date Field.

2010-10-08 Thread Dennis Gearon
So where does translation take place between the QUERIER's time zone, and the eventual VIEWER's time zone? That is done all at the application level? Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to learn

SOLRJ - Searching text in all fields of a Bean

2010-10-08 Thread Subhash Bhushan
Hi, I have two fields in the bean class, id and title. After adding the bean to SOLR, I want to search for, say kitten, in all defined fields in the bean, like this -- query.setQuery( kitten); -- But I get results only when I affix the bean field name before the search text like this --

Re: SOLRJ - Searching text in all fields of a Bean

2010-10-08 Thread Ahmet Arslan
I have two fields in the bean class, id and title. After adding the bean to SOLR, I want to search for, say kitten, in all defined fields in the bean, like this -- query.setQuery( kitten); -- But I get results only when I affix the bean field name before the search text like this --

Re: SOLRJ - Searching text in all fields of a Bean

2010-10-08 Thread Savvas-Andreas Moysidis
Hello, What does your schema look like? Have you defined a catch all field and copy every value from all your other fields in it with a copyField / directive? Cheers, -- Savvas On 8 October 2010 08:30, Subhash Bhushan subhash.bhus...@stratalabs.inwrote: Hi, I have two fields in the bean

Strange search result (or lack of)

2010-10-08 Thread Thomas Kellerer
Hi, I have the following field defined in my schema: fieldType name=name_field class=solr.StrField positionIncrementGap=100 omitNorms=false analyzer tokenizer class=solr.KeywordTokenizerFactory/ filter class=solr.StandardFilterFactory/ filter

Re: Experience running Solr on ISCSI

2010-10-08 Thread Peter Sturge
Hi, We've used iSCSI SANs with 6x1TB 15k SAS drives RAID10 in production environments, and this works very well for both reads and writes. We also have FibreChannel environments, and this is faster as you would expect. It's also a lot more expensive. The performance bottleneck will have more to

Re: Experience running Solr on ISCSI

2010-10-08 Thread Thijs
Hi thanks for the info. The hardware guys made it possible for me to do some testing on an ISCSI device, and it looks good so far. I have no idea what the hardware is, but I'm getting about the same throughput as the local disks. We are now looking into how it will scale if multiple machines

Re: Strange search result (or lack of)

2010-10-08 Thread Savvas-Andreas Moysidis
Hello, Try searching for name_de:(das urteil). A search for name_de:das urteil will search for das in *name_de* and for urteil in the default field (e.g. catch all field). Hope that helps, -- Savvas On 8 October 2010 09:00, Thomas Kellerer spam_ea...@gmx.net wrote: Hi, I have the following

Re: having problem about Solr Date Field.

2010-10-08 Thread Jan Høydahl / Cominvent
Correct. You get back what you push in. Of course if your index is for users in one time zone only, you may insert the local time to Solr, and everything will work well. However, if you operate an index with international users, you'd want to make sure you convert to/from UTC in your

Re: PatternReplaceFilterFactory creating empty string as a term

2010-10-08 Thread Shawn Heisey
On 10/5/2010 10:38 PM, Shawn Heisey wrote: That fixed it. Thank you. If I have time, I'll peek at the patternfilter source code and see if I can figure out how to make it optionally remove empty terms. For me, it's not terribly critical, because my database is the bottleneck in my indexing

NumberFormatException upon reading a Trie field during search

2010-10-08 Thread Jon Poulton
Hi there, I have recently upgraded our Solr instance and have reindexed all of the items in our store, and for at least one search I am getting some unusual error messages back for a search that previously worked. It reads as follows: HTTP Status 500 - Invalid shift value in prefixCoded string

Getting an ngram fieldtype to work

2010-10-08 Thread Allistair Crossley
Morning all, I would like to ngram a company name field in our index. I have read about the costs of doing so in the great David Smiley Solr 1.4 book and just to get started I have followed his example in setting up an ngram field type as follows: fieldType name=text_substring

Re: Getting an ngram fieldtype to work

2010-10-08 Thread Jan Høydahl / Cominvent
Hi, The first thing I would try is to go to the analysis page, enter your test data, and report back what each analysis stage prints out: http://localhost:8983/solr/admin/analysis.jsp -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 8. okt. 2010, at 14.19,

Re: Getting an ngram fieldtype to work

2010-10-08 Thread Allistair Crossley
Hi, Yep, I was just looking at the analyzer jsp. The ngrams *do* exist as expected, so it's not my configuration that is at fault (he says) Index Analyzer sh ho oo ot te er sho hoo oot ote ter shoohootooteotershoot hoote

Re: Getting an ngram fieldtype to work

2010-10-08 Thread Markus Jelsma
How come your query analyser spits out grams? It isn't configured to do so or you posted an older field definition. Anyway, do you actually search on your new field? On Friday, October 08, 2010 02:46:08 pm Allistair Crossley wrote: Hi, Yep, I was just looking at the analyzer jsp. The

Search Cloud , store stemmed Tokens?

2010-10-08 Thread alexander sulz
Hello dear Solr Users.. As far as I understand, I am able to process stuff with analyzers (and in there with tokenizers and filters and whatnot) before indexing, but is it also possible to do that before storing the input into a field? What I want to do is to store some search words from

Re: Getting an ngram fieldtype to work

2010-10-08 Thread Allistair Crossley
Oh my. I am basically being a total monkey. Every time I was changing my schema.xml to try new things out I was then reindexing our staging server's index instead of my local dev index so no changes were occurring locally. Dear me. This is working now, surprise. On Oct 8, 2010, at 8:53 AM,

check keyword density

2010-10-08 Thread Sushan Rungta
I have indexed my website in lucene and search is working effectively. I now want to make an algorithm wherein I could count the quantum of keywords used repetitively in documents like the one mentioned below: gold tips, silver tips, tips for crude oil, commodity tips on mobile, free commodity

Re: case-insensitive phrase query for string fields

2010-10-08 Thread Matt Mitchell
Hey thanks guys! This all makes sense now. I'm using a text field and it's giving good results of course. Matt On Fri, Oct 8, 2010 at 6:08 AM, Erik Hatcher erik.hatc...@gmail.com wrote: Matt - https://issues.apache.org/jira/browse/SOLR-2145        Erik On Oct 7, 2010, at 23:38 , Jonathan

Search Cloud , store stemmed Tokens?

2010-10-08 Thread alexander sulz
Hello dear Solr Users.. As far as I understand, I am able to process stuff with analyzers (and in there with tokenizers and filters and whatnot) before indexing, but is it also possible to do that before storing the input into a field? What I want to do is to store some search words from

Re: Getting an ngram fieldtype to work

2010-10-08 Thread Allistair Crossley
Well, a lot of this is working but not all. Consider the company name Shooters Inc My ngram field is able to match queries to the name for shoot and hoot and so on. This works. However consider the company name Location Scotland If I query scot I get one result back - but it's for a company

Re: Missing content stream

2010-10-08 Thread Markus Jelsma
I don't know if sending the wrong content type results in this error message but you must send the proper content type header, text/xml. On Friday, October 08, 2010 03:57:33 pm Dennis Brundage wrote: I am just getting started with Solr and have successfully run through the tutorial. I now

dynamic stop words?

2010-10-08 Thread Matt Mitchell
Is it possible to have certain query terms not effect score, if that same query term is present in a field? For example, I have an index of hotels. Each hotel has a name and city. If the name of a hotel has the name of the city in it's name field, I want to completely ignore that and not have it

Accented Search in Solr

2010-10-08 Thread Sethi, Parampreet
Hi All, I am using Solr 1.3 in my project. Just wanted to know if there is any other way by which below mentioned queries will return the same results: Gruyère-and-Zucchini Gruyere-and-Zucchini The first query has accented characters in it. I was just going through the Solr tokenizers and

Re: NumberFormatException upon reading a Trie field during search

2010-10-08 Thread Jon Poulton
Hi all, Just to let you know, deleting the index and reindexing our data appears to have fixed this problem, at least for the moment. My guess is that the old index wasn't deleted cleanly, as I assumed it had been. Thanks Jon On 8 Oct 2010, at 12:14, Jon Poulton wrote: Hi there, I have

Help removing myself from this mailing list

2010-10-08 Thread Steve Reichgut
Can anyone help me on how to remove myself from this mailing list. The emails don't come with an opt-out link nor can I find anywhere else to go to remove my email address. Any help would be really appreciated! Steve

Re: Help removing myself from this mailing list

2010-10-08 Thread Markus Jelsma
Life is difficult: http://lmgtfy.com/?q=unsubscribe+from+solr On Friday, October 08, 2010 05:50:42 pm Steve Reichgut wrote: Can anyone help me on how to remove myself from this mailing list. The emails don't come with an opt-out link nor can I find anywhere else to go to remove my email

Re: Missing content stream

2010-10-08 Thread Dennis Brundage
Markus Jelsma-2 wrote: I don't know if sending the wrong content type results in this error message but you must send the proper content type header, text/xml. Thanks Markus. I thought uploading a file from an HTML form required multipart/form-data. Anyway, I did try changing it to

Re: Strategy for re-indexing

2010-10-08 Thread Allistair Crossley
Thanks for your time responding to this. I have decided also to go down the route of cron-scheduled Perl LWP pings to DIH + deltaQueries. This seems to work inline with what the business requires and for the index size. Thanks again On Oct 7, 2010, at 7:46 AM, Shawn Heisey wrote: On

Re: having problem about Solr Date Field.

2010-10-08 Thread Dennis Gearon
OK, great. No worrying about which time zone the server is running in with Solr, LOL! Databases and server side languages and cron scripts OTOH . . . Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to

Re: Missing content stream

2010-10-08 Thread Dennis Brundage
Thanks to anyone who spent time looking at this. In the future, should anyone else run across this, I got it working by adding the name attribute to the input type=file tag. Final script looks like: html head /head body form action=http://localhost.:4747/solr/update;

Speeding up solr indexing

2010-10-08 Thread sivaprasad
Hi, I am indexing the data using DIH.Data coming from mysql.Each document contains 30 fields.Some of the fields are multi valued.When i am trying to index 10 million records it taking more time to index. Any body has suggestions to speed up indexing process?Any suggestions on solr admin level

Re: Trouble with exception Document [Null] missing required field DocID

2010-10-08 Thread Erick Erickson
Right. You're requiring that every document have an ID (via uniqueKey), but there's nothing magic about DIH that'll automagically parse a PDF file and map something into your ID field. So you have to create a unique ID before you send your doc to Curl. I'm pretty sure you can specify

Re: Index time boosting is not working with boosting value in document level

2010-10-08 Thread Erick Erickson
Boosting doesn't necessarily put documents in a particular order. Boosting just #tends# to make the doc score higher. What do you see if you add debugQuery=on? That'll tell you why docs scored as they did. Best Erick On Thu, Oct 7, 2010 at 11:39 AM, Shanmugavel SRD srdshanmuga...@gmail.comwrote:

Re: Accented Search in Solr

2010-10-08 Thread Erick Erickson
not that I know of. Do note that whether the query has the accent filter active or not MUST be matched with the index-time filter. In other words, if you indexed with the filter but search without it or vice-versa you won't get the resultsyou expect. Also note that no matter what, the original

Re: NumberFormatException upon reading a Trie field during search

2010-10-08 Thread Erick Erickson
Thanks for letting us know... Erick On Fri, Oct 8, 2010 at 11:42 AM, Jon Poulton jon.poul...@vyre.com wrote: Hi all, Just to let you know, deleting the index and reindexing our data appears to have fixed this problem, at least for the moment. My guess is that the old index wasn't deleted

Re: access control for spellcheck suggestions?

2010-10-08 Thread Peter Wolanin
Thanks for the info - I'll try out this patch. -Peter On Thu, Oct 7, 2010 at 10:43 AM, Dyer, James james.d...@ingrambook.com wrote: Look at SOLR-2010 which has patches for 1.4.1 and trunk.  It works with the spellcheck collate functionality and ensures that collations are returned only if

Re: Search Cloud , store stemmed Tokens?

2010-10-08 Thread Otis Gospodnetic
Alex, If I understand correctly, you are taking people's search terms and storing them in some Solr index? Before you store them you want to convert them to their root form. In that case a custom UpdateRequestProcessor (in which you'd add your code that does this conversion) should do the job.

Fwd: solr-user

2010-10-08 Thread ankita shinde
-- Forwarded message -- From: ankita shinde ankitashinde...@gmail.com Date: Sat, Oct 9, 2010 at 8:19 AM Subject: solr-user To: solr-user@lucene.apache.org hello, Is there any api in SolrJ that calls the dataImportHandler to execute commands like full-import and delta-import.

Re: solr-user

2010-10-08 Thread Lance Norskog
Please start a new thread with this topic in the subject line. On Fri, Oct 8, 2010 at 10:37 PM, ankita shinde ankitashinde...@gmail.com wrote: -- Forwarded message -- From: ankita shinde ankitashinde...@gmail.com Date: Sat, Oct 9, 2010 at 8:19 AM Subject: solr-user To: