Comments (6)
You can define the source and search from both. Then merge those two results. (two arrays) and return.
from search-source.
i but what about client side search? when i'am searching in a different fields
var options = {
keepHistory: 1000 * 60 * 5,
localSearch: true
};
var fields = ['name']; // ??? not every collection has a field 'name'
SuggestionsSearch = new SearchSource('skills', fields, options);
from search-source.
Okay. I got it. SearchSource does not have a notion about collections. It gets a datastream and it do the search in the client. So, you need to add common field (may be generated a field) to search.
from search-source.
Did you try that?
from search-source.
yes i did, for now i have the same field name in each collection, so thats works
from search-source.
Okay. great.
On Mon, Jun 29, 2015 at 1:47 PM David Ďurika [email protected]
wrote:
yes i did, for now i have the same field name in each collection, so thats
works—
Reply to this email directly or view it on GitHub
#32 (comment)
.
from search-source.
Related Issues (20)
- Exception in delivering result of invoking 'search.source': TypeError: Cannot read property 'data' of undefined HOT 1
- search-source with meteor 1.2: Exception while invoking method 'search.source' ReferenceError: check is not defined HOT 1
- Need to add check and ejson package dependencies. HOT 5
- Reactive getData() causes helper to be executed 3 times
- REQUEST: Exclude defined word from search result
- astronomy conflict
- Searching for other value types than strings HOT 2
- Question: Search in _id mongoDB
- Exception in delivering result of invoking 'search.source' HOT 7
- Integration with reywood:publish-composite package HOT 2
- Exception while invoking method 'search.source' Error: Match error: Failed Match.OneOf or Match.Optional validation HOT 2
- Sub packages not added automatically HOT 1
- invoking 'search.source': Error: Internal server error [500]...Help please! HOT 5
- Link to meteorhacks article not working in the docs HOT 3
- package.js:3:13: Unterminated string constant (3:13)
- Transform highlighting doesn't work on _id HOT 1
- Transform method not hit in .getData HOT 1
- Searching a sub array and only outputting the matching data
- Allow search for a term with multiple words HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from search-source.