Re: Accessing a doc field while working at entity level

2011-09-05 Thread Jayendra Patil
you should be able to do it using ${feed-source.last-update} You can find examples and explaination @ http://wiki.apache.org/solr/DataImportHandler Regards, Jayendra On Mon, Sep 5, 2011 at 8:02 AM, penela wrote: > Hi! > > This might probably be a stupid question, but I can't find clear info on

Re: It is possible to use a dynamic query in entity from dataConfig???

2011-09-05 Thread crisfromnova
As I said is working, but I'm blocked again. I wish to have for each user a different index in a different dataDir. There is a way to do this with only one application of solr and without using multicore option? Can I set to switch the index by the table name? -- View this message in context: htt

Re: It is possible to use a dynamic query in entity from dataConfig???

2011-09-05 Thread crisfromnova
Thank you very much. It works. -- View this message in context: http://lucene.472066.n3.nabble.com/It-is-possible-to-use-a-dynamic-query-in-entity-from-dataConfig-tp3310802p3312620.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Problem while replicating solr

2011-09-05 Thread shinkanze
thanks Erick For your suggestions My other slave is working fine with the same space contraints ,as it is a failover so practically its idle when i am replicating it . The other slave which is creating replication problems is active when we replicate .. so can there be any issue with th

Re: Field with No data

2011-09-05 Thread deniz
http://lucene.472066.n3.nabble.com/file/n3312511/Screen_shot_2011-09-06_at_11.56.47.png http://lucene.472066.n3.nabble.com/file/n3312511/Screen_shot_2011-09-06_at_11.57.04.png screenshots to make it clear how it looksl like on analysis - Zeki ama calismiyor... Calissa yapar... -- View

Field with No data

2011-09-05 Thread deniz
hi all, I have a problem with solr fields and feeling totally confused about that... the situation is this: I have two different environments for a web site, one is for testing issues and the other is the real site which is on live... but both of them are identical - except there are using separa

Re: how can we do the solr scheduling in windows o/s?

2011-09-05 Thread William Bell
We are going to be posting a Solr Command Utility - Windows version. https://github.com/justengland/Solr-Command-Utility It is a work in progress. Next step is to document it. 1. Use it to force a DIH full or delta index. 2. It works with 2 cores. A primary core does the indexing, and if there a

What will happen when one thread is closing a searcher while another is searching?

2011-09-05 Thread Li Li
hi all, I am using spellcheck in solr 1.4. I found that spell check is not implemented as SolrCore. in SolrCore, it uses reference count to track current searcher. oldSearcher and newSearcher will both exist if oldSearcher is servicing some query. But in FileBasedSpellChecker public void bu

Re: StreamingUpdateSolrServer#handleError

2011-09-05 Thread Mark Miller
The default impl logs with slf4j - just setup logging properly and you will see the results? Alternatively, you can subclass and impl that method however you'd like. On Sep 5, 2011, at 6:36 PM, Leonardo Souza wrote: > Hi, > > Inspecting StreamingUpdateSolrServer#handleError i can't see how to

StreamingUpdateSolrServer#handleError

2011-09-05 Thread Leonardo Souza
Hi, Inspecting StreamingUpdateSolrServer#handleError i can't see how to keep track of failures, i'd like to discover which documents failed during the request. thanks in advance! -- Leonardo S Souza

Re: It is possible to use a dynamic query in entity from dataConfig???

2011-09-05 Thread Chris Hostetter
: I have a database which has a table for each user(ex: table_name_user) and I : want to make an index for each user, but using the same dataconfig.xml. It : is possible to set dynamic the table used in query? I want to have only one : dataconfig file because I have more than 50 users so it will b

Re: category tree navigation with the help of solr

2011-09-05 Thread Chris Hostetter
: There are following points about catgory and products to be considered, : 1.One product can belong to more than one categories. : 2.category is a hierarchical facet. : 3.More than one categories can share same name. if multiple categories have the same name (presumably because the hierachy is

Re: geodist() parameters?

2011-09-05 Thread William Bell
I just updated the Wiki with the parameters for geodist() http://wiki.apache.org/solr/SpatialSearch On Thu, Sep 1, 2011 at 3:10 PM, Juan Grande wrote: > Hi Bill, > > As far as I know, you can pass a completely different set of parameters to > each of the functions/filters. For example: > > http

Solr 1.4.1: problems with replication and index operation both at the same time.

2011-09-05 Thread Luis Cappa Banda
Hello. I have the suspicion that while the replication is in process from a batch machine to N slaves machines I have performance problems: read timed out exceptions, etc. The thing is that I have deployed a real time environment where the batch machine recieves petitions, process them and then in

Re: Testing Solr Search results

2011-09-05 Thread Marc SCHNEIDER
Hi, It depends what you want to test. If you want to check that your fields behave like they should (for example make sure that the content of a field containing accents can be retrieved) they you can write unit tests using a Solr client API like solrj. You insert sample data and then you programma

Re: Sentence aware Highlighter

2011-09-05 Thread Koji Sekiguchi
(11/09/05 23:09), O. Klein wrote: Using the regex in the old highlighter I had reasonable sentence aware highlighting, but speed is an issue. So I tried to get this working with the VFH, but this obviously didn't work with the regex. So I am looking for ways to get the same behavior but with imp

Re: Multiple Solr replicaton threads

2011-09-05 Thread bramsreddy
I am using solr 1.4 and solrj.I am sorry that i mentioned 'x seconds',in fact its x minutes. I found the root cause for the problem.I am using EmbededSolrServer to serve all search requests from my applications.So when the web application starts one snap puller will be created.And to create Embede

Re: Pattern: Is there a method of resolving multivalued date ranges into a single document?

2011-09-05 Thread federico.wachs
Nobody? I don't have problem with the hours but I do have the same situation with dates where a document could be in many date ranges. Any suggestion? Please ! -- View this message in context: http://lucene.472066.n3.nabble.com/Pattern-Is-there-a-method-of-resolving-multivalued-date-ranges-into-

Re: DIH primary key

2011-09-05 Thread Gora Mohanty
On Mon, Sep 5, 2011 at 7:38 PM, Erick Erickson wrote: [...] > You might be able to do something with creating a synthetic that > was the timestamp or some such, although be sure you don't generate > the same timestamp for two successive records, but I'm guessing. [...] Which database are you usi

Sentence aware Highlighter

2011-09-05 Thread O. Klein
Using the regex in the old highlighter I had reasonable sentence aware highlighting, but speed is an issue. So I tried to get this working with the VFH, but this obviously didn't work with the regex. So I am looking for ways to get the same behavior but with improved speed and came across https://

Re: DIH primary key

2011-09-05 Thread Erick Erickson
The point of is that it is used to prevent multiple copies of the documents from being searched. So the first question I'd ask is whether this is a show-stopper right there. Are you delta queries going to pull copies of the *same* document from the view? If so, does your app really want to see the

Re: Multiple Solr replicaton threads

2011-09-05 Thread Erick Erickson
What version of Solr are you using? And it also sounds like you're polling too often and/or committing too often for good performance. But the replication is read-only, so I'm surprised you're getting this, more details please Where is the exception occurring? Best Erick On Mon, Sep 5, 2011

Re: Problem while replicating solr

2011-09-05 Thread Erick Erickson
OK, then you have several things going on here if I'm reading this right. 1> you have very little spare room on your slave index. This will considerably slow down your disk writes. 2> You are optimizing for each delta index, forcing the entire index to be replicated each time. This is p

Re: word proximity and queryoperator OR

2011-09-05 Thread Erick Erickson
not really. I usually don't go into the long scoring output for questions like yours. The parsed_query entries are where a lot of problems come to light. In this particular case, I'm not quite sure what fields you're searching against (and dismax can be really confusing). But, your query didn't spe

Re: Spellcheck compounded words

2011-09-05 Thread O. Klein
O. Klein wrote: > > Anyways. I was testing on 3.3 and found that when I added > &spellcheck.maxCollations=2&spellcheck.maxCollationTries=2 as parameters > to the URL there was no problem at all. > > Adding > > 2 > 2 > > to the default requestHandler in solrconfig.xml caused reques

It is possible to use a dynamic query in entity from dataConfig???

2011-09-05 Thread crisfromnova
Hi, I have a database which has a table for each user(ex: table_name_user) and I want to make an index for each user, but using the same dataconfig.xml. It is possible to set dynamic the table used in query? I want to have only one dataconfig file because I have more than 50 users so it will be ea

Accessing a doc field while working at entity level

2011-09-05 Thread penela
Hi! This might probably be a stupid question, but I can't find clear info on how to do it (sorry if it is too obvious). I have a the following document configuration (only key elements shown) with two entities, one embedded into the other:

Re: How to make the url id case insensitive?

2011-09-05 Thread Markus Jelsma
Deduplication, either using Nutch or Solr. > On Mon, Sep 5, 2011 at 1:22 PM, Markus Jelsma wrote: > > Hi, > > > > URI paths are case-sensitive. If you really want to treat all URL's as > > case- > > insensitive i would suggest to modifiy the basic URL normalizer to > > lowercase > > all URL's s

Re: Indexing Lotus Notes database using API

2011-09-05 Thread Oleg Tikhonov
Hi Tobias, I've been using ManifoldFC in context of FileNet P8 but not in the context of your use case. I think that you should use Notes API because it has very specific IBM tailored format. If you will find some open source project that can "extract" Lotus Notes DB, please share the informatio

Re: Indexing Lotus Notes database using API

2011-09-05 Thread Jan Høydahl
Hi, You should be able to index Notes databases through JDBC, either with DIH or ManifoldCF. Have not tried myself though. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 5. sep. 2011, at 12:28, Tobias Berg wrote: > Hi, > > I'

Indexing Lotus Notes database using API

2011-09-05 Thread Tobias Berg
Hi, I'm in the need to index some databases in Lotus Notes format. Unfortunatley, they cannot be web-enabled so I can't use a crawler such as Nutch. Before starting to write my own code, have anyone indexed Lotus Notes databases using the Notes API before? Maybe using Apache ManifoldCF framework

Re: How to make the url id case insensitive?

2011-09-05 Thread Gabriele Kahlout
On Mon, Sep 5, 2011 at 1:22 PM, Markus Jelsma wrote: > Hi, > > URI paths are case-sensitive. If you really want to treat all URL's as > case- > insensitive i would suggest to modifiy the basic URL normalizer to > lowercase > all URL's so that it also ends up lowercased in the CrawlDB. > > What is

Re: How to make the url id case insensitive?

2011-09-05 Thread Markus Jelsma
Hi, URI paths are case-sensitive. If you really want to treat all URL's as case- insensitive i would suggest to modifiy the basic URL normalizer to lowercase all URL's so that it also ends up lowercased in the CrawlDB. What is your problem? I would strongly suggest another solution if you're do

Re: Solr replication / repeater

2011-09-05 Thread Rene Lehmann
Hey Erik, Hey Chris, thank you for your answers. I think i now understand better the functioning. kind regards Rene

Re: category tree navigation with the help of solr

2011-09-05 Thread Lance Norskog
First rule is: denormalize when possible. Just store a separate document with each combination of attributes: if the Reebok HF comes in red and blue, store two documents: Reebok HF,red Reebok HF,blue Then, use grouping and facets to decide what to show. "Category is heierarchical": Pivot facets,

Re: category tree navigation with the help of solr

2011-09-05 Thread Ranveer
Hi Priti, You can do this by adding an extra field (string type) for facet on which you need to send query. 1.One product can belong to more than one categories. You can put internal flag for that category at index time, and at the time of query you can send that flag to query. More of less

Re: category tree navigation with the help of solr

2011-09-05 Thread Tony Qiu
Dear Gupta, In my case, I am doing something similar to you. I use tow core, one core I build category's tree, another core I use to build the product's information include the leaf cat of products. So when one search I get, I will facet the leaf cat, then get the category tree in the category cor