Révision 2433

tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/CQPCorpus.java (revision 2433)
340 340
	protected CQPCorpus(Project project) {
341 341
		super(project);
342 342
	}
343
	
343
		
344 344
	// /**
345 345
	// * Drop all the partitions.
346 346
	// *
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Part.java (revision 2433)
77 77
		return super.loadParameters();
78 78
	}
79 79
	
80
	/**
81
	 * Gets the parent.
82
	 * 
83
	 * @return the parent
84
	 */
85
	public Partition getParent() {
86
		return (Partition) super.getParent();
87
	}
88
	
80 89
	@Override
81 90
	protected boolean _compute() throws Exception {
82 91

  
92
		System.out.println("COMPUTE PART "+this);
83 93
		Log.fine(NLS.bind(SearchEngineCoreMessages.info_partXCreatedWithQueryZ, this.getName(), this.pQuery));
84 94
		
85 95
		long start = System.currentTimeMillis();
86 96
		try {
87 97
			super._compute();
88

  
89 98
		} catch (Exception e) {
90 99
			try {
91 100
				throw new CqiClientException(TXMCoreMessages.failedToCreatePartColon + this.getParent().getName() + "_" + this.getName() + e + " last error: " + CQPSearchEngine.getCqiClient().getLastCQPError()); //$NON-NLS-1$ //$NON-NLS-2$
......
131 140
//	}
132 141
//	
133 142
	
134
	
135
	
136 143
	/**
137 144
	 * Gets the number of texts in this part.
138 145
	 * 

Formats disponibles : Unified diff