Remove data from index

2009-08-20 Thread clico
Hello I'm trying a way to do that : I index a db query like "select id from table_documents" Some documents are updated or deleted from the data table. Using DIH, I can indexe the updated document But I want to remove from the index the documents that were removed in the database. How cou

Re: Remove data from index

2009-08-20 Thread clico
I hope it could be a solution. But I think I understood that u can use deletePkQuery like this "select document_id from table_document where statusDeleted= 'Y'" In my case I have no status like "statusDeleted". The request I would like to write is "Delete from my solr Index the id that are no

Re: Remove data from index

2009-08-21 Thread clico
hossman wrote: > > : > The request I would like to write is > : > > : > "Delete from my solr Index the id that are no longer present in my > : > table_document" > : > > : > With Lucene I had a way to do that : > : > open IndexReader, > : > for each lucene document : check in table_document and r

Re: Remove data from index

2009-08-21 Thread clico
I don't understand this point. -- View this message in context: http://www.nabble.com/Remove-data-from-index-tp25063736p25080669.html Sent from the Solr - User mailing list archive at Nabble.com.

Drill down into hierarchical facet : how to?

2009-08-31 Thread clico
Hello I'm looking for a way to do that I have a hierachical facet ex : Continent / Country / City / Blok Europe/France/Paris/Saint Michel America/USA/NYC/Chelsea etc ... I have some points of interest tagged in differents level of a same tree ex : some POI can be tagged Saint Michel and othe

datadir configuration

2009-10-07 Thread clico
hello As I try to deploy my app on a tomcat server, I'd like to custome datadir variable outside the solrconfig.xml file. Is there a way to custom it in a context file? Thanks -- View this message in context: http://www.nabble.com/datadir-configuration-tp25782469p25782469.html Sent from the So

Re: datadir configuration

2009-10-07 Thread clico
data.dir=/opt/solr/data" > > solr.data.dir must mapping to in solrconfig.xml > > here is example (solrconfig.xml): > ${solr.foo.data.dir:/default/path/to/datadir} > > On Wed, Oct 7, 2009 at 4:27 PM, clico wrote: > >> >> hello >> As I try to deploy my app o

Re: datadir configuration

2009-10-07 Thread clico
I tried this in my context.xml It doesn't work -- View this message in context: http://www.nabble.com/datadir-configuration-tp25782469p25783937.html Sent from the Solr - User mailing list archive at Nabble.com.

manage rights

2009-10-07 Thread clico
Hi everybody As I'm ready to deploy my solr server (after many tests and use cases) I'd like ton configure my server in order that some request cannot be post As an example : My CMS or data app can use - dataimport - and other indexing commands My website can only perform a search on the server

Facet query pb

2009-10-07 Thread clico
Hello I have a pb trying to retrieve a tree with facet use I 've got a field location_field Each doc in my index has a location_field Location field can be continent/country/city I have 2 queries: http://server/solr//select?fq=(location_field:NORTH*) : ok, retrieve docs http://server/solr//s

Re: Facet query pb

2009-10-07 Thread clico
That's not a pb I want to use that in order to drill down a tree Christian Zambrano wrote: > > Clico, > > Because you are doing a wildcard query, the token 'AMERICA' will not be > analyzed at all. This means that 'AMERICA*' will NOT match 'americ

Re: Facet query pb

2009-10-08 Thread clico
clico wrote: > > That's not a pb > I want to use that in order to drill down a tree > > > Christian Zambrano wrote: >> >> Clico, >> >> Because you are doing a wildcard query, the token 'AMERICA' will not be >> analyzed at all.

Re: Facet query pb

2009-10-08 Thread clico
clico wrote: > > > > clico wrote: >> >> That's not a pb >> I want to use that in order to drill down a tree >> >> >> Christian Zambrano wrote: >>> >>> Clico, >>> >>> Because you are doing a wildc

Re: Facet query pb

2009-10-11 Thread clico
clico wrote: > > > clico wrote: >> >> >> >> clico wrote: >>> >>> That's not a pb >>> I want to use that in order to drill down a tree >>> >>> >>> Christian Zambrano wrote: >>>> >&