Comma delemitered words shawn in terms like one word.
Hello. In indexing text I have such string John,Mark,Sam. Then I looks at it in TermVectorComponent it looks like this johnmarksam. I am using this type for storing data What filter I need to use to get John Mark Sam as different words?
Deleting old index data from solr. But HDD spaces doesn`t free.
Hello. I am deliting old data from solr such way. String url = "http://192.168.5.138:8080/apache-solr-1.4.0/";; CommonsHttpSolrServer server = new CommonsHttpSolrServer(url); server.setDefaultMaxConnectionsPerHost(200); server.setAllowCompression(true); server.setMaxRetries(1); Calendar cal = Calendar.getInstance(); cal.roll(Calendar.MONTH, false); SimpleDateFormat sdf = new SimpleDateFormat("-MM-dd'T'HH:mm:ss'Z'"); String query = String.format("publishedDate:[* TO %s]",sdf.format(cal.getTime())); System.out.println(query); server.deleteByQuery( query ); server.commit(); Data disapears feom index but But HDD spaces doesn`t free. What I am doing wrong?
Some questions about ability of solr.
I am keeping some data int Json format in HBase table. I would like to index this data with solr. Is there any examples of indexing HBase table? Evry node in HBase has atribyte that saves the data then it was writed int table. Is there any option to search no only by text but also to search the data for period of time then it was writed into the HBase?