[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [smila-dev] SMILA as Search engine
|
Hi Rene,
Sorry for the late answer.
I just tried to reproduce your problem.
I started off with the default settings of SMILA, imported two sources with different source-IDs and added the following snippet to my SMILASearchAdvanced.xsl sheet (just below the table row for Mimetype and Extension):
<tr>
<td>DataSourceId:</td>
<td colspan="3">
<input type="text" name="A._source" value="{$attributes/r:Val[@key='_source']}" />
</td>
</tr>
And I was able to filter the records based on the source ID.
I am not quite sure, if that's what you need, but this is the answer ("yes, there is :-)") to your question below "Is there a possibility to filter for datasource?"
Hope, to have helped you at least a bit.
Bye
Andreas
-----Ursprüngliche Nachricht-----
Von: smila-dev-bounces@xxxxxxxxxxx [mailto:smila-dev-bounces@xxxxxxxxxxx] Im Auftrag von Corinth, Rene
Gesendet: Mittwoch, 3. Oktober 2012 19:03
An: smila-dev@xxxxxxxxxxx
Betreff: [smila-dev] SMILA as Search engine
Hi,
the indexing of several websites is no problem anymore. Thank to Juergen.
But I could not manage the next step. If I search something, I still receive results from all websites. I tried to add parameter and filter (http://wiki.eclipse.org/SMILA/Documentation/Search#Setting_parameters) but it didn't worked. Especially the "oneOf"-filter didn't worked.
For every single website I set the datasource-parameter in the jobs.json different. Is there a possibility to filter for datasource?
Cheers René
_______________________________________________
smila-dev mailing list
smila-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/smila-dev