Re: Problem with facet.fields

2012-01-05 Thread Marc SCHNEIDER
Hello, Thanks a lot for your answers. Sorry I typed it wrong, it was : q=*:*facet=truefacet.field=foofacet.field=lom.classification.ddc.id which caused an error. That's said I added echoParms to the request and only got : str name=facet.fieldlom.classification.ddc.id/str So multivalued URL

Re: How to index documents in SOLR running in Window XP envronment

2012-01-05 Thread dsy99
Dear Gora and all, Thank you very much for replying. My question is how to index documents (.XML, .pdf, .doc files) in Solr. I was trying using curl but it is not working in Windows XP environment. Do any one of you have any ready made program/DIH which I can use to index these types of files.

Intermittent connection timeouts to Solr server using SolrNet

2012-01-05 Thread Ian Grainger
Hi - I have also posted this question on SO: http://stackoverflow.com/questions/8741080/intermittent-connection-timeouts-to-solr-server-using-solrnet I have a production webserver hosting a search webpage, which uses SolrNet to connect to another machine which hosts the Solr search server (on a

Re: How to index documents in SOLR running in Window XP envronment

2012-01-05 Thread Dan McGinn-Combs
Look in the Example directory for a POST.SH and POST.JAR. These could be used to do the job on Windows. But to be honest, I didn't have any problems using CURL on Windows. You just have to be careful to double quote rather than single quote and use the right kind of slashes for directories. Dan

How to index documents in SOLR running in Window XP envronment

2012-01-05 Thread Dan McGinn-Combs
Look in the Example directory for a POST.SH and POST.JAR. These could be used to do the job on Windows. But to be honest, I didn't have any problems using CURL on Windows. You just have to be careful to double quote rather r On Thursday, January 5, 2012, dsy99 ds...@rediffmail.com wrote: Dear

SmartChineseAnalyzer and stopwords.txt

2012-01-05 Thread Delbosc, Sylvain
Hello, I would like to know how to use stopwords with SmartChineseAnalyzer. Following what is described at http://lucene.apache.org/java/2_9_0/api/contrib-smartcn/org/apache/lucene/analysis/cn/smart/SmartChineseAnalyzer.html it seems to be possible but I do not manage to make it work.

prevent PlainTextEntityProcessor to encode text

2012-01-05 Thread meghana
Hi all, I am importing one field into solr using PlainTextEntityProcessor from a text file , which have text in XML format. after importing it some of the text get encoded (e.g. it convert quotation mark() to quot;) Can i prevent it to not encode XML and keep it as it is. (like do not convert

Solr Search issue while making multivalued field to signle valued.

2012-01-05 Thread meghana
i have one text field. previously it was multivalued field and imported using xpathentityprocessor and it was working fine; now i change it to single value field and use plaintextentiyprocessor. when i do make search on it; currently (single value - plaintext entity processor) its giving less

LUCENE-995 in 3.x

2012-01-05 Thread Ingo Renner
Hi all, I've backported LUCENE-995 to 3.x and the unit test for TestQueryParser is green. What would be the workflow to actually get it into 3.x now? - attach the patch to the original issue or - create a new issue attaching the patch there? best Ingo -- Ingo Renner TYPO3 Core Developer,

Re: soft commit 2

2012-01-05 Thread Erick Erickson
What is your evidence that it doesn't work when you specify it in solrconfig.xml? You haven't provided enough information about what you've tried to give us much to go on. It might help to review: http://wiki.apache.org/solr/UsingMailingLists Best Erick On Tue, Jan 3, 2012 at 8:17 AM, ramires

Re: doing snapshot after optimize - rotation parameter?

2012-01-05 Thread Erick Erickson
Have you looked at deletionPolicy and maxCommitsToKeep? Best Erick On Tue, Jan 3, 2012 at 8:32 AM, Torsten Krah tk...@fachschaft.imn.htwk-leipzig.de wrote: Hi, i am taking snapshots of my master index after optimize calls (run each day once), to get a clean backup of the index. Is there a

Re: Commit without an update handler?

2012-01-05 Thread Erick Erickson
Hmmm, does it work just to put this in the masters index and let replication to its tricks and issue your commit on the master? Or am I missing something here? Best Erick On Tue, Jan 3, 2012 at 1:33 PM, Martin Koch m...@issuu.com wrote: Hi List I have a Solr cluster set up in a master/slave

Re: Do Hignlighting + proximity using surround query parser

2012-01-05 Thread Erick Erickson
Please review: http://wiki.apache.org/solr/UsingMailingLists You haven't provided enough information for anyone to provide much help. Best Erick On Wed, Jan 4, 2012 at 8:28 AM, reachpratik pra...@reach1to1.com wrote: Hello, I am not able to do highlighting with surround query parser on the

Re: LUCENE-995 in 3.x

2012-01-05 Thread Michael McCandless
Thank you Ingo! I think post the 3.x patch directly on the issue? I'm not sure why this wasn't backported to 3.x the first time around... Mike McCandless http://blog.mikemccandless.com On Thu, Jan 5, 2012 at 8:15 AM, Ingo Renner i...@typo3.org wrote: Hi all, I've backported LUCENE-995 to

Re: Generic RemoveDuplicatesTokenFilter

2012-01-05 Thread Erick Erickson
@Pravesh That look reasonable. Of course you could extend it to do many things. I'm assuming you've just created a plugin that you use rather than compile this into the Solr code, right? @astubbs I'd probably use a TokenFilter(Factory) implementation as a plugin as I think pravesh has. It would

Re: LUCENE-995 in 3.x

2012-01-05 Thread Ingo Renner
Am 05.01.2012 um 15:05 schrieb Michael McCandless: Thank you Ingo! I think post the 3.x patch directly on the issue? thanks for the advice Michael, path is attached: https://issues.apache.org/jira/browse/LUCENE-995 Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2,

Re: Detecting query errors with SolrJ

2012-01-05 Thread Erick Erickson
Shawn: Somewhere you have access to a CommonsHttpSolrServer, right? There's a getHttpClient call that returns an org.apache.commons.httpclient that might get you the information you need. Best Erick On Wed, Jan 4, 2012 at 1:03 PM, Shawn Heisey s...@elyograg.org wrote: When doing Solr queries

XPathEntityProcessor append text in foreach

2012-01-05 Thread meghana
Hi all, i have one non-multivalued field , which i want to import from a file using XPathEntityProcessor. entity name=x onError=continue processor=XPathEntityProcessor transformer=TemplateTransformer forEach=/tt/body/div/p url=${SRC.FileName} dataSource=FS field

matching on month

2012-01-05 Thread Don Hill
Hi, I am trying to return results based on the month of a date field, Is this possible. I know I can do ranges using the field:[date TO date] but now I have a requirement to return records based on just the month part of a date so if I have record with these dates and search on the May/05 date

Re: doing snapshot after optimize - rotation parameter?

2012-01-05 Thread Torsten Krah
Am Donnerstag, den 05.01.2012, 08:48 -0500 schrieb Erick Erickson: Have you looked at deletionPolicy and maxCommitsToKeep? Hm, but that are deletion policy parameters for the running index, how much commit points should be kept - the internal ones from lucene:

Re: Commit without an update handler?

2012-01-05 Thread Martin Koch
Yes. However, something must actually have been updated in the index before a commit on the master causes the slave to update (this is what was confusing me). Since I'll be updating the index fairly often, this will not be a problem for me. If, however, the external file field is updated often,

Re: matching on month

2012-01-05 Thread Sethi, Parampreet
Hi Don, You can try date name=*effDate_tdt*2011-05-01T00:00:00Z TO 2011-05-30T00:00:00Z/date date name=*effDate_tdt*2006-05-01T00:00:00Z TO 2006-05-30T00:00:00Z/date And so on. I am not sure if month query is available, probably other group members can shed more light on the same. But this

RE: How to index documents in SOLR running in Window XP envronment

2012-01-05 Thread Dyer, James
Just be sure to download the correct binary for your version of Windows. Then unzip the file somewhere and add curl.exe to your PATH. It should then just work from the command line like the examples. If you need more curl help, you might need to ask elsewhere. With curl you can upload

Re: LUCENE-995 in 3.x

2012-01-05 Thread Michael McCandless
Awesome, thanks Ingo... I'll have a look! Mike McCandless http://blog.mikemccandless.com On Thu, Jan 5, 2012 at 9:23 AM, Ingo Renner i...@typo3.org wrote: Am 05.01.2012 um 15:05 schrieb Michael McCandless: Thank you Ingo! I think post the 3.x patch directly on the issue? thanks for the

Re: matching on month

2012-01-05 Thread Erick Erickson
The query would actually look like fq=effDate_tdt:[2011-05-01T00:00:00Z TO 2011-05-31T00:00:00Z] and you need to be a little careful with the end date, this would actually skip documents on 31 May, you'd need to do something like: fq=effDate_tdt:[2011-05-01T00:00:00Z TO 2011-05-31T23:59:59:999Z]

Re: SOLR results case

2012-01-05 Thread Juan Grande
Hi Dave, The stored content (which is returned in the results) isn't modified by the analyzers, so this shouldn't be a problem. Could you describe in more detail what you are doing and the results that you're getting? Thanks, *Juan* On Thu, Jan 5, 2012 at 2:17 PM, Dave dla...@gmail.com

Re: SOLR results case

2012-01-05 Thread Dave
Hi Juan, When I'm storing the content, the field has a LowerCaseFilterFactory filter, so that when I'm searching it's not case sensitive. Is there a way to re-filter the data when it's presented as a result to restore the case or convert to Title Case? Thanks, Dave On Thu, Jan 5, 2012 at 12:41

Heads Up - Index File Format Change on Trunk

2012-01-05 Thread Simon Willnauer
Folks, I just committed LUCENE-3628 [1] which cuts over Norms to DocVaues. This is an index file format change and if you are using trunk you need to reindex before updating. happy indexing :) simon [1] https://issues.apache.org/jira/browse/LUCENE-3628

Re: SOLR results case

2012-01-05 Thread Juan Grande
Hi Dave, Have you tried running a query and taking a look at the results? The filters that you define in the fieldType don't affect the way the data is *stored*, it affects the way the data is *indexed*. With this I mean that the filters affect the way that a query matches a document, and will

Re: matching on month

2012-01-05 Thread Chris Hostetter
: The query would actually look like : fq=effDate_tdt:[2011-05-01T00:00:00Z TO 2011-05-31T00:00:00Z] i think your overlooking part of the question ... Don seems to be asking how to query if the value of a date field contains a day in the month of may, regarldess of year... : the query would

Solr Scoring question

2012-01-05 Thread Christopher Gross
I'm getting different results running these queries: http://localhost:8080/solr/select?q=*:*fq=source:wikifq=tag:carsort=score+desc,dateSubmitted+ascfl=title,score,dateSubmittedrows=100

Re: Solr Scoring question

2012-01-05 Thread Simon Willnauer
hey, On Thu, Jan 5, 2012 at 9:31 PM, Christopher Gross cogr...@gmail.com wrote: I'm getting different results running these queries: http://localhost:8080/solr/select?q=*:*fq=source:wikifq=tag:carsort=score+desc,dateSubmitted+ascfl=title,score,dateSubmittedrows=100

Round Robin concept in distributed Solr

2012-01-05 Thread Suneel
So scenario A (round-robin): query 1: /solr-shard-1/select?q=dog... shards=shard-1,shard2 query 2: /solr-shard-2/select?q=dog... shards=shard-1,shard2 query 3: /solr-shard-1/select?q=dog... shards=shard-1,shard2 etc. or or scenario B (fixed): query 1: /solr-shard-1/select?q=dog...

Re: LUCENE-995 in 3.x

2012-01-05 Thread Ingo Renner
Am 05.01.2012 um 16:27 schrieb Michael McCandless: Awesome, thanks Ingo... I'll have a look! Thank YOU for taking the time and looking into it! Ingo -- Ingo Renner TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code TYPO3 Open Source Enterprise Content Management

Re: [Solr Event Listener plug-in] Execute query search from SolrCore - Java Code

2012-01-05 Thread Chris Hostetter
: I have tried to open a new searcher and make a forced commit inside the : postCommit method of the listener, but it caused many issues. : How can I complete the commit and then call the postCommit method of the : listener with the logic inside ( with a lot of queries on the last : committed

Re: edismax ignores the quoted sub phrase query ?

2012-01-05 Thread Chris Hostetter
: Is this the intended behavior of edismax, or am I missing anything ? it definitely looks like a bug to me, that pf clause is non sensical. I've opened a jira to track this, but i'm afraid i can't offer any advice on how to fix it... https://issues.apache.org/jira/browse/SOLR-3008 -Hoss

Solr TransformerException, SocketException: Broken pipe

2012-01-05 Thread bhawna singh
Hi Guys, We are experiencing SEVERE exceptions in SOLR (stacktrace below) Please let me know if anyone has experienced this and have some insight / pointers on to where and what should I look for to resolve this. ERROR [solr.servlet.SolrDispatchFilter] - : java.io.IOException: XSLT transformation

no such core error with EmbeddedSolrServer

2012-01-05 Thread Phillip Rhodes
Hi all, I'm having an issue that I hope someone can shed some light on. I have a Groovy program, using Solr 3.5, where I am attempting to use EmbeddedSolrServer using the instructions shown here: http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer to that end, I have code setup like this: ...

Re: doing snapshot after optimize - rotation parameter?

2012-01-05 Thread Chris Hostetter
: i am taking snapshots of my master index after optimize calls (run each please define what you mean by taking snapshots -- the replication handler has no snapshot command that i know of. Are you using the old snapshooter scripts from Solr 1.4 style replication, or are you doing something

Re: Query regarding solr custom sort order

2012-01-05 Thread umaswayam
Hi Bernd, The column which comes from database is string only, that is being default populated. How do I convert it to double as the format is 1.00,2.00,3.00 in database. So I need it to be coverted to double only. Thanks, Uma Shankar -- View this message in context:

Indexing Failed.Rolled back all changes Issue

2012-01-05 Thread Rajdeep Alapati
Hi, I am new to this SOLR.I was digging data import request handler for past few days and now i am doing some poc after i download the solr server. I do have a table called files and i want to perform the Full import as part of POC. I changed the data-config.xml and registered the