DIH $deleteDocByQuery

2010-07-27 Thread Maddy.Jsh
Hi, I have been using DIH to do index documents from database. I am hoping to use DIH to delete documents from index. I search in wiki and found the special commands in DIH to do so. http://wiki.apache.org/solr/DataImportHandler#Special_Commands But there is no example on how to use them. I tr

Shard Query in Solrsharp

2010-09-29 Thread Maddy.Jsh
Hi, I have been using solrsharp to integrate solr in my project. Everything was going fine until I tried to incorporate shard query. I tested the shard query using the browser and everything went fine. I tried to do the same in solrsharp by adding the following line queryBuilder.AddSearchParame

Begins with and ends with word

2010-10-04 Thread Maddy.Jsh
Hi, I have 2 documents with following values. Doc1 Subject: Weekly transport Doc2 Subject: Week report on transportation I need to search documents in 4 formats 1. Begins with “week” It should return documents which has "week" as first word, i.e. doc1 2. Begins with “week*” It shoul

Wildcard search in phrase query using spanquery

2010-04-19 Thread Maddy.Jsh
I need to perform wildcard search in phrase query. I have 2 documents containing text "how do impair" and "how to improve". I want to be able to search both documents by searching (how to im*). There is a provision in lucene which allows me to perform this operation using SpanWildcardQuery and kee

Re: Wildcard search in phrase query using spanquery

2010-04-20 Thread Maddy.Jsh
I tried that and got the following result. Do I have to do anything other than the mentioned instructions to make it work? HTTP ERROR: 500 tried to access field org.apache.lucene.queryParser.QueryParser.field from class org.apache.lucene.queryParser.ComplexPhraseQueryParser$ComplexPhraseQuery j

Re: Wildcard search in phrase query using spanquery

2010-04-21 Thread Maddy.Jsh
I used eclipse-jee-galileo-SR2-win32 to build the ant and selected dist-war for execution in build. I got the following message. Buildfile: D:\apache-solr-1.4.0\build.xml init-forrest-entities: compile-solrj: compile: [javac] Compiling 1 source file to D:\apache-solr-1.4.0\build\solr [jav

Re: Wildcard search in phrase query using spanquery

2010-04-21 Thread Maddy.Jsh
I used command line to build ant this time. Ahmet Arslan wrote: > > > Are you running solr using "java -jar start.jar"? > If yes you need to re-name > apache-solr-1.4.0\dist\apache-solr-1.4.1-dev.war to solr.war and put it > under apache-solr-1.4.0\example\webapps > > Also you may need to de

Re: Wildcard search in phrase query using spanquery

2010-04-21 Thread Maddy.Jsh
Ahmet Arslan wrote: > > > Before calling 'ant dist' where did you copy the ComplexPhrase-1.0.jar? > > apache-solr-1.4.0\lib or apache-solr-1.4.0\example\lib? > > > I tried it by placing ComplexPhrase-1.0.jar in apache-solr-1.4.0\lib ; apache-solr-1.4.0\example\lib ; and apache-solr-1.4.0\e

Re: Wildcard search in phrase query using spanquery

2010-04-21 Thread Maddy.Jsh
Thanks it worked now. I think building clean ant is what made the difference. I'll work on this a bit more and give you feedbacks. -- View this message in context: http://n3.nabble.com/Wildcard-search-in-phrase-query-using-spanquery-tp729275p741988.html Sent from the Solr - User mailing list arc

Re: Dynamic dataConfig files in DIH

2010-06-13 Thread Maddy.Jsh
I have multiple db-data-config file which I have created according to my needs. I want to be able to specify which config file to use while performing DIH. -- View this message in context: http://lucene.472066.n3.nabble.com/Dynamic-dataConfig-files-in-DIH-tp875421p893553.html Sent from the Solr

DIH error documents' list

2010-06-15 Thread Maddy.Jsh
DIH skips the documents which has errors and it also shows which field caused the error. But which documents is skipped and which field caused the error is only shown in the server console. Is there a way to retrieve that info in the browser or read the info from the console itself. Thanks, Maddy