RE: newbie question for DataImportHandler

2011-05-24 Thread Zac Smith
Sounds like you might not be committing the delete. How are you deleting it? If you run the data import handler with clean=true (which is the default) it will delete the data for you anyway so you don't need to delete it yourself. Hope that helps. -Original Message- From: antoniosi [mail

newbie question for DataImportHandler

2011-05-24 Thread antoniosi
Hi, I am new to Solr; apologize in advance if this is a stupid question. I have created a simple database, with only 1 table with 3 columns, id, name, and last_update fields. I populate the database with 1 million test rows. I run solr, go to the data import handler development console and do a

How to use StreamingUpdateSolrServer?

2011-05-24 Thread deniz
Hi all, to improve crappy indexing speed i would like to use StreamingUpdateSolrServer but as a newbie I am not sure where to use... I have checked the wiki but all i get is how to implement. not where to put that method... Or maybe i am missing some facts... anyway, anyone used StreamingUpdateSo

MaxWarming Searcher

2011-05-24 Thread Sujatha Arun
Hello, We are running our Indexing Script from one server and our Search Instances are on another server .We run a cron job for Indexing and commit after ever update ,which I know is not the right thing to do.Sometimes ,but not always we get this MAxwarming Searcher Exception, but the server i

Fwd: Delivery Status Notification (Failure)

2011-05-24 Thread Vivek Kuruvilla
Hello, I'm a student of Computer Science Engineering, and I'm currently in the midst of an internship. The project I've been given requires a two phase search engine using solr that does the following : a) at run-time, searches documents for particular rules or keywords, which can help define whi

What is document tag in data-config.xml of Solr

2011-05-24 Thread Romi
Hi, I am working with solr server. i want to fetch data from MySQL database to solr. the following is the db-data-config.xml: i want to know what tag indicates here, can we give more then one tag here, if possible please refer me some good example - Romi

JdbcDataSource isolation lelel

2011-05-24 Thread Romi
Hi, i am fetching data from mysql database to solr for indexing. i want to know what is the default isolation level in jdbcdatasource connection. - Romi -- View this message in context: http://lucene.472066.n3.nabble.com/JdbcDataSource-isolation-lelel-tp2978492p2978492.html Sent from the Sol

Uploading General documents to Solr

2011-05-24 Thread ester
I understand Solr and how it works a little bit. Its seems intuitive for storing full text messages. According to the documentation it will store them in the index file. Wouldn't it be better to store an analyzed version of the message and store the actual message as a text file somewhere on the sy

DIH import and postImportDeleteQuery

2011-05-24 Thread Alexandre Rocco
Guys, I am facing a situation in one of our projects that I need to perform a cleanup to remove some documents after we perform an update via DIH. The big issue right now comes from the fact that when we call the DIH with clean=false, the postImportDeleteQuery is not executed. My setup is current

Re: Similarity

2011-05-24 Thread Brian Lamb
This did the trick. Thanks! On Mon, May 23, 2011 at 5:03 PM, Markus Jelsma wrote: > Hmm. I don't add code to Apache packages but create my own packages and > namespaces, build a jar and add it to the lib directory as specified in > solrconfig. Then you can use the FQCN to in the similarity config

Re: Help, Data Import not indexing in solr.

2011-05-24 Thread Gora Mohanty
On Tue, May 24, 2011 at 10:55 PM, fredylee wrote: > anybody? help? [...] There were various possible errors in your data-import configuration file, which is why I had suggested starting with the tutorial, and ensuring that you are first able to reproduce the built-in examples. At a minimum, plea

Re: Help, Data Import not indexing in solr.

2011-05-24 Thread fredylee
anybody? help? -- View this message in context: http://lucene.472066.n3.nabble.com/Help-Data-Import-not-indexing-in-solr-tp2963450p2980718.html Sent from the Solr - User mailing list archive at Nabble.com.

Termscomponent sort question

2011-05-24 Thread antonio
Hi, i use solr 3.1. I implemented my autocomplete with TermsComponent. I'm finding, if there is, a way to sort my finding terms by score. Example, i there are two terms: "Rome" and "Near Rome", that have the same count (that is 1), i would that "Rome" will be before "Near Rome". Because count is th

Re: Dismax + spatial constraints

2011-05-24 Thread Smiley, David W.
Yes. "fq" (filter queries) are independent of the user's query in "q". On May 24, 2011, at 10:58 AM, Jamie Johnson wrote: > ok, so anything that goes in q would then be used for dismax but anything > else could go into fq (or multiple fqs) to apply different criteria in > addition then correct? >

Re: Dismax + spatial constraints

2011-05-24 Thread Jamie Johnson
ok, so anything that goes in q would then be used for dismax but anything else could go into fq (or multiple fqs) to apply different criteria in addition then correct? On Tue, May 24, 2011 at 9:43 AM, Smiley, David W. wrote: > Hi Jamie. > > You can definitely use dismax & geospatial; these are u

custom highlighting

2011-05-24 Thread dan sutton
Hi, I'd like to make the highlighting work as follows: length(all snippits) approx. 200 chars hl.snippits = 2 (2 snippits) e.g. if there is onyl 1 snippet available, length <= 200chars e.g. if there is >1 snippet, length each snippet == 100chars, so I take the first 2 and get 200 chars Is this

Index content behind siteminder

2011-05-24 Thread Thumuluri, Sai
Good morning, I am trying to index some PDFs which are protected by siteminder, any ideas as to how I can go about it? I am using Solr 1.4

Re: Dismax + spatial constraints

2011-05-24 Thread Smiley, David W.
Hi Jamie. You can definitely use dismax & geospatial; these are unrelated. Use defType=dismax to get dismax and then use an appropriate geospatial filter like fq={!bbox}&sfield=store&pt=45.15,-93.85&d=5 For temporal based constraints, add a temporal filter query: fq=timestamp:[NOW-1MONTH TO N

Re: how to convert YYYY-MM-DD to YYY-MM-DD hh:mm:ss - DIH

2011-05-24 Thread stockii
yes. thx for your help =) - --- System One Server, 12 GB RAM, 2 Solr Instances, 7 Cores, 1 Core with 31 Million Documents other Cores < 100.000 - Solr1 for Search-Requests - commit every Minute - 5GB Xmx - Solr2 for Upda

Re: Spatial Solr 3.1: filter by viewport

2011-05-24 Thread Smiley, David W.
Hi Zac. The syntax in your example is odd, I didn't know you could do that. Except it doesn't quite work as you show. You could file a bug. As an alternative that might suffice, use the point-radius arguments in which Solr will take the minimum-bounding-box for. See {!bbox} http://wiki.apache.

Re: Results with and without whitspace(soccer club and soccerclub)

2011-05-24 Thread roySolr
Ok, I will do it with synonyms. What does the list look like? soccerclub,soccer club The index looks like this: Manchester united soccerclub Chelsea soccer club I want them both in my results if i search for "soccer club" or "soccerclub". How can i configure this in schema.xml? -- View this

RE: spellcheck.collate returning all results

2011-05-24 Thread Richard Hodsdon
Hi, Thanks this did the trick. I am using SOLR 3.1, so I did not need to apply the first patch. Richard -- View this message in context: http://lucene.472066.n3.nabble.com/spellcheck-collate-returning-all-results-tp2975621p2979560.html Sent from the Solr - User mailing list archive at Nabble.co

Re: Solr Highlight Component

2011-05-24 Thread Mike Sokolov
A possible workaround is to re-fetch the documents in your result set with a query that is: +id=(id1 or id2 or ... id20) () where id1..20 are the doc ids in your result set would require two round-trips though -Mike On 05/24/2011 08:19 AM, Koji Sekiguchi wrote: (11/05/24 20:56), Lord Khan H

Re: how to convert YYYY-MM-DD to YYY-MM-DD hh:mm:ss - DIH

2011-05-24 Thread Gora Mohanty
On Tue, May 24, 2011 at 5:36 PM, stockii wrote: > i am so an IDIOT !!! SORRRYY XD hehe > > i wrote "zeroDateTimeBehavOIr" and not "zeroDateTimeBehavior" [...] Heh! So, everything OK, now? Regards, Gora P.S. I did ask about this earlier in the thread :-)

Re: Solr Highlight Component

2011-05-24 Thread Koji Sekiguchi
(11/05/24 20:56), Lord Khan Han wrote: Hi , Can I limit the terms that the HighlightComponent uses. My query is generally long and I want specific ones to be highlighted and the rest is not highlighted. Is there an option like the SpellCheckComponent. it uses q unless spellcheck.q if specified.

Dynamic facet field

2011-05-24 Thread roySolr
Hello, I have some problem with dynamic facets. I have a database with 1mil. products and have indexed this with DIH. Now i have facets that are connected to one category of products. Example: Category Facet Television type(hd,plasma), Inches(38,42), Color(black,g

Re: how to convert YYYY-MM-DD to YYY-MM-DD hh:mm:ss - DIH

2011-05-24 Thread stockii
i am so an IDIOT !!! SORRRYY XD hehe i wrote "zeroDateTimeBehavOIr" and not "zeroDateTimeBehavior" ... - --- System One Server, 12 GB RAM, 2 Solr Instances, 7 Cores, 1 Core with 31 Million Documents other Cores <

Solr Highlight Component

2011-05-24 Thread Lord Khan Han
Hi , Can I limit the terms that the HighlightComponent uses. My query is generally long and I want specific ones to be highlighted and the rest is not highlighted. Is there an option like the SpellCheckComponent. it uses q unless spellcheck.q if specified. Is a hl.q parameter possible? Or any o

Re: WELCOME to solr-user@lucene.apache.org

2011-05-24 Thread Lord Khan Han
Hi , Can I limit the terms that the HighlightComponent uses. My query is generally long and I want specific ones to be highlighted and the rest is not highlighted. Is there an option like the SpellCheckComponent. it uses q unless spellcheck.q if specified. Is a hl.q parameter possible? Or an

Re: how to convert YYYY-MM-DD to YYY-MM-DD hh:mm:ss - DIH

2011-05-24 Thread stockii
new error message: -00-00^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

Re: how to convert YYYY-MM-DD to YYY-MM-DD hh:mm:ss - DIH

2011-05-24 Thread stockii
SELECT CONCAT('tablename_', CAST(cp.id AS CHAR)) AS uniquekey, cp.id, cp.fieldname .., mp.fieldname, mp. FROM consumer AS cp INNER JOIN morepush AS mp ON cp.id = mp.id in my "query" is a "norma" JOIN select. - --- System -

Re: Highlighting in solr

2011-05-24 Thread Darren Govoni
You should be able to retrieve the snippets in your search engine and combine or format them however you like before returning the results to your client Right? So in your middle tier, you invoke solr with a search, get the results, retrieve the snippets, iterate over them and format to your needs

Re: how to convert YYYY-MM-DD to YYY-MM-DD hh:mm:ss - DIH

2011-05-24 Thread Gora Mohanty
On Tue, May 24, 2011 at 1:03 PM, stockii wrote: > okay, thx =) [...] So, which version of Solr are you using? Just tried this with Solr 1.4, and things seem to work as expected for me. Here is what I did: * Inserted a zero value into a mysql date field called testdate (also tried with datetime

Dismax + spatial constraints

2011-05-24 Thread Jamie Johnson
Is there a way to use dismax and spatial constraints? I haven't seen how to do this in the docs and only have seen a handful of questions on it. I have the same question for temporal based constraints. What would a solrconfig for this look like?

Highlighting in solr

2011-05-24 Thread Vignesh Raj
Hi, I use Solrnet to develop a search engine. In my application, I have a field called file_contents which I use for highlighting. Am able to get the highlights without a problem. Now I need to format it. For example, if the keyword occurs multiple times in the field, I have to display it lime wha

Re: Including Score in Solr POJO

2011-05-24 Thread Anuj Kumar
Hi, I have not tried that but if you add a field annotation for "score" in your POJO and set the query object to include the score. Doesn't it populate the POJOs score field? Are you using- http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/beans/DocumentObjectBinder.html for appropri

parentDeltaQuery

2011-05-24 Thread Romi
Hi, i am new to solr and i m trying some examples to fetch data from MySql to solr server.I want to know what is parentDeltaQuery, when should it b used, what is its advantage. please refer me some good example. - Romi -- View this message in context: http://lucene.472066.n3.nabble.com/parent

auto-completion with suggester and spellchecking

2011-05-24 Thread Jean-Claude Dauphin
Hi, I would like to get suggestions that correspond to spelling correction in case there are typing mistakes in the typed characters. I found a similar post but with no answer http://lucene.472066.n3.nabble.com/Solr-suggester-and-spell-checker-td2326907.html And I have some questions about how

Re: Including Score in Solr POJO

2011-05-24 Thread Kissue Kissue
Hi Anuj, Thanks for your response. I am actually doing a bean search so am doing the following: SolrQuery solrQuery = new SolrQuery(query); QueryResponse response = solr.query(solrQuery); List beans = response.getBeans(Product.class); It is not immediately clear to me ho

Sorting count

2011-05-24 Thread Daniel Persson
Hi. Using solr 1.4.0 is there any way to sort fields depending on counted multi-value fields? At the moment i use a sort statement like catalog_id desc, score desc the statement i want to use is more like count(catalog_id) desc, score desc I want the results that are present in a larger amoun

What is document tag in data-config.xml of Solr

2011-05-24 Thread Romi
Hi, I am working with solr server. i want to fetch data from MySQL database to solr. the following is the db-data-config.xml: i want to know what tag indicates here, can we give more then one tag here, if possible please refer me some good example - Rom

JdbcDataSource isolation lelel

2011-05-24 Thread Romi
Hi, i am fetching data from mysql database to solr for indexing. i want to know what is the default isolation level in jdbcdatasource connection. - Romi -- View this message in context: http://lucene.472066.n3.nabble.com/JdbcDataSource-isolation-lelel-tp2978664p2978664.html Sent from the Sol

Re: how to convert YYYY-MM-DD to YYY-MM-DD hh:mm:ss - DIH

2011-05-24 Thread stockii
okay, thx =) - --- System One Server, 12 GB RAM, 2 Solr Instances, 7 Cores, 1 Core with 31 Million Documents other Cores < 100.000 - Solr1 for Search-Requests - commit every Minute - 5GB Xmx - Solr2 for Update-Request -