score:2
you can not do this with sitecore and contentsearchmanager
.
this is how sitecore stores data in solr - it splits it in "indexes". you cannot query using sitecore api and without passing index name to solr.
when sitecore indexes any item, e.g. home
item, if this is home
item from your master
database, it will be stored with field _indexname
set e.g. to sitecore_master_index
. same item from the web
database will be marked with sitecore_web_index
.
Source: stackoverflow.com
Related Query
- Clear all FilterQuery in Sitecore.ContentSearch linq query
- LINQ query to perform a projection, skipping or wrapping exceptions where source throws on IEnumerable.GetNext()
- How can I set properties on all items from a linq query with values from another object that is also pulled from a query?
- How to understand the following C# linq code of implementing the algorithm to return all combinations of k elements from n
- Is there any way to create a LINQ query as a variable without having the data source (yet)?
- LINQ Query to check for a predicate in all columns in a table
- LINQ Source Code Available
- List of all LINQ query expression keywords?
- linq - how do you do a query for items in one query source that are not in another one?
- Sitecore ContentSearch LINQ Unsupported expression node type: Parameter
- How can I write the following code more elegantly using LINQ query syntax?
- How to construct IQueryable query using Linq when I just need count without reading all documents in Document-Db database?
- C# : LINQ query to list all empty properties of a class
- c# - Linq Query to retrieve all objects with a max value
- How to dynamic add filters to a LINQ query against an Odata Source in C#
- C# Linq query help removing foreach loops creating cleaner code
- What Linq query can I use to return a count of all products by Category?
- Use a linq query as microsoft local report Data Source (WinForms)
- Determine the source DataContext for a Linq to Sql query
- LINQ query returns old results when source list is re-initialized
- Check if List is not null when using "contains" in LINQ query else select all records
- How to get SQL query into LINQ form in C# code
- How can I code a Linq query to do an upward Include?
- Update query in LINQ contains all columns in WHERE clause instead of just the primary key column
- Linq query makes all calls to bring foreign key's table data
- creating Linq to sqlite dbml from DbLinq source code
- Identify source of linq to sql query
- NHibernate LINQ query performance, which code fragment is better?
- Linq sub query when using a repository pattern with EF code first
- Linq query across all sites and subsites on a sharepoint server?
More Query from same tag
- Retrieving data from SQL server in batches
- Linq To Sql - Update not being persisted
- Linq To Sql - Update a value when another value changes
- Return list object with list object
- Convert List<List<T>> into List<T> in C#
- In Linq, is a SELECT required when WHERE is used?
- Linq Left Join with Lambda Count
- Linq performance issue with huge record set
- Ordered grouping without Dictionary
- VS2013 Debugger + Entity Framework: "runtime has refused to evaluate the expression", crashes
- Compare each class attribute value using LINQ
- C# linq XML DeepCompare and tag removal
- How does LambdaExpression resolve to Expression<Func<T, returnT>> at runtime via dynamic?
- Random Linq Query
- How do I fill a DataSet or a DataTable from a LINQ Stored procedure?
- Random element of List<T> from LINQ SQL
- LINQ to Entities multiple columns need 1 to be distinct
- Dynamic LINQ with a string?
- Export to csv - Linq query
- How to join two tables and make group by in Linq
- using Linq to find all indexes of a matrix satisfying a certain condition
- Merge List of columns and List of Data into List C#
- Using TempData in Linq
- Entity Framework: sort linked entities
- c# get info from query that existed or was created
- Using list extensions how to check if value exists and I am not out of range?
- How get Row Index in a SQL Database using entity framework without query all data?
- Trouble getting MemberName of "Name" from CustomAttributes = ColumnAttribute of Linq Table Class
- LINQ XML - Retrieve unknown name and value from XElement
- Convert ToList() to a list of MyObject