How to copyFeild to reverse string in another field

2009-06-11 Thread chem leakhina
Hi How can I use copyField to copy field that contains normal text to another field and that field contains as reversed text? Best regards, Lee

Re: How to support stemming and case folding for english content mixed with non-english content?

2009-06-11 Thread KK
Note: I request Solr users to go through this mail and let me thier ideas. Thanks Yonik, you rightly pointed it out. That clearly says that the way I'm trying to mimic the default behaviour of Solr indexing/searching in Lucene is wrong, right?. I downloaded the latest version of solr nightly on m

Re: How to copyFeild to reverse string in another field

2009-06-11 Thread Reza Safari
Hmm, you want to do that because sorl doesn't allow* and ? as the first character? On Jun 11, 2009, at 9:02 AM, chem leakhina wrote: Hi How can I use copyField to copy field that contains normal text to another field and that field contains as reversed text? Best regards, Lee -- Reza

How to use offset and limit in Solr

2009-06-11 Thread chem leakhina
Hi How can I use offset or limit in Solr? Could you give some examples? Best regards, LEE

Re: How to use offset and limit in Solr

2009-06-11 Thread Markus Jelsma - Buyways B.V.
Use start and rows instead. See the common query parameters http://wiki.apache.org/solr/CommonQueryParameters - Markus Jelsma Buyways B.V. Tel. 050-3118123 Technisch ArchitectFriesestraatweg 215c Fax. 050-3118124 http://www.buyways.nl 9743 A

Re: How to use offset and limit in Solr

2009-06-11 Thread Avlesh Singh
Query Parameters: start=yourOffsetValue&rows=yourLimitValue If you use a SolrJ client: SolrQuery query = new SolrQuery(); query.setQuery(yourQuery); query.setRows(yourLimitValue); query.setStart(yourOffsetValue); Cheers Avlesh On Thu, Jun 11, 2009 at 1:53 PM, chem leakhina wrote: > Hi > > How c

Search Phrase Wildcard?

2009-06-11 Thread Samnang Chhun
Hi all, I have my document like this: Solr web service Is there any ways that I can search like startswith: "So* We*" : found "Sol*": found "We*": not found Cheers, Samnang

Re: Customizing results

2009-06-11 Thread Michael Ludwig
revas schrieb: What is GNU gettext and how this can be used in a multilanguage scenario? It'a an internationalization technology, so it is well suited to the tasks of internationalizing and localizing applications. http://www.gnu.org/software/gettext/manual/ http://www.gnu.org/software/gettex

Re: Build Failed

2009-06-11 Thread Michael Ludwig
Mukerjee, Neiloy (Neil) schrieb: When running "ant example" to do an example configuration, I get the following message: BUILD FAILED /home/stagger2/Solr/apache-solr-1.3.0/common-build.xml:149: Compile failed; see the compiler error output for details. I've tried reading through the files in

Re: How to use offset and limit in Solr

2009-06-11 Thread chem leakhina
Thanks On Thu, Jun 11, 2009 at 3:29 PM, Markus Jelsma - Buyways B.V. < mar...@buyways.nl> wrote: > Use start and rows instead. See the common query parameters > > http://wiki.apache.org/solr/CommonQueryParameters > > - > Markus Jelsma Buyways B.V. Tel. 050-3118123 > T

Re: dismax parsing applied to specific fields

2009-06-11 Thread Michael Ludwig
Nick Jenkin schrieb: Hi I was wondering if there is a way of applying dismax parsing to specific fields, where there are multiple fields being searched - all with different query values e.g. author:(tolkien) AND title:(the lord of the rings) would be something like: dismax(author, tolkien) AND

Re: Search Phrase Wildcard?

2009-06-11 Thread Aleksander M. Stensby
Solr does not support wildcards in phrase queries, yet. Cheers, Aleks On Thu, 11 Jun 2009 11:48:13 +0200, Samnang Chhun wrote: Hi all, I have my document like this: Solr web service Is there any ways that I can search like startswith: "So* We*" : found "Sol*": found "We*": not foun

Re: Search Phrase Wildcard?

2009-06-11 Thread Avlesh Singh
Infact, Lucene does not support that. Lucene supports single and multiple character wildcard searches within > single terms (*not within phrase queries*). > Taken from http://lucene.apache.org/java/2_3_2/queryparsersyntax.html#Wildcard%20Searches Cheers Avlesh On Thu, Jun 11, 2009 at 4:32 PM, A

Re: Search Phrase Wildcard?

2009-06-11 Thread Aleksander M. Stensby
Well yes:) Since Solr do infact support the entire lucene query parser syntax:) - Aleks On Thu, 11 Jun 2009 13:57:23 +0200, Avlesh Singh wrote: Infact, Lucene does not support that. Lucene supports single and multiple character wildcard searches within single terms (*not within phrase que

Re: Faceting on text fields

2009-06-11 Thread Yao Ge
FYI. I did a direct integration with Carrot2 with Solrj with a separate Ajax call from UI for top 100 hits to clusters terms in the two text fields. It gots comparable performance to other facets in terms of response time. In terms of algorithms, their listed two "Lingo" and "STC" which I don't

RE: Build Failed

2009-06-11 Thread Mukerjee, Neiloy (Neil)
Running ant -verbose still doesn't allow me to run an example configuration. I get the same error from "ant example" after getting the following from "ant -verbose": Apache Ant version 1.7.0 compiled on August 29 2007 Buildfile: build.xml Detected Java version: 1.6 in: /usr/lib/jvm/java-1.5.0-gc

Re: Search Phrase Wildcard?

2009-06-11 Thread Mark Miller
You might be interested in this Lucene issue: https://issues.apache.org/jira/browse/LUCENE-1486 Aleksander M. Stensby wrote: Well yes:) Since Solr do infact support the entire lucene query parser syntax:) - Aleks On Thu, 11 Jun 2009 13:57:23 +0200, Avlesh Singh wrote: Infact, Lucene do

Re: Build Failed

2009-06-11 Thread Shalin Shekhar Mangar
On Thu, Jun 11, 2009 at 5:49 PM, Mukerjee, Neiloy (Neil) < neil.muker...@alcatel-lucent.com> wrote: > Running ant -verbose still doesn't allow me to run an example > configuration. I get the same error from "ant example" after getting the > following from "ant -verbose": > > Apache Ant version 1.7

Re: solr in distributed mode

2009-06-11 Thread Rakhi Khatwani
Hi, i went through the document: http://www.lucidimagination.com/Community/Hear-from-the-Experts/Articles/Scaling-Lucene-and-Solr i have a couple of questions: 1. In the document its been mentioned that "There will be a 'master' server for each shard and then 1-n 'slaves' that are replicated

Re: Build Failed

2009-06-11 Thread Michael Ludwig
Mukerjee, Neiloy (Neil) schrieb: Running ant -verbose still doesn't allow me to run an example configuration. I get the same error from "ant example" after getting the following from "ant -verbose": Build sequence for target(s) `usage' is [usage] usage: [echo] Welcome to the Solr proje

Re: Solr update performance decrease after a while

2009-06-11 Thread Vincent Pérès
Thank for your answer, I will have a look and try to find a solution. Cheers -- View this message in context: http://www.nabble.com/Solr-update-performance-decrease-after-a-while-tp23945947p23980681.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr update performance decrease after a while

2009-06-11 Thread Yonik Seeley
2009/6/9 Vincent Pérès : > We are indexing approximately 500 documents per day. My benchmark says an > update is done in 0.7 sec just after Solr has been started. But it quickly > decrease to 2.2 secs per update ! Per document added, or for the whole update + commit? > I have just been focused on

Re: Faceting on text fields

2009-06-11 Thread Yao Ge
BTW, Carrot2 has a very impressive Clustering Workbench (based on eclipse) that has built-in integration with Solr. If you have a Solr service running, it is a just a matter of point the workbench to it. The clustering results and visualization are amazing. (http://project.carrot2.org/download.htm

DataImportHandler backwards compatibility

2009-06-11 Thread Kevin Lloyd
Hi, I'm in the process of implementing a DataImportHandler config for Solr 1.3 and I've hit across the Postgresql/JDBC Out Of Memory problem. Whilst the solution is documented on the wiki FAQ page: http://wiki.apache.org/solr/DataImportHandlerFaq it appears that the JDBC driver parameters

Re: DataImportHandler backwards compatibility

2009-06-11 Thread Shalin Shekhar Mangar
On Thu, Jun 11, 2009 at 6:42 PM, Kevin Lloyd wrote: > > I'm in the process of implementing a DataImportHandler config for Solr 1.3 > and I've hit across the Postgresql/JDBC Out Of Memory problem. Whilst the > solution is documented on the wiki FAQ page: > > http://wiki.apache.org/solr/DataImportH

Re: Faceting on text fields

2009-06-11 Thread Michael Ludwig
Yao Ge schrieb: BTW, Carrot2 has a very impressive Clustering Workbench (based on eclipse) that has built-in integration with Solr. If you have a Solr service running, it is a just a matter of point the workbench to it. The clustering results and visualization are amazing. (http://project.carrot2

Getting details from

2009-06-11 Thread Jacob Elder
Hello, Is there any way to get the number of deleted records from a delete request? I'm sending: type_i:(2 OR 3) AND creation_time_rl:[0 TO 124426080] And getting: 02 This is Solr 1.3. -- Jacob Elder

Re: Upgrading 1.2.0 to 1.3.0 solr

2009-06-11 Thread Ryan Grange
I disagree with waiting that month. At this point, most of the kinks in the upgrade from 1.2 to 1.3 have been worked out. Waiting for 1.4 to come out risks you becoming a guinea pig for the upgrade procedure. Plus, if any show-stoppers come along delaying 1.4, you delay implementation of you

correct? impossible to filter / facet on ExternalFileField

2009-06-11 Thread Britske
in our design some often changing fields would benefit from being defined as ExternalFileFields, so we can index them more often than the rest. However we need to filter and facet on them. I don't think that this currently is possible with ExternalFileField but just want to make sure. if not p

Re: correct? impossible to filter / facet on ExternalFileField

2009-06-11 Thread Yonik Seeley
On Thu, Jun 11, 2009 at 12:53 PM, Britske wrote: > in our design some often changing fields would benefit from being defined as > ExternalFileFields, so we can index them more often than the rest. > > However we need to filter and facet on them. > I don't think that this currently is possible with

RE: Upgrading 1.2.0 to 1.3.0 solr

2009-06-11 Thread Francis Yakin
DO you have experience to upgrade from 1.2.0 to 1.3.0? In other words, do you have any suggestions or best if you have any docs or instructions for doing this. I appreciate if you can help me. Thanks Francis -Original Message- From: Ryan Grange [mailto:rgra...@dollardays.com] Sent: T

localSolr + collapse

2009-06-11 Thread Nirkhe, Chandra
Hi, I am using localSolr with collapse. Query response gives two result sets one generated by localSolr based on geo distance and other by collapsing fields. How can I get combined result set? SolrConfig.xml explicit 0.01 true true true

how to get to highlitghting results using solrJ

2009-06-11 Thread Britske
first time I'm using highlighting and results work ok. Im using it for an auto-suggest function. For reference I used the following query: http://localhost:8983/solr/autocompleteCore/select?fl=name_display,importance,score,hl&id&wt=xml&q={!boost b=log(importance)}(prefix1:"or" OR prefix2:"or")

Re: how to get to highlitghting results using solrJ

2009-06-11 Thread Britske
the query contained some experimenting code. The correct one is: http://localhost:8983/solr/autocompleteCore/select?fl=name_display,importance,score&wt=xml&q={!boost b=log(importance)}(prefix1:"or" OR prefix2:"or")&hl=true&hl.fl=prefix1 Moreover, Is there a way to simply add the result of highli

Re: Query Filter fq with OR operator

2009-06-11 Thread brian519
Adding my vote for this feature. Another possible way to do this would be to introduce the "ofq" parameter .. so all of the fq's and AND'ed and the ofq's would be OR'd I've got some really complicated fq's that aren't going to cache well, introducing OR'd filters would allow me to use simpler fi

can Trie fields be stored?

2009-06-11 Thread Peter Wolanin
Looking at the new examples of solr.TrieField http://svn.apache.org/repos/asf/lucene/solr/trunk/example/solr/conf/schema.xml I see that all have indexed="true" stored="false" in the field tpye definition. Does this mean that yo cannot ever store a value for one of these fields? I.e. if I want t

Re: Faceting on text fields

2009-06-11 Thread Jeffrey Tiong
Hi all, We are thinking of using the carrot clustering too. But we saw that carrot maybe can only cluster up to 1000 search snippets. Does anyone know how can we cluster snippets that is much more than that ? (maybe in the million range?) And what is the difference between mahout and carrot? Tha

change data dir location

2009-06-11 Thread Ashish P
I want to change data dir location and not use solrConfig.xml. So on windows I removed dataDir xonfiguration from solrConfig.xml and tried setting 'solr.data.dir' system property to my location. But it looks like solr is not picking up this property on windows. Anybody experienced the same??? Ple

Re: Faceting on text fields

2009-06-11 Thread Otis Gospodnetic
Jeffrey, Are you looking to cluster a whole corpus of documents of just the search results? If it's the latter, use Carrot2. If it's the former, look at Mahout. Clustering top 1M matching documents doesn't really make sense. Usually top 100-200 is sufficient. Otis -- Sematext -- http://s

Re: change data dir location

2009-06-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
set the value in solrconfig.xml to what you like On Fri, Jun 12, 2009 at 10:38 AM, Ashish P wrote: > > I want to change data dir location and not use solrConfig.xml. > So on windows I removed dataDir xonfiguration from solrConfig.xml and tried > setting 'solr.data.dir' system property to my locat

Re: change data dir location

2009-06-11 Thread Ashish P
I don't want to set in solrConfig.xml. I want solr to take from my config file or from system property. Thanks, Ashish Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: > > set the value in solrconfig.xml to what you like > > On Fri, Jun 12, 2009 at 10:38 AM, Ashish P > wrote: >> >> I want to change data d

Re: Faceting on text fields

2009-06-11 Thread Jeffrey Tiong
Thanks Otis! Do you know under what circumstances or application should we cluster the whole corpus of documents vs just the search results? Jeffrey On Fri, Jun 12, 2009 at 1:39 PM, Otis Gospodnetic < otis_gospodne...@yahoo.com> wrote: > > Jeffrey, > > Are you looking to cluster a whole corpus

Re: Getting details from

2009-06-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess not. u will have to make a query to get the no:of docs matching the query probably this can be an enhancement to Solr On Thu, Jun 11, 2009 at 8:16 PM, Jacob Elder wrote: > Hello, > > Is there any way to get the number of deleted records from a delete request? > > I'm sending: > > type_i:(2

Re: change data dir location

2009-06-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
that is fine. you can use any variable in solrconfig.xml as ${the.solr.data.dir}} set the value of the.solr.data.dir as -Dthe.solr.data.dir=%SOME_WINDOWS_PROPERTY% On Fri, Jun 12, 2009 at 11:16 AM, Ashish P wrote: > > I don't want to set in solrConfig.xml. I want solr to take from my config